-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (87 loc) · 2.62 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (87 loc) · 2.62 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
86
87
88
89
90
91
92
93
94
95
96
97
[project]
name = "websearch-skill"
version = "0.6.1"
description = "Open-source multi-engine web search + extraction SKILL and CLI for AI agents (uv-native, contract-driven, harness-portable, self-hosted SearXNG and egress proxy)"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Hector Oviedo" }]
keywords = [
"web-search",
"web-fetch",
"ai-agents",
"agent-skills",
"searxng",
"ddgs",
"nordvpn",
"claude-skill",
"rank-fusion",
"uvx",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
]
dependencies = [
# [socks] pulls socksio so the optional egress proxy accepts socks5/socks5h URLs
# (NordVPN and Tor are SOCKS5); http(s) proxies need nothing extra.
"httpx[socks]>=0.27",
"pydantic>=2.7",
"ddgs>=9.0",
# Layer 2A default closure (all permissive: Apache-2.0 + MIT/BSD/MPL deps).
"trafilatura>=2.1",
"curl_cffi>=0.15",
]
[project.optional-dependencies]
# Contract validation at runtime (always available in dev; optional at install).
schema = ["jsonschema>=4.21"]
[project.scripts]
# Two names for one entrypoint: `websearch` is the canonical command; `websearch-skill`
# matches the PyPI distribution name so `uvx websearch-skill <cmd>` resolves with no --from.
websearch = "websearch.cli:main"
websearch-skill = "websearch.cli:main"
[project.urls]
Homepage = "https://github.com/hec-ovi/websearch-skill"
Repository = "https://github.com/hec-ovi/websearch-skill"
Issues = "https://github.com/hec-ovi/websearch-skill/issues"
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-httpx>=0.30",
"jsonschema>=4.21",
"ruff>=0.6",
# Reads docker/searxng/*.yml in the SearXNG stack tests; not a runtime dependency.
"pyyaml>=6.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/websearch"]
[tool.hatch.build.targets.sdist]
# Explicit allowlist so the source distribution can never capture local-only files (for
# example a globally-gitignored .claude/settings.local.json). Only intended sources ship.
include = [
"src/websearch",
"tests",
"contracts",
"docs",
"skills",
"docker",
"README.md",
"CHANGELOG.md",
"LICENSE",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]