-
-
Notifications
You must be signed in to change notification settings - Fork 328
Expand file tree
/
Copy pathpyproject.toml
More file actions
152 lines (131 loc) · 3.61 KB
/
pyproject.toml
File metadata and controls
152 lines (131 loc) · 3.61 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
142
143
144
145
146
147
148
149
150
151
152
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "robyn"
version = "0.82.1"
description = "A Super Fast Async Python Web Framework with a Rust runtime."
readme = "README.md"
authors = [{ name = "Sanskar Jethi", email = "sansyrox@gmail.com" }]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP",
"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",
]
dependencies = [
"inquirerpy == 0.3.4",
"multiprocess >= 0.70.18, < 0.71.0",
"orjson >= 3.11.5, < 4.0.0",
"rustimport == 1.3.4",
# conditional
"uvloop~=0.22.1; sys_platform != 'win32' and platform_python_implementation == 'CPython' and platform_machine != 'armv7l'",
"watchdog >= 6.0.0, < 7.0.0",
]
[project.optional-dependencies]
"templating" = ["jinja2 >= 3.1.6, < 4.0.0"]
"pydantic" = ["pydantic >= 2.0.0, < 3.0.0"]
"all" = ["jinja2 >= 3.1.6, < 4.0.0", "pydantic >= 2.0.0, < 3.0.0"]
[project.urls]
Documentation = "https://robyn.tech/"
Repository = "https://github.com/sparckles/robyn"
Issues = "https://github.com/sparckles/robyn/issues"
Changelog = "https://github.com/sparckles/robyn/blob/main/CHANGELOG.md"
[project.scripts]
robyn = "robyn.cli:run"
test_server = "integration_tests.base_routes:main"
[dependency-groups]
dev = [
"black==23.1",
"commitizen==2.40",
"isort==5.11.5",
"maturin==1.7.4",
"pre-commit>=4.5.1,<5.0.0",
"ruff>=0.9.0",
]
test = [
"nox==2023.4.22",
"pytest>=9.0.2",
"pytest-codspeed>=4.2.0",
"requests==2.28.2",
"websocket-client==1.5.0",
]
[tool.poetry]
name = "robyn"
version = "0.82.1"
description = "A Super Fast Async Python Web Framework with a Rust runtime."
authors = ["Sanskar Jethi <sansyrox@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.10"
inquirerpy = "0.3.4"
maturin = "1.7.4"
watchdog = "^6.0.0"
multiprocess = "^0.70.18"
uvloop = { version = "0.22.1", markers = "sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy')" }
jinja2 = { version = "^3.1.6", optional = true }
pydantic = { version = "^2.0.0", optional = true }
rustimport = "^1.3.4"
orjson = "^3.11.5"
[tool.poetry.extras]
templating = ["jinja2"]
pydantic = ["pydantic"]
all = ["jinja2", "pydantic"]
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
ruff = ">=0.9.0"
black = "23.1"
isort = "5.11.5"
pre-commit = "^4.5.1"
commitizen = "2.40"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^9.0.2"
pytest-codspeed = "^4.2.0"
requests = "2.28.2"
nox = "2023.4.22"
websocket-client = "1.5.0"
[tool.poetry.scripts]
test_server = { callable = "integration_tests.base_routes:main" }
[tool.ruff]
line-length = 160
exclude = ["src/*", ".git", "docs"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.isort]
profile = "black"
line_length = 160
[tool.black]
line-length = 160
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.pytest.ini_options]
markers = [
"benchmark: marks tests as benchmarks for performance measurement (deselect with '-m \"not benchmark\"')",
]
[tool.maturin]
module-name = "robyn"