-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (72 loc) · 1.86 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (72 loc) · 1.86 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "web2llm"
version = "0.5.3"
description = "A tool to scrape web content into clean Markdown for LLMs."
authors = [
{ name = "Juan Herruzo", email = "juan@herruzo.dev" },
]
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT License" }
keywords = ["scraper", "llm", "markdown", "web scraping", "pdf", "github", "rag"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Text Processing",
"Topic :: Utilities",
"Environment :: Console",
]
dependencies = [
# playwright is now an optional dependency
"beautifulsoup4",
"lxml",
"markdownify",
"GitPython",
"pdfplumber",
"PyYAML",
"pathspec",
"httpx[http2]",
]
[project.urls]
Homepage = "https://github.com/herruzo99/web2llm"
"Bug Tracker" = "https://github.com/herruzo99/web2llm/issues"
[project.scripts]
web2llm = "web2llm.cli:cli_entrypoint"
[project.optional-dependencies]
# Feature-specific group for JavaScript rendering
js = [
"playwright",
]
test = [
"pytest",
"pytest-mock",
"pytest-asyncio",
]
dev = [
"ruff",
"pre-commit",
"web2llm[js,test]",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["web2llm*"]
exclude = ["tests*"]
[tool.setuptools]
package-data = {"web2llm" = ["default_config.yaml"]}
[tool.ruff]
line-length = 140
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.pytest.ini_options]
pythonpath = ["."]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"