-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (78 loc) · 2.03 KB
/
pyproject.toml
File metadata and controls
89 lines (78 loc) · 2.03 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "weblm-python"
dynamic = ["version"]
description = "The official Python SDK for WebLM, providing HTML to Markdown conversion and web content extraction capabilities"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
authors = [
{name = "WebLM", email = "support@weblm.dev"},
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
]
dependencies = [
"requests>=2.27.0",
"aiohttp>=3.8.0",
"pydantic>=2.10.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.25.0",
"pytest-cov>=6.0.0",
"black>=25.0.0",
"ruff>=0.11.0",
"mypy>=1.10.0",
"isort>=6.0.0",
]
[project.urls]
"Homepage" = "https://weblm.dev"
"Bug Tracker" = "https://github.com/WebLM/weblm-python/issues"
"Documentation" = "https://weblm.dev/api-documentation"
"Source" = "https://github.com/WebLM/weblm-python"
[tool.hatch.build.targets.wheel]
packages = ["weblm"]
include = [
"weblm",
"README.md",
"LICENSE",
"py.typed"
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_functions = "test_*"
asyncio_mode = "auto"
[tool.black]
line-length = 88
target-version = ["py39"]
[tool.ruff]
target-version = "py39"
line-length = 88
select = ["E", "F", "I", "B", "W"]
ignore = []
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[tool.coverage.run]
source = ["weblm"]
[tool.hatch.version]
path = "weblm/__init__.py"
pattern = "__version__ = \"(?P<version>[^\"]+)\""