-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (114 loc) · 3.04 KB
/
pyproject.toml
File metadata and controls
127 lines (114 loc) · 3.04 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[project]
name = "infomesh"
version = "0.1.14"
description = "Fully decentralized P2P search engine for LLMs via MCP"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
authors = [
{ name = "InfoMesh Contributors" },
]
keywords = ["search", "p2p", "llm", "mcp", "decentralized", "crawler", "index", "web-search", "mcp-server", "search-api", "free-search", "model-context-protocol", "search-engine", "web-crawler", "ai-search"]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Topic :: Internet :: WWW/HTTP",
"Topic :: System :: Networking",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing :: Indexing",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Typing :: Typed",
"Natural Language :: English",
"Operating System :: OS Independent",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
]
dependencies = [
"httpx>=0.27",
"trafilatura>=1.12",
"mcp>=1.0",
"fastapi>=0.115",
"uvicorn>=0.32",
"msgpack>=1.0",
"zstandard>=0.23",
"structlog>=24.0",
"cryptography>=43.0",
"tomli>=2.0; python_version < '3.11'",
"click>=8.1",
"textual>=1.0",
"psutil>=5.9",
]
[project.optional-dependencies]
p2p = [
"trio>=0.22",
"libp2p>=0.2",
]
vector = [
"chromadb>=0.5",
"sentence-transformers>=3.0",
]
llm = [
"ollama>=0.3",
]
browser = [
"playwright>=1.40",
]
all = [
"infomesh[p2p,vector,llm,browser]",
]
[project.scripts]
infomesh = "infomesh.__main__:main"
[project.urls]
Homepage = "https://github.com/dotnetpower/infomesh"
Repository = "https://github.com/dotnetpower/infomesh"
Documentation = "https://github.com/dotnetpower/infomesh/tree/main/docs"
Issues = "https://github.com/dotnetpower/infomesh/issues"
Changelog = "https://github.com/dotnetpower/infomesh/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"pytest-cov>=5.0",
"pytest-timeout>=2.3",
"ruff>=0.7",
"mypy>=1.11",
"httpx[http2]>=0.27",
"libp2p>=0.2",
"pytest-trio>=0.8.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = [
"infomesh/",
"seeds/",
"bootstrap/",
"LICENSE",
"README.md",
"pyproject.toml",
]
exclude = ["infomesh/assets/bgm/"]
[tool.hatch.build.targets.wheel]
packages = ["infomesh"]
exclude = ["infomesh/assets/bgm/"]
[tool.hatch.build.targets.wheel.shared-data]
"seeds" = "share/infomesh/seeds"
"bootstrap" = "share/infomesh/bootstrap"
[tool.ruff]
line-length = 88
target-version = "py312"
exclude = ["generate_og.py"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.mypy]
python_version = "3.12"
strict = true