CoolFace
Apppublic

mouse0232/PDFMathTranslate-Docker

sourceHugging Faceagpl-3.0updated 2y agoView on Hugging Face
0likes
pyproject.toml87 linesDownload Raw Back to root
1[project]2name = "pdf2zh"3version = "1.9.2.rc0"4description = "Latex PDF Translator"5authors = [{ name = "Byaidu", email = "byaidux@gmail.com" }]6license = "AGPL-3.0"7readme = "README.md"8requires-python = ">=3.10,<3.13"9classifiers = [10    "Programming Language :: Python :: 3",11    "Operating System :: OS Independent",12]13dependencies = [14    "requests",15    # for arm64 linux whells16    "pymupdf<1.25.3",17    "tqdm",18    "tenacity",19    "numpy",20    "ollama",21    "xinference-client",22    "deepl",23    "openai",24    "azure-ai-translation-text<=1.0.1",25    "gradio",26    "huggingface_hub",27    "onnx",28    "onnxruntime",29    "opencv-python-headless",30    "tencentcloud-sdk-python-tmt",31    "pdfminer.six>=20240706",32    "gradio_pdf>=0.0.21",33    "pikepdf",34    "peewee>=3.17.8",35    "fontTools",36    "babeldoc>=0.0.1a20, <0.2.0",37]38 39[project.optional-dependencies]40backend = [41    "flask",42    "celery",43    "redis"44]45argostranslate = [46    "argostranslate"47]48 49[dependency-groups]50dev = [51    "black",52    "flake8",53    "pre-commit",54    "pytest",55    "build",56    "bumpver>=2024.1130",57]58 59[project.urls]60Homepage = "https://github.com/Byaidu/PDFMathTranslate"61 62[build-system]63requires = ["hatchling"]64build-backend = "hatchling.build"65 66[project.scripts]67pdf2zh = "pdf2zh.pdf2zh:main"68 69[tool.flake8]70ignore = ["E203", "E261", "E501", "W503", "E741"]71max-line-length = 8872 73 74 75[bumpver]76current_version = "1.9.2.rc0"77version_pattern = "MAJOR.MINOR.PATCH[.PYTAGNUM]"78 79[bumpver.file_patterns]80"pyproject.toml" = [81    'current_version = "{version}"',82    'version = "{version}"'83]84"pdf2zh/__init__.py" = [85    '__version__ = "{version}"'86]87