forked from Byaidu/PDFMathTranslate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
53 lines (49 loc) · 1004 Bytes
/
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
[project]
name = "pdf2zh"
version = "1.8.7"
description = "Latex PDF Translator"
authors = [{ name = "Byaidu", email = "[email protected]" }]
license = "AGPL-3.0"
readme = "README.md"
requires-python = ">=3.9,<3.13"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"requests",
"pymupdf",
"tqdm",
"tenacity",
"numpy",
"ollama",
"deepl",
"openai",
"azure-ai-translation-text<=1.0.1",
"gradio",
"huggingface_hub",
"onnx",
"onnxruntime",
"opencv-python-headless",
"tencentcloud-sdk-python",
"pdfminer.six>=20240706",
"gradio_pdf",
]
[project.optional-dependencies]
dev = [
"black",
"flake8",
"pre-commit"
]
backend = [
"flask",
"celery",
"redis"
]
[project.urls]
Homepage = "https://github.com/Byaidu/PDFMathTranslate"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.scripts]
pdf2zh = "pdf2zh.pdf2zh:main"