batterymhm / pyproject.toml
williamTLmiller's picture
Make it a full tech repo: packaging, CI, docs, examples, community files
4671c68 verified
Raw
History Blame Contribute Delete
1.83 kB
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "batterymhm"
version = "1.0.0"
description = "The Miller Harmonic Method — harmonic-feature models for battery state-of-health and materials property prediction."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "CC-BY-NC-4.0" }
authors = [{ name = "William T. L. Miller" }]
keywords = [
"battery", "state-of-health", "remaining-useful-life",
"materials-science", "formation-energy", "lithium-ion",
"harmonic-features", "tabular-regression",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.24",
"scipy>=1.10",
"scikit-learn>=1.3",
]
[project.optional-dependencies]
xgb = ["xgboost>=1.7"]
dev = ["pytest>=7.0", "ruff>=0.4", "xgboost>=1.7"]
[project.urls]
Homepage = "https://huggingface.co/williamTLmiller/batterymhm"
Source = "https://huggingface.co/williamTLmiller/batterymhm"
"Bug Tracker" = "https://huggingface.co/williamTLmiller/batterymhm/discussions"
[tool.setuptools]
packages = ["batterymhm"]
[tool.setuptools.package-data]
batterymhm = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E741"] # ambiguous variable names (i/j/l are fine for math code)