tiffwrite 2026.5.0

Write BioFormats/ImageJ compatible tiffs with zstd compression in parallel.
Documentation
[build-system]
requires = ["maturin>=1.9.4,<2.0"]
build-backend = "maturin"

[project]
name = "tiffwrite"
dynamic = [
    "version",
    "description",
    "readme",
    "license",
    "license-files",
    "authors",
    "maintainers",
    "keywords",
    "urls",
]
requires-python = ">=3.10"
classifiers = [
    "License :: OSI Approved :: Apache Software License",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Rust",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
]

dependencies = ["numpy", "tqdm"]

[project.optional-dependencies]
test = ["pytest", "tifffile", "imagecodecs"]

[project.urls]
homepage = "https://github.com/wimpomp/tiffwrite"
repository = "https://github.com/wimpomp/tiffwrite"

[project.scripts]
tiffwrite_generate_stub = "tiffwrite:tiffwrite_generate_stub"

[tool.maturin]
python-source = "py"
features = ["pyo3/extension-module", "python"]
module-name = "tiffwrite.tiffwrite_rs"

[tool.isort]
line_length = 119

[tool.ruff]
line-length = 119
indent-width = 4