Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (98 loc) · 2.78 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (98 loc) · 2.78 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
[build-system]
requires = ["maturin>=1.4,<2"]
build-backend = "maturin"
[project]
name = "oxyroute"
version = "0.6.0"
description = "High-performance RSGI web framework: Rust hot path (routing, JSON, rate limiting, JWT), Python handlers, OpenAPI 3.1, WebSockets"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10"
license = { text = "MIT" }
keywords = [
"rsgi",
"granian",
"fastapi",
"web-framework",
"async",
"rust",
"pyo3",
"openapi",
"rate-limiting",
"jwt",
"high-performance",
"websockets",
"api",
"microservice",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Rust",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/QueryaHub/OxyRoute"
Documentation = "https://github.com/QueryaHub/OxyRoute/blob/main/docs/index.md"
Repository = "https://github.com/QueryaHub/OxyRoute"
Changelog = "https://github.com/QueryaHub/OxyRoute/blob/main/CHANGELOG.md"
Issues = "https://github.com/QueryaHub/OxyRoute/issues"
[project.optional-dependencies]
dev = [
"maturin>=1.4,<2",
"granian>=1.0",
"pytest>=8",
"httpx>=0.27",
"oxyjwt>=0.7.0",
"pydantic>=2",
"ruff>=0.8",
]
# Hello-world RPS compare vs FastAPI (see perf-test/bench_hello.sh); not required for library use.
bench = [
"fastapi>=0.100",
"granian>=1.0",
"httpx>=0.27",
"oxyjwt>=0.7.0",
]
[tool.maturin]
module-name = "oxyroute._oxyroute"
features = ["extension-module"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"bench: optional wrk load test; run with OXYROUTE_BENCH=1 and pip install -e .[bench]",
]
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["oxyroute", "tests", "examples"]
[tool.ruff.lint]
select = [
"E4",
"E7",
"E9",
"F",
"I",
"B",
"UP",
"RUF",
]
[tool.ruff.format]
quote-style = "double"
docstring-code-format = true