| [build-system] |
| requires = ["hatchling==1.27.0"] |
| build-backend = "hatchling.build" |
|
|
| [project] |
| name = "unlimited-ocr-rdna4" |
| dynamic = ["version"] |
| description = "Verified local Unlimited-OCR inference on AMD RDNA 4 with ROCm" |
| readme = "README.md" |
| requires-python = ">=3.12,<3.13" |
| license = {file = "LICENSE"} |
| authors = [{name = "Douglas von Kohorn"}] |
| keywords = ["ocr", "rocm", "rdna4", "gfx1201", "amd", "transformers"] |
| classifiers = [ |
| "Development Status :: 4 - Beta", |
| "Environment :: Console", |
| "Intended Audience :: Developers", |
| "Intended Audience :: Science/Research", |
| "License :: OSI Approved :: MIT License", |
| "Operating System :: POSIX :: Linux", |
| "Programming Language :: Python :: 3", |
| "Programming Language :: Python :: 3.12", |
| "Topic :: Scientific/Engineering :: Artificial Intelligence", |
| ] |
| dependencies = [ |
| "addict==2.4.0", |
| "easydict==1.13", |
| "einops==0.8.2", |
| "huggingface-hub==0.36.2", |
| "matplotlib==3.10.8", |
| "numpy==1.26.4", |
| "Pillow==12.1.1", |
| "psutil==7.2.2", |
| "pypdfium2==5.12.1", |
| "requests==2.34.2", |
| "safetensors==0.8.0", |
| "tqdm==4.70.0", |
| "transformers==4.57.1", |
| ] |
|
|
| [project.optional-dependencies] |
| dev = ["build==1.5.0", "pytest==8.4.2", "pytest-cov==6.3.0", "ruff==0.14.14", "twine==6.2.0"] |
|
|
| [project.scripts] |
| unlimited-ocr-rdna4 = "unlimited_ocr_rdna4.cli:main" |
|
|
| [project.urls] |
| Homepage = "https://huggingface.co/dougvk/Unlimited-OCR-RDNA4" |
| Documentation = "https://huggingface.co/dougvk/Unlimited-OCR-RDNA4#readme" |
| Issues = "https://huggingface.co/dougvk/Unlimited-OCR-RDNA4/discussions" |
| Source = "https://huggingface.co/dougvk/Unlimited-OCR-RDNA4" |
|
|
| [tool.hatch.build.targets.wheel] |
| packages = ["src/unlimited_ocr_rdna4"] |
|
|
| [tool.hatch.version] |
| path = "src/unlimited_ocr_rdna4/constants.py" |
|
|
| [tool.pytest.ini_options] |
| addopts = "-q" |
| testpaths = ["tests"] |
|
|
| [tool.ruff] |
| line-length = 120 |
| target-version = "py312" |
|
|
| [tool.ruff.lint] |
| select = ["E", "F", "I", "UP", "B", "SIM", "RUF"] |
| allowed-confusables = ["|"] |
|
|
| [tool.ruff.format] |
| quote-style = "double" |
|
|