代码拉取完成,页面将自动刷新
[build-system]
requires = ["setuptools>=61", "setuptools_scm[toml]>=7"]
build-backend = "setuptools.build_meta"
[project]
name = "dpgen"
dynamic = ["version"]
description = "DP-GEN: The deep potential generator"
authors = [
{name = "DeepModeling"},
{name = "Han Wang", email = "wang_han@iapcm.ac.cn"},
]
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
]
dependencies = [
'numpy>=1.14.3',
'dpdata>=0.2.17',
'cp2kdata>=0.6.6',
'pymatgen>=2022.11.1',
'ase',
'monty>2.0.0',
'paramiko',
'custodian',
'GromacsWrapper>=0.8.0',
'GromacsWrapper>=0.9.0; python_version >= "3.12"',
'dpdispatcher>=0.3.11',
'netCDF4',
'dargs>=0.4.0',
'h5py',
'pymatgen-analysis-defects',
'openbabel-wheel',
'packaging',
]
requires-python = ">=3.9"
readme = "README.md"
keywords = ["deep potential generator", "active learning", "deepmd-kit"]
[project.urls]
Homepage = "https://github.com/deepmodeling/dpgen"
documentation = "https://docs.deepmodeling.com/projects/dpgen"
repository = "https://github.com/deepmodeling/dpgen"
[project.scripts]
dpgen = "dpgen.main:main"
[project.entry-points."dpgui"]
"DP-GEN Run" = "dpgen.generator.arginfo:run_jdata_arginfo"
"DP-GEN Run Machine" = "dpgen.generator.arginfo:run_jdata_arginfo"
"DP-GEN Simplify" = "dpgen.simplify.arginfo:simplify_jdata_arginfo"
"DP-GEN Simplify Machine" = "dpgen.simplify.arginfo:simplify_mdata_arginfo"
"DP-GEN init_bulk" = "dpgen.data.arginfo:init_bulk_jdata_arginfo"
"DP-GEN init_bulk Machine" = "dpgen.data.arginfo:init_bulk_mdata_arginfo"
"DP-GEN init_surf" = "dpgen.data.arginfo:init_surf_jdata_arginfo"
"DP-GEN init_surf Machine" = "dpgen.data.arginfo:init_surf_mdata_arginfo"
"DP-GEN init_reaction" = "dpgen.data.arginfo:init_reaction_jdata_arginfo"
"DP-GEN init_reaction Machine" = "dpgen.data.arginfo:init_reaction_mdata_arginfo"
[project.optional-dependencies]
test = [
"dpgui",
"coverage",
"pymatgen-analysis-defects>=2024.10.22;python_version>='3.10'",
]
gui = [
"dpgui",
]
[tool.setuptools.packages.find]
include = ["dpgen*"]
[tool.setuptools_scm]
write_to = "dpgen/_version.py"
[tool.isort]
profile = "black"
[tool.ruff]
select = [
"I", # isort
"E", # errors
"F", # pyflakes
"D", # pydocstyle
"UP", # pyupgrade
"TID253", # banned-module-level-imports
]
ignore = [
"E501", # line too long
"F841", # local variable is assigned to but never used
"E741", # ambiguous variable name
"E402", # module level import not at top of file
"D413", # missing blank line after last section
"D416", # section name should end with a colon
"D203", # 1 blank line required before class docstring
"D107", # missing docstring in __init__
"D213", # multi-line docstring summary should start at the second line
"D100", # TODO: missing docstring in public module
"D101", # TODO: missing docstring in public class
"D102", # TODO: missing docstring in public method
"D103", # TODO: missing docstring in public function
"D104", # TODO: missing docstring in public package
"D105", # TODO: missing docstring in magic method
"D205", # 1 blank line required between summary line and description
"D401", # TODO: first line should be in imperative mood
"D404", # TODO: first word of the docstring should not be This
]
ignore-init-module-imports = true
[tool.ruff.lint.flake8-tidy-imports]
banned-module-level-imports = [
"pymatgen",
]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**" = ["TID253"]
[tool.ruff.pydocstyle]
convention = "numpy"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。