-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (74 loc) · 1.94 KB
/
pyproject.toml
File metadata and controls
85 lines (74 loc) · 1.94 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
85
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "n24q02m-web-core"
version = "1.3.10-beta.1"
description = "Shared web infrastructure: search, scraping, HTTP security, browsers"
readme = "README.md"
requires-python = "==3.13.*"
license = "MIT"
authors = [{ name = "n24q02m" }]
keywords = ["web", "scraping", "search", "searxng", "http", "ssrf", "crawl4ai"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"httpx>=0.28.1",
"curl-cffi>=0.15.0",
"crawl4ai>=0.8.6",
"langgraph>=1.1.10",
"patchright>=1.58.2",
"browserforge>=1.2.4",
"capsolver>=1.0.7",
"pydantic>=2.12.5,<2.13",
"gdown>=6.0.0",
"pillow>=12.2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.1.0",
"pytest-timeout>=2.4.0",
"ruff>=0.15.12",
"ty>=0.0.33",
]
[project.urls]
Repository = "https://github.com/n24q02m/web-core"
[tool.hatch.build.targets.wheel]
packages = ["src/web_core"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-m 'not integration and not live' --timeout=30"
[tool.ruff]
target-version = "py313"
line-length = 120
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
[tool.ty.rules]
unresolved-import = "ignore"
unresolved-attribute = "ignore"
invalid-assignment = "ignore"
invalid-argument-type = "ignore"
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
[tool.coverage.run]
source_pkgs = ["web_core"]
branch = true
[tool.coverage.report]
fail_under = 85
exclude_lines = [
"pragma: no cover",
"if sys.platform",
"if __name__",
"raise ImportError",
"except ImportError",
]