| [build-system] |
| requires = ["hatchling"] |
| build-backend = "hatchling.build" |
|
|
| [project] |
| name = "hf-release" |
| version = "0.1.0" |
| description = "Push model weights to HF Hub and create GitHub Releases atomically" |
| readme = "README.md" |
| license = { text = "MIT" } |
| requires-python = ">=3.10" |
| keywords = ["huggingface", "github", "mlops", "model-release", "cli"] |
| classifiers = [ |
| "Development Status :: 3 - Alpha", |
| "Environment :: Console", |
| "Intended Audience :: Developers", |
| "Intended Audience :: Science/Research", |
| "License :: OSI Approved :: MIT License", |
| "Programming Language :: Python :: 3", |
| "Programming Language :: Python :: 3.10", |
| "Programming Language :: Python :: 3.11", |
| "Programming Language :: Python :: 3.12", |
| "Topic :: Scientific/Engineering :: Artificial Intelligence", |
| ] |
| dependencies = [ |
| "typer[all]>=0.12", |
| "huggingface_hub>=0.23", |
| "PyGithub>=2.3", |
| "rich>=13.7", |
| "pydantic>=2.0", |
| "pydantic-settings>=2.0", |
| "semver>=3.0", |
| ] |
|
|
| [project.optional-dependencies] |
| dev = [ |
| "pytest>=8.0", |
| "pytest-mock>=3.14", |
| "ruff>=0.4", |
| "mypy>=1.10", |
| ] |
|
|
| [project.scripts] |
| hf-release = "hf_release.cli:app" |
|
|
| [project.urls] |
| Homepage = "https://github.com/username/hf-release" |
| Repository = "https://github.com/username/hf-release" |
| Issues = "https://github.com/username/hf-release/issues" |
|
|
| [tool.hatch.build.targets.wheel] |
| packages = ["src/hf_release"] |
|
|
| [tool.ruff] |
| line-length = 100 |
| target-version = "py310" |
|
|
| [tool.ruff.lint] |
| select = ["E", "F", "I", "UP"] |
|
|
| [tool.mypy] |
| python_version = "3.10" |
| strict = true |
|
|