File size: 868 Bytes
230c9a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pdf-extract-kit"
version = "0.1.0"
authors = [
    { name="Bin Wang", email="ictwangbin@gmail.com" }
]
description = "A Comprehensive Toolkit for High-Quality PDF Content Extraction."
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.10"
dependencies = [
    "PyPDF2",
    "matplotlib",
    "pyyaml",
    "frontend",
    "pymupdf",
    opencv-python = "^4.6.0"
    # Add other common dependencies
]

[project.optional-dependencies]
layout_detection = [
    "transformers",  # for layoutlmv3
    # Add other dependencies for layout detection
]
formula_detection = [
    "ultralytics",  # for yolov8
    # Add other dependencies for formula detection
]
# Add additional dependencies for other models