Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (83 loc) · 2.33 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (83 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[project]
name = "fastapi-voyager"
dynamic = ["version"]
description = "Visualize FastAPI application's routing tree and dependencies"
authors = [ { name = "Tangkikodo", email = "allmonday@126.com" } ]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.10"
keywords = ["fastapi", "visualization", "routing", "openapi"]
dependencies = [
"pydantic-resolve>=5.1.0",
"jinja2>=3.0.0",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License"
]
[project.scripts]
voyager = "fastapi_voyager.cli:main"
[project.urls]
Homepage = "https://github.com/allmonday/fastapi-voyager"
Source = "https://github.com/allmonday/fastapi-voyager"
[project.optional-dependencies]
dev = ["ruff", "pytest", "pytest-asyncio", "httpx"]
fastapi = ["fastapi>=0.110", "uvicorn"]
django-ninja = ["django>=4.2", "django-ninja>=1.5.3", "uvicorn"]
litestar = ["litestar>=2.19.0", "pydantic>=2.0", "uvicorn"]
all = ["fastapi-voyager[dev,fastapi,django-ninja,litestar]"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/fastapi_voyager/version.py"
[tool.hatch.build.targets.sdist]
force-include."src/fastapi_voyager/web/dist" = "src/fastapi_voyager/web/dist"
artifacts = ["src/fastapi_voyager/web/dist/"]
[tool.hatch.build.targets.wheel]
artifacts = ["src/fastapi_voyager/web/dist/"]
[tool.uv]
# You can pin resolution or indexes here later.
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[dependency-groups]
dev = [
"aiosqlite>=0.22.1",
"greenlet>=3.4.0",
"httpx>=0.28.1",
"pytest-asyncio>=1.3.0",
"pytest>=8.0.0",
"ruff>=0.9.0",
"sqlalchemy>=2.0.49",
]
fastapi = [
"fastapi>=0.116.1",
"uvicorn>=0.34.0",
]
django-ninja = [
"django>=4.2",
"django-ninja>=1.5.3",
"uvicorn>=0.34.0",
]
litestar = [
"litestar>=2.19.0",
"pydantic>=2.0",
"uvicorn>=0.34.0",
]
all = [
"django>=4.2",
"django-ninja>=1.5.3",
"fastapi>=0.116.1",
"litestar>=2.19.0",
"pydantic>=2.0",
"uvicorn>=0.34.0",
]