-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (66 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
76 lines (66 loc) · 1.91 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
[build-system]
requires = ["setuptools>=82.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "scraperguard"
version = "1.0.0"
readme = "README.md"
requires-python = ">=3.11"
description = "Production-grade observability and reliability layer for web scraping pipelines."
license = { text = "MIT" }
authors = [{ name = "Mostafa" }]
keywords = ["scraping", "observability", "validation", "monitoring", "web-scraping"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Quality Assurance",
]
dependencies = [
"lxml>=5.0",
"pydantic>=2.0",
"click>=8.1",
"fastapi>=0.110",
"uvicorn>=0.27",
"pyyaml>=6.0",
]
[project.optional-dependencies]
postgres = ["asyncpg>=0.29", "psycopg[binary]>=3.1"]
scrapy = ["scrapy>=2.11"]
playwright = ["playwright>=1.40"]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=4.1",
"ruff>=0.3",
"mypy>=1.8",
"types-PyYAML>=6.0",
"httpx>=0.27",
]
api = ["fastapi>=0.110", "uvicorn>=0.27"]
all = ["scraperguard[postgres,scrapy,playwright,api]"]
[project.scripts]
scraperguard = "scraperguard.cli.main:cli"
[project.urls]
Homepage = "https://github.com/mostafam-dev/scraperguard"
Repository = "https://github.com/mostafam-dev/scraperguard"
Issues = "https://github.com/mostafam-dev/scraperguard/issues"
[tool.setuptools.packages.find]
where = ["src"]
include = ["scraperguard*"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
python_version = "3.11"
strict = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"