forked from sparckles/Robyn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
141 lines (121 loc) · 3.19 KB
/
Copy pathpyproject.toml
File metadata and controls
141 lines (121 loc) · 3.19 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 = ["maturin>=0.12,<0.13"]
build-backend = "maturin"
[project]
name = "robyn"
version = "0.72.0"
description = "A Super Fast Async Python Web Framework with a Rust runtime."
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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"inquirerpy == 0.3.4",
"multiprocess == 0.70.14",
"orjson == 3.11.0",
"rustimport == 1.3.4",
# conditional
"uvloop~=0.21.0; sys_platform != 'win32' and platform_python_implementation == 'CPython' and platform_machine != 'armv7l'",
"watchdog == 4.0.1",
]
[project.optional-dependencies]
"templating" = ["jinja2 == 3.0.1"]
[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==0.14.12",
"pre-commit==2.21.0",
"ruff==0.1.3",
]
test = [
"nox==2023.4.22",
"pytest==7.2.1",
"pytest-codspeed==1.2.2",
"requests==2.28.2",
"websocket-client==1.5.0",
]
[tool.poetry]
name = "robyn"
version = "0.72.0"
description = "A Super Fast Async Python Web Framework with a Rust runtime."
authors = ["Sanskar Jethi <sansyrox@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.9"
inquirerpy = "0.3.4"
maturin = "0.14.12"
watchdog = "4.0.1"
multiprocess = "0.70.14"
uvloop = { version = "0.21.0", markers = "sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy')" }
jinja2 = { version = "3.0.1", optional = true }
rustimport = "^1.3.4"
orjson = "^3.11.0"
[tool.poetry.extras]
templating = ["jinja2"]
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
ruff = "0.1.3"
black = "23.1"
isort = "5.11.5"
pre-commit = "2.21.0"
commitizen = "2.40"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "7.2.1"
pytest-codspeed = "3.0.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.mccabe]
max-complexity = 10
[tool.isort]
profile = "black"
line_length = 160
[tool.black]
line-length = 160
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.maturin]
module-name = "robyn"