Files
twscrape/pyproject.toml
T

71 lines
1.7 KiB
TOML

[project]
name = "twscrape"
version = "0.17.0"
authors = [{ name = "vladkens", email = "[email protected]" }]
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",
]
[dependency-groups]
dev = [
"pyright>=1.1.369",
"pytest-asyncio>=0.23.3",
"pytest-cov>=4.1.0",
"pytest-httpx>=0.28.0",
"pytest>=7.4.4",
"ruff>=0.1.11",
]
[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 = 99
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "C4", "SIM"]
ignore = ["E501", "UP035", "SIM105"]
[tool.pyright]
include = ["apps", "clients", "strategy", "lib", "scripts"]
typeCheckingMode = "standard"