-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (64 loc) · 1.79 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (64 loc) · 1.79 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
[build-system]
requires = ["hatchling>=1.26"]
build-backend = "hatchling.build"
[project]
name = "webskrap"
version = "0.8.0"
description = "A Playwright-based Python scraping framework with coherent browser profiles and session controls."
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
authors = [
{ name = "kacigaya" }
]
keywords = ["browser-automation", "playwright", "scraping", "crawler"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
"mcp>=1.2,<2",
"patchright>=1.60.0",
"playwright>=1.49",
"pydantic>=2.8",
"rich>=13.9",
"typer>=0.15",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3",
"pytest-asyncio>=0.24",
"ruff>=0.8",
]
[project.scripts]
webskrap = "webskrap.cli:app"
webskrap-mcp = "webskrap.mcp_server:main"
[project.urls]
Homepage = "https://github.com/kacigaya/webskrap"
Repository = "https://github.com/kacigaya/webskrap"
Issues = "https://github.com/kacigaya/webskrap/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/webskrap"]
[tool.hatch.build.targets.sdist]
# The web/ frontend ships only to GitHub Pages, never to PyPI.
exclude = ["web", ".github"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"browser: requires installed Playwright browsers",
"live: hits public third-party bot-detection demos (opt-in via WEBSKRAP_LIVE=1)",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.ruff.format]
quote-style = "double"