-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (63 loc) · 2.19 KB
/
pyproject.toml
File metadata and controls
77 lines (63 loc) · 2.19 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
[build-system]
requires = ["setuptools>=61.0", "wheel", "packaging>=24.2"]
build-backend = "setuptools.build_meta"
[project]
name = "wxpath"
version = "0.5.2"
description = "wxpath - a declarative web crawler and data extractor"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "Rodrigo Palacios", email = "rodrigopala91@gmail.com" }
]
license = "MIT"
license-files = ["LICENSE"]
dependencies = [
"lxml>=4.0",
"elementpath>=5.0.0,<=5.0.3",
"aiohttp>=3.8.0,<=4.0.0",
"tqdm>=4.0.0"
]
[project.urls]
Homepage = "https://rodricios.github.io/wxpath"
Documentation = "https://rodricios.github.io/wxpath"
Repository = "https://github.com/rodricios/wxpath"
Issues = "https://github.com/rodricios/wxpath/issues"
Changelog = "https://github.com/rodricios/wxpath/blob/main/CHANGELOG.md"
[project.optional-dependencies]
cache = ["aiohttp-client-cache>=0.14.0"]
cache-sqlite = ["aiohttp-client-cache[sqlite]"]
cache-redis = ["aiohttp-client-cache[redis]"]
# langchain langchain-ollama langchain-chroma chromadb
llm = ["langchain>=1.0.0", "langchain-core>=1.0.0", "langchain-ollama>=1.0.0",
"langchain-community>=0.4.0", "langchain-chroma>=1.0.0", "chromadb>=1.0.0",
"langchain-text-splitters>=1.1.0"]
test = ["pytest>=7.0", "pytest-asyncio>=0.23"]
dev = ["ruff", "tox"]
docs = ["mkdocs>=1.5", "mkdocs-material>=9.0", "mkdocstrings[python]>=0.24", "mkdocs-macros-plugin>=1.0", "mkdocs-resize-images>=1.0", "mkdocs-glightbox", "pyyaml>=6.0"]
tui = ["textual>=1.0.0", "aiohttp-client-cache>=0.14.0", "aiohttp-client-cache[sqlite]"]
[project.scripts]
wxpath = "wxpath.cli:main"
wxpath-tui = "wxpath.tui:main"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests"]
[tool.setuptools]
[tool.setuptools.packages.find]
where = ["src"]
include = ["wxpath", "wxpath.*"]
[tool.ruff]
target-version = "py310"
line-length = 100
lint.select = [
"F", # pyflakes (unused vars, undefined names, etc.)
"E", # pycodestyle errors
"B", # flake8-bugbear (real footguns)
"ASYNC", # async/await correctness
"I", # isort rules
"TID", # Tidy imports
"ICN", # Import conventions
]
[tool.ruff.format]
quote-style = "single"