[build-system] requires = ["hatchling>=1.25"] build-backend = "hatchling.build" [project] name = "ben3" version = "0.1.0" description = "BEN3 image and video background removal" readme = "README.md" requires-python = ">=3.9" authors = [ { name = "Prama LLC" } ] keywords = ["background-removal", "segmentation", "computer-vision", "pytorch", "image-matting", "video-segmentation"] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Multimedia :: Graphics", ] dependencies = [ "torch>=2.1", "transformers>=4.56.0", "huggingface-hub>=0.24", "numpy>=1.24", "Pillow>=9.5", "opencv-python>=4.8", ] [project.optional-dependencies] dev = [ "build>=1.2", "pytest>=8.0", "ruff>=0.6", ] [project.scripts] ben3 = "ben3.cli:main" [project.urls] Homepage = "https://backgrounderase.com" [tool.hatch.build.targets.wheel] packages = ["src/ben3"] [tool.ruff] line-length = 100 [tool.pytest.ini_options] testpaths = ["tests"]