| [build-system] |
| requires = ["hatchling"] |
| build-backend = "hatchling.build" |
|
|
| [project] |
| name = "affix-huggingface" |
| version = "0.3.0" |
| description = "AffixIO admission and evidence controls for Hugging Face inference." |
| readme = "README.md" |
| license = { text = "Apache-2.0" } |
| requires-python = ">=3.10" |
| authors = [{ name = "AffixIO", email = "hello@affix-io.com" }] |
| keywords = [ |
| "affixio", |
| "huggingface", |
| "inference", |
| "admission-control", |
| "verification", |
| "ml-dsa", |
| ] |
| classifiers = [ |
| "Development Status :: 4 - Beta", |
| "Intended Audience :: Developers", |
| "License :: OSI Approved :: Apache Software License", |
| "Programming Language :: Python :: 3", |
| "Programming Language :: Python :: 3.10", |
| "Programming Language :: Python :: 3.11", |
| "Programming Language :: Python :: 3.12", |
| "Programming Language :: Python :: 3.13", |
| "Typing :: Typed", |
| ] |
| dependencies = [ |
| "httpx>=0.27,<1", |
| "huggingface-hub>=1.0,<2", |
| ] |
|
|
| [project.optional-dependencies] |
| dev = [ |
| "build", |
| "mypy", |
| "pytest", |
| "pytest-cov", |
| "ruff", |
| ] |
|
|
| [project.urls] |
| Homepage = "https://www.affix-io.com/" |
| API = "https://api.affix-io.com/" |
| Credentials = "https://hub.affix-io.com/credentials/" |
| HuggingFace = "https://huggingface.co/" |
|
|
| [tool.hatch.build.targets.wheel] |
| packages = ["src/affix_huggingface"] |
|
|
| [tool.hatch.build.hooks.custom] |
| path = "hatch_build.py" |
|
|
| [tool.pytest.ini_options] |
| testpaths = ["tests"] |
| addopts = "-q" |
|
|
| [tool.ruff] |
| line-length = 100 |
| target-version = "py310" |
|
|
| [tool.ruff.lint] |
| select = ["E", "F", "I", "UP", "B", "SIM"] |
|
|
| [tool.mypy] |
| python_version = "3.10" |
| strict = true |
| packages = ["affix_huggingface"] |
|
|
|
|