-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (75 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
89 lines (75 loc) · 1.99 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
[tool.poetry]
name = "finai-deepreader"
version = "0.1.0"
description = "A standalone component for deep, iterative reading and analysis of complex documents."
authors = ["luokunkirk"]
license = "MIT"
readme = "README.md"
packages = [{include = "backend"}]
[tool.poetry.dependencies]
python = ">=3.12,<4.0"
# Core LangChain and LangGraph dependencies
langgraph = "0.5.0"
langchain-core = "0.3.67"
langchain = "^0.3.26"
langchain-text-splitters = "0.3.8"
langchain-openai = "0.3.27"
langgraph-checkpoint-sqlite = "2.0.10"
# Google AI dependencies
google-generativeai = "^0.8.5"
google-genai = "1.20.0"
langchain-google-genai = "^2.1.6"
# GPT Researcher
gpt-researcher = "0.14.0"
# Document processing
marker-pdf = "^1.10.1"
ebooklib = "0.19"
mobi = "^0.3.3"
beautifulsoup4 = "4.13.4"
# Web and API
fastapi = "0.115.14"
uvicorn = "0.35.0"
python-multipart = "0.0.20"
requests = "2.32.4"
aiohttp = "3.12.13"
aiofiles = "24.1.0"
httpx = "^0.28.1"
# Data processing
pydantic = "2.11.7"
numpy = "2.3.1"
faiss-cpu = "1.11.0"
# Text processing
thefuzz = "0.22.1"
json-repair = "0.47.6"
tiktoken = "^0.9.0"
markdown = "^3.8.2"
# PDF generation
weasyprint = "^65.1"
# Utilities
python-dotenv = "1.1.1"
typing_extensions = "4.14.0"
prompt-toolkit = "^3.0.48"
[tool.poetry.group.dev.dependencies]
pytest = "8.4.0"
pytest-asyncio = "1.0.0"
pytest-dotenv = "^0.5.2"
types-aiofiles = "^24.1.0"
types-beautifulsoup4 = "^4.13.0"
types-colorama = "^0.4.15"
types-markdown = "^3.8.0"
types-requests = "^2.32.0"
pre-commit = "^4.2.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "strict"
addopts = "-v"
testpaths = ["test"]
python_files = "test_*.py"
asyncio_fixture_loop_scope = "function"
# Poetry configuration for handling dependency conflicts
[tool.poetry.group.optional.dependencies]
# Optional dependencies that might have conflicts
google-ai-generativelanguage = { version = "^0.6.15", optional = true }
surya-ocr = { version = "^0.14.6", optional = true }