-
-
Notifications
You must be signed in to change notification settings - Fork 319
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (71 loc) · 1.88 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (71 loc) · 1.88 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
[project]
name = "twscrape"
version = "0.20.1"
authors = [{ name = "vladkens", email = "v.pronsky@gmail.com" }]
description = "Twitter GraphQL and Search API implementation with SNScrape data models"
readme = "readme.md"
requires-python = ">=3.10"
keywords = ["twitter", "scrape", "scrapper", "api", "snscrape"]
license = { text = "MIT" }
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'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',
]
dependencies = [
"aiosqlite>=0.17.0",
"fake-useragent>=1.4.0",
"httpx>=0.26.0",
"loguru>=0.7.0",
"pyotp>=2.9.0",
"beautifulsoup4>=4.13.0",
"py-machineid>=1.0.0",
]
[project.optional-dependencies]
curl = ["curl-cffi>=0.7.0"]
[dependency-groups]
dev = [
"curl-cffi>=0.7.0",
"pytest-asyncio>=0.23.3",
"pytest-cov>=4.1.0",
"pytest-httpx>=0.28.0",
"pytest>=7.4.4",
"rich>=13.0",
"ruff>=0.1.11",
"ty>=0.0.41",
]
[project.urls]
repository = "https://github.com/vladkens/twscrape"
[project.scripts]
twscrape = "twscrape.cli:run"
[build-system]
requires = ["hatchling>=1.9.1"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["twscrape"]
[tool.pytest.ini_options]
pythonpath = ["."]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
filterwarnings = ["ignore::DeprecationWarning"]
[tool.uv]
exclude-newer = "7 days"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "C4", "SIM"]
ignore = ["E501", "UP035", "SIM105"]
[tool.ty.environment]
python-version = "3.10"
python-platform = "all"
[tool.ty.terminal]
error-on-warning = true
[tool.ty.rules]
all = "error"
missing-type-argument = "ignore"
missing-override-decorator = "ignore"