-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (75 loc) · 2.09 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (75 loc) · 2.09 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
[build-system]
requires = ["maturin>=1.4,<2"]
build-backend = "maturin"
[project]
name = "oxyroute"
version = "0.5.0"
description = "RSGI-first web framework: routing, JSON, and JWT in Rust (PyO3), Python handlers"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10"
license = { text = "MIT" }
keywords = ["rsgi", "granian", "web", "async", "rust"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT 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",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Rust",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
]
[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"
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.2",
"pydantic>=2",
"pyjwt>=2.8",
"cryptography>=42",
"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",
"pyjwt>=2.8",
]
[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