-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
85 lines (78 loc) · 1.96 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "vision-parse"
dynamic = ["version"]
description = "Parse PDF documents into markdown formatted content using Vision LLMs"
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
authors = [
{ name = "Arun Brahma", email = "mithubrahma@gmail.com" }
]
keywords = [
"pdf",
"markdown",
"pdf to markdown",
"vision llm",
"document parser",
"ocr",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"jinja2>=3.0.0",
"nest-asyncio>=1.6.0",
"numpy>=2.0.0",
"ollama>=0.4.4",
"opencv-python>=4.10.0.84",
"pydantic>=2.0.0",
"pymupdf>=1.22.0",
"tenacity>=9.0.0",
"tqdm>=4.65.0",
]
[project.urls]
Homepage = "https://github.com/iamarunbrahma/vision-parse"
Repository = "https://github.com/iamarunbrahma/vision-parse.git"
[project.optional-dependencies]
dev = [
"black>=24.4.1",
"black[jupyter]>=24.8.0",
"build>=1.2.2",
"pytest>=8.3.4",
"pytest-asyncio>=0.23.5",
"ruff>=0.8.3",
"twine>=6.0.1",
]
gemini = [
"google-generativeai==0.8.3",
]
openai = [
"openai==1.58.0",
]
all = [
"google-generativeai==0.8.3",
"openai==1.58.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/vision_parse"]
[tool.hatch.build.targets.sdist]
include = [
"/src/vision_parse",
"/tests",
]
[tool.hatch.build.targets.wheel.force-include]
"src/vision_parse/markdown_prompt.j2" = "vision_parse/markdown_prompt.j2"
"src/vision_parse/image_analysis.j2" = "vision_parse/image_analysis.j2"
[tool.hatch.version]
source = "vcs"