forked from iamshouvikmitra/bharat-courts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (51 loc) · 1.43 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (51 loc) · 1.43 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
[project]
name = "bharat-courts"
version = "0.3.0"
description = "Async Python client for Indian court data — eCourts, HC Services, Supreme Court"
license = "MIT"
authors = [{name = "bharat-courts Contributors"}]
requires-python = ">=3.11"
readme = "README.md"
keywords = ["india", "courts", "ecourts", "legal", "scraper"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"httpx>=0.28",
"pydantic-settings>=2.7",
"beautifulsoup4>=4.12",
"lxml>=5.0",
]
[project.optional-dependencies]
ocr = ["Pillow>=11.0", "ddddocr>=1.5.5,<1.6"]
onnx = ["onnxruntime>=1.17", "Pillow>=11.0", "numpy>=1.24"]
cli = ["click>=8.1", "rich>=13.0"]
archive = ["duckdb>=1.1"]
dev = [
"pytest>=8.3",
"pytest-asyncio>=0.24",
"respx>=0.22",
"ruff>=0.8",
]
all = ["bharat-courts[ocr,onnx,cli,archive,dev]"]
[project.scripts]
bharat-courts = "bharat_courts.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/bharat_courts"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
target-version = "py311"
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]