2025-03-01 20:54:00 +08:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["hatchling"]
|
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
2025-02-28 19:35:59 +08:00
|
|
|
[project]
|
|
|
|
|
name = "texteller"
|
|
|
|
|
authors = [
|
|
|
|
|
{ name="OleehyO", email="leehy0357@gmail.com" }
|
|
|
|
|
]
|
2025-03-01 20:54:00 +08:00
|
|
|
version = "1.0.0"
|
2025-02-28 19:35:59 +08:00
|
|
|
description = "Texteller is a tool for converting latex image to text"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
requires-python = ">=3.10"
|
|
|
|
|
dependencies = [
|
|
|
|
|
"accelerate>=1.4.0",
|
|
|
|
|
"augraphy>=8.2.6",
|
|
|
|
|
"datasets>=3.3.2",
|
|
|
|
|
"evaluate>=0.4.3",
|
|
|
|
|
"onnx>=1.17.0",
|
|
|
|
|
"onnxruntime>=1.20.1",
|
|
|
|
|
"opencv-python>=4.11.0.86",
|
|
|
|
|
"optimum>=1.24.0",
|
|
|
|
|
"pyclipper>=1.3.0.post6",
|
2025-03-01 22:37:16 +08:00
|
|
|
"python-multipart>=0.0.20",
|
|
|
|
|
"ray[serve]>=2.43.0",
|
2025-02-28 19:35:59 +08:00
|
|
|
"shapely>=2.0.7",
|
|
|
|
|
"streamlit>=1.42.2",
|
|
|
|
|
"streamlit-paste-button>=0.1.2",
|
|
|
|
|
"tensorboardx>=2.6.2.2",
|
|
|
|
|
"torch>=2.6.0",
|
|
|
|
|
"torchvision>=0.21.0",
|
|
|
|
|
"transformers==4.45.2",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
|
exclude = ['.git', '.mypy_cache', '.ruff_cache', '.venv', 'dist']
|
|
|
|
|
target-version = 'py310'
|
|
|
|
|
line-length = 100
|
|
|
|
|
|
|
|
|
|
[tool.ruff.format]
|
|
|
|
|
line-ending = 'lf'
|
|
|
|
|
quote-style = 'preserve'
|
|
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
|
select = ["E", "W"]
|
|
|
|
|
ignore = [
|
|
|
|
|
"E999",
|
|
|
|
|
"EXE001",
|
|
|
|
|
"UP009",
|
|
|
|
|
"F401",
|
|
|
|
|
"TID252",
|
|
|
|
|
"F403",
|
|
|
|
|
"F841",
|
|
|
|
|
"E501",
|
|
|
|
|
"W293",
|
2025-03-03 00:54:57 +08:00
|
|
|
"E741",
|
2025-02-28 19:35:59 +08:00
|
|
|
]
|
2025-03-01 20:54:00 +08:00
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
|
|
packages = ["texteller"]
|