| [build-system] |
| requires = ["hatchling"] |
| build-backend = "hatchling.build" |
|
|
| [tool.hatch.metadata.hooks.custom] |
| path = "hatch_build.py" |
|
|
| [tool.hatch.build.targets.sdist] |
| exclude = ["*.safetensors", "assets/**", "data/**", "dev_scripts/**", "uv.lock"] |
|
|
| [tool.hatch.build.targets.wheel] |
| packages = ["nisaba_relief"] |
|
|
| [project] |
| name = "nisaba-relief" |
| version = "0.1.0" |
| description = "Transform cuneiform tablet photos into MSII relief visualizations" |
| dynamic = ["readme"] |
| license = "Apache-2.0" |
| requires-python = ">=3.10,<3.14" |
| authors = [{ name = "Zack Williams", email = "zack@boatbomber.com" }] |
| keywords = ["cuneiform", "msii", "relief", "ocr", "flux", "deep-learning"] |
| classifiers = [ |
| "Development Status :: 4 - Beta", |
| "Intended Audience :: Science/Research", |
| "License :: OSI Approved :: Apache Software License", |
| "Programming Language :: Python :: 3", |
| "Programming Language :: Python :: 3.10", |
| "Programming Language :: Python :: 3.11", |
| "Programming Language :: Python :: 3.12", |
| "Programming Language :: Python :: 3.13", |
| "Topic :: Scientific/Engineering :: Image Processing", |
| "Topic :: Scientific/Engineering :: Artificial Intelligence", |
| ] |
| dependencies = [ |
| "einops>=0.8.2", |
| "safetensors", |
| "numpy", |
| "pillow", |
| "huggingface-hub", |
| "tqdm", |
| ] |
|
|
| [project.urls] |
| Homepage = "https://huggingface.co/boatbomber/NisabaRelief" |
| Repository = "https://huggingface.co/boatbomber/NisabaRelief" |
| Issues = "https://huggingface.co/boatbomber/NisabaRelief/discussions" |
|
|
| [dependency-groups] |
| dev = [ |
| "ruff>=0.15.4", |
| "scikit-image>=0.25.2", |
| "scipy>=1.15.3", |
| "image-similarity-measures[speedups]>=0.3.5", |
| "pytorch-msssim>=1.0.0", |
| "rich>=14.3.3", |
| "datasets>=4.6.1", |
| ] |
|
|
| [[tool.uv.index]] |
| name = "pytorch-cu128" |
| url = "https://download.pytorch.org/whl/cu128" |
| explicit = true |
|
|
| [tool.uv.sources] |
| torch = { index = "pytorch-cu128" } |
| torchvision = { index = "pytorch-cu128" } |
| triton = { index = "pytorch-cu128" } |
|
|
|
|
| [tool.ruff] |
| line-length = 90 |
|
|