-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
141 lines (128 loc) · 3.49 KB
/
pyproject.toml
File metadata and controls
141 lines (128 loc) · 3.49 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "faster-api-web"
dynamic = ["version"]
description = "FasterAPI — A high-performance ASGI web framework. FastAPI speed, without the wait."
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Eshwar Chandra Vidhyasagar Thedla", email = "thedla.ecvs@gmail.com" },
]
keywords = [
"web", "framework", "asgi", "api", "rest", "async",
"msgspec", "uvloop", "high-performance", "fastapi",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Typing :: Typed",
]
dependencies = [
"msgspec>=0.18.0",
"anyio>=4.0.0",
"uvicorn[standard]>=0.29.0",
"python-multipart>=0.0.18",
]
[project.optional-dependencies]
uvloop = ["uvloop>=0.19.0"]
production = ["structlog>=24.0.0"]
http2 = ["hypercorn>=0.14.0", "daphne>=4.0.0"]
ecosystem = [
"sqlalchemy[asyncio]>=2.0.0",
"aiosqlite>=0.19.0",
"redis>=5.0.0",
"PyJWT>=2.8.0",
]
all = [
"uvloop>=0.19.0",
"structlog>=24.0.0",
"sqlalchemy[asyncio]>=2.0.0",
"aiosqlite>=0.19.0",
"redis>=5.0.0",
"PyJWT>=2.8.0",
]
dev = [
"uvloop>=0.19.0",
"structlog>=24.0.0",
"sqlalchemy[asyncio]>=2.0.0",
"aiosqlite>=0.19.0",
"redis>=5.0.0",
"PyJWT>=2.8.0",
"httpx>=0.27.0",
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=5.0.0",
"mypy>=1.10.0",
"ruff>=0.8.0",
"tox>=4.0.0",
"jinja2>=3.0.0",
]
benchmark = [
"httpx>=0.27.0",
"fastapi>=0.111.0",
"pydantic>=2.7.0",
]
docs = [
"mkdocs-material>=9.5.0",
"mkdocstrings[python]>=0.25.0",
"mike>=2.0.0",
]
test = [
"httpx>=0.27.0",
]
[project.scripts]
fasterapi = "FasterAPI.cli:main"
[project.urls]
Homepage = "https://github.com/FasterApiWeb/FasterAPI"
Repository = "https://github.com/FasterApiWeb/FasterAPI"
Documentation = "https://fasterapiweb.github.io/FasterAPI/"
Issues = "https://github.com/FasterApiWeb/FasterAPI/issues"
Changelog = "https://github.com/FasterApiWeb/FasterAPI/blob/master/CHANGELOG.md"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.mypy]
python_version = "3.13"
strict = true
warn_unused_configs = true
ignore_missing_imports = true
# Test modules: strict typing every test would be noisy; library stays strict above.
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[tool.ruff]
target-version = "py310"
line-length = 120
src = ["FasterAPI", "tests", "benchmarks"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = [
"E501",
"B008",
"B023",
"SIM115",
]
[tool.ruff.lint.per-file-ignores]
"benchmarks/check_regressions.py" = ["E402"]
"benchmarks/export_pr_benchmarks.py" = ["E402"]
[tool.hatch.build.targets.wheel]
packages = ["FasterAPI"]
[tool.hatch.version]
source = "vcs"
# TestPyPI/PyPI reject local version identifiers like "+g<hash>".
# Keep tag-based releases unchanged, but make non-tag builds PEP 440 compliant.
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"