-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (59 loc) · 1.37 KB
/
pyproject.toml
File metadata and controls
65 lines (59 loc) · 1.37 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "nepali-document-reader"
version = "0.1.0"
description = "AI-powered Nepali document reader with OCR and NLP understanding"
requires-python = ">=3.11"
dependencies = [
# Web framework
"fastapi>=0.115.0",
"uvicorn[standard]>=0.34.0",
"python-multipart>=0.0.9",
"aiofiles>=24.1.0",
# Task queue
"celery[redis]>=5.4.0",
# Database
"sqlmodel>=0.0.22",
"aiosqlite>=0.20.0",
# Document processing
"PyMuPDF>=1.25.0",
"pymupdf4llm>=0.0.17",
"pdf2image>=1.17.0",
"Pillow>=11.0.0",
"opencv-python-headless>=4.10.0",
# OCR engines
"paddleocr>=3.0.0",
"paddlepaddle>=3.0.0",
"easyocr>=1.7.0",
"pytesseract>=0.3.13",
# NLP
"anthropic>=0.52.0",
"transformers>=4.47.0",
"torch>=2.5.0",
# Utilities
"python-magic>=0.4.27",
"langdetect>=1.0.9",
"pydantic-settings>=2.6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"httpx>=0.27.0",
"ruff>=0.8.0",
]
google = [
"google-cloud-vision>=3.0.0",
]
[tool.setuptools.packages.find]
include = ["backend*"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]