-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (70 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
81 lines (70 loc) · 1.82 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
[project]
name = "WebSearcher"
version = "0.7.1"
description = "Tools for conducting, collecting, and parsing web search"
authors = [{name = "Ronald E. Robertson", email = "rer@acm.org"}]
keywords = ["web", "search", "parser"]
license = "GPL-3.0"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"requests>=2.33.0",
"lxml>=6.1.0",
"beautifulsoup4>=4.12.3",
"tldextract>=5.1.2",
"brotli>=1.1.0",
"pydantic>=2.9.2",
"undetected-chromedriver>=3.5.5",
"selenium>=4.9.0",
"protobuf>=6.33.5,<7.0.0",
"orjson>=3.11.5,<4.0.0",
]
[project.urls]
homepage = "http://github.com/gitronald/WebSearcher"
repository = "http://github.com/gitronald/WebSearcher"
[project.scripts]
demo-search = 'scripts.demo_search:app'
demo-searches = 'scripts.demo_searches:app'
[dependency-groups]
dev = [
"pytest>=9.0.3",
"syrupy>=4.8.1",
"ipykernel>=6.29.5",
"typer>=0.15.2",
"pyarrow>=23.0.0",
"polars>=1.37.1",
"setuptools>=80.9.0",
"tabulate>=0.9.0",
"pre-commit>=4.5.1",
"pyrefly",
"ruff>=0.15.6",
"pytest-cov>=7.0.0",
]
[tool.pyrefly]
python-version = "3.12"
project-includes = ["WebSearcher"]
[tool.pytest.ini_options]
addopts = "--cov=WebSearcher --cov-report=term-missing"
[tool.coverage.run]
source = ["WebSearcher"]
omit = ["WebSearcher/search_methods/*"]
[tool.coverage.report]
show_missing = true
skip_empty = true
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort (import sorting)
"UP", # pyupgrade (modern Python idioms)
]
ignore = ["E501"] # line length handled by ruff format
[tool.ruff.lint.isort]
known-first-party = ["WebSearcher"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"