| 1 |
[project] |
| 2 |
name = "apispec" |
| 3 |
version = "6.10.0" |
| 4 |
description = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)." |
| 5 |
readme = "README.rst" |
| 6 |
license = { file = "LICENSE" } |
| 7 |
authors = [{ name = "Steven Loria", email = "[email protected]" }] |
| 8 |
maintainers = [ |
| 9 |
{ name = "Steven Loria", email = "[email protected]" }, |
| 10 |
{ name = "Jérôme Lafréchoux", email = "[email protected]" }, |
| 11 |
] |
| 12 |
classifiers = [ |
| 13 |
"Development Status :: 5 - Production/Stable", |
| 14 |
"Intended Audience :: Developers", |
| 15 |
"License :: OSI Approved :: MIT License", |
| 16 |
"Programming Language :: Python :: 3", |
| 17 |
"Programming Language :: Python :: 3.10", |
| 18 |
"Programming Language :: Python :: 3.11", |
| 19 |
"Programming Language :: Python :: 3.12", |
| 20 |
"Programming Language :: Python :: 3.13", |
| 21 |
"Programming Language :: Python :: 3.14", |
| 22 |
] |
| 23 |
keywords = [ |
| 24 |
"apispec", |
| 25 |
"swagger", |
| 26 |
"openapi", |
| 27 |
"specification", |
| 28 |
"oas", |
| 29 |
"documentation", |
| 30 |
"spec", |
| 31 |
"rest", |
| 32 |
"api", |
| 33 |
] |
| 34 |
requires-python = ">=3.10" |
| 35 |
dependencies = ["packaging>=21.3"] |
| 36 |
|
| 37 |
[project.urls] |
| 38 |
Changelog = "https://apispec.readthedocs.io/en/latest/changelog.html" |
| 39 |
Funding = "https://opencollective.com/marshmallow" |
| 40 |
Issues = "https://github.com/marshmallow-code/apispec/issues" |
| 41 |
Source = "https://github.com/marshmallow-code/apispec" |
| 42 |
Tidelift = "https://tidelift.com/subscription/pkg/pypi-apispec?utm_source=pypi-apispec&utm_medium=pypi" |
| 43 |
|
| 44 |
[project.optional-dependencies] |
| 45 |
yaml = ["PyYAML>=3.10"] |
| 46 |
marshmallow = ["marshmallow>=3.18.0"] |
| 47 |
docs = [ |
| 48 |
"apispec[marshmallow]", |
| 49 |
"pyyaml==6.0.3", |
| 50 |
"sphinx==9.1.0", |
| 51 |
"sphinx-issues==5.0.1", |
| 52 |
"sphinx-rtd-theme==3.1.0", |
| 53 |
] |
| 54 |
tests = ["apispec[yaml,marshmallow]", "openapi-spec-validator==0.8.4", "pytest"] |
| 55 |
dev = ["apispec[tests]", "tox", "pre-commit>=3.5,<5.0"] |
| 56 |
|
| 57 |
[build-system] |
| 58 |
requires = ["flit_core<4"] |
| 59 |
build-backend = "flit_core.buildapi" |
| 60 |
|
| 61 |
[tool.flit.sdist] |
| 62 |
include = [ |
| 63 |
"docs/", |
| 64 |
"tests/", |
| 65 |
"CHANGELOG.rst", |
| 66 |
"CONTRIBUTING.rst", |
| 67 |
"SECURITY.md", |
| 68 |
"tox.ini", |
| 69 |
] |
| 70 |
exclude = ["docs/_build/"] |
| 71 |
|
| 72 |
[tool.ruff] |
| 73 |
src = ["src"] |
| 74 |
fix = true |
| 75 |
show-fixes = true |
| 76 |
output-format = "full" |
| 77 |
|
| 78 |
[tool.ruff.format] |
| 79 |
docstring-code-format = true |
| 80 |
|
| 81 |
[tool.ruff.lint] |
| 82 |
ignore = ["E203", "E266", "E501", "E731"] |
| 83 |
select = [ |
| 84 |
"B", # flake8-bugbear |
| 85 |
"E", # pycodestyle error |
| 86 |
"F", # pyflakes |
| 87 |
"I", # isort |
| 88 |
"UP", # pyupgrade |
| 89 |
"W", # pycodestyle warning |
| 90 |
] |
| 91 |
|
| 92 |
[tool.mypy] |
| 93 |
ignore_missing_imports = true |
| 94 |
warn_unreachable = true |
| 95 |
warn_unused_ignores = true |
| 96 |
warn_redundant_casts = true |
| 97 |
no_implicit_optional = true |