-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpyproject.toml
61 lines (54 loc) · 1.56 KB
/
pyproject.toml
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
[build-system]
requires = ["maturin>=1.5,<2.0"]
build-backend = "maturin"
[project]
name = "primp"
description = "HTTP client that can impersonate web browsers, mimicking their headers and `TLS/JA3/JA4/HTTP2` fingerprints"
requires-python = ">=3.8"
license = {text = "MIT License"}
keywords = ["python", "request", "impersonate"]
authors = [
{name = "deedy5"}
]
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"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",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ["version"]
dependencies = []
[project.optional-dependencies]
dev = [
"certifi",
"pytest>=8.1.1",
"pytest-asyncio>=0.25.3",
"typing_extensions; python_version <= '3.11'", # for Unpack[TypedDict]
"mypy>=1.14.1",
"ruff>=0.9.2"
]
[tool.maturin]
features = ["pyo3/extension-module"]
[tool.ruff]
line-length = 120
exclude = ["tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
]
[tool.mypy]
python_version = "3.8"