-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathsetup.py
More file actions
76 lines (75 loc) · 2.66 KB
/
setup.py
File metadata and controls
76 lines (75 loc) · 2.66 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
from setuptools import setup, find_packages
setup(
name="markdrop",
version="4.0.2",
packages=find_packages(),
install_requires=[
"beautifulsoup4",
"docling",
"docling_core==2.16.0",
"openai>=1.0.0",
"openpyxl",
"packaging",
"pandas",
"Pillow",
"protobuf",
"python-dotenv",
"pymupdf",
"requests",
"tqdm",
"google-genai",
"numpy>=1.26.4",
],
extras_require={
# Install with: pip install markdrop[anthropic]
"anthropic": ["anthropic>=0.40.0"],
# Install with: pip install markdrop[groq]
"groq": ["groq>=0.14.0"],
# Install with: pip install markdrop[litellm]
"litellm": ["litellm>=1.0.0"],
# Install with: pip install markdrop[local-models]
"local-models": ["ollama"],
# Install everything: pip install markdrop[all]
"all": [
"anthropic>=0.40.0",
"groq>=0.14.0",
"litellm>=1.0.0",
"ollama"
],
},
author="Shorya Sethia",
author_email="[email protected]",
description=(
"A comprehensive PDF processing toolkit that converts PDFs to markdown with "
"advanced AI-powered features for image and table analysis. Supports local files "
"and URLs, preserves document structure, extracts high-quality images, detects "
"tables using advanced ML models, and generates detailed content descriptions "
"using multiple LLM providers including OpenAI GPT-4o, Google Gemini, "
"Anthropic Claude, Groq, OpenRouter, and LiteLLM."
),
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
url="https://github.com/shoryasethia/markdrop",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing :: Markup :: Markdown",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires=">=3.10",
keywords=(
"pdf markdown converter ai llm table-extraction image-analysis "
"document-processing gemini openai anthropic claude groq openrouter litellm"
),
entry_points={
"console_scripts": [
"markdrop=markdrop.main:main",
],
},
include_package_data=True,
)