Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (88 loc) · 2.76 KB
/
Copy pathpyproject.toml
File metadata and controls
98 lines (88 loc) · 2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[build-system]
requires = ["setuptools>=65.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "parallax-maker"
version = "1.0.3"
description = "A workflow for turning images into 2.5D animations with depth-based segmentation and inpainting, with a Svelte 5 web UI backed by a Flask HTTP API"
authors = [
{name = "Niels Provos", email = "niels@provos.org"}
]
readme = "README.md"
license = "AGPL-3.0-or-later"
keywords = ["computer-vision", "depth-estimation", "image-segmentation", "3d-animation", "gltf", "svelte", "stable-diffusion"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Graphics :: 3D Modeling",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.10,<3.14"
dependencies = [
"flask>=3.0",
"numpy==1.26.4",
"Pillow>=11.3.0",
"pygltflib==1.16.2",
"torch (>=2.8.0,<3.0.0)",
"torchvision (>=0.23.0,<0.24.0)",
"opencv-python>=4.9.0",
"timm==0.6.13",
"diffusers[torch] (>=0.34.0,<0.35.0)",
"transformers (>=4.53.0,<5.0.0)",
"orjson>=3.10.1",
"numba>=0.59.1",
"websocket-client>=1.8.0",
"scipy>=1.13.1",
"protobuf (>=6.31.1,<7.0.0)",
"sentencepiece (>=0.2.0,<0.3.0)",
"accelerate (>=1.8.1,<2.0.0)",
"fal-client (>=0.7.0,<0.8.0)",
"pydantic (>=2.7,<3)",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"black",
"flake8",
"mypy",
"pre-commit",
]
[project.urls]
Homepage = "https://github.com/provos/parallax-maker"
Documentation = "https://github.com/provos/parallax-maker#readme"
Repository = "https://github.com/provos/parallax-maker"
Issues = "https://github.com/provos/parallax-maker/issues"
[project.scripts]
parallax-maker = "parallax_maker.server:main"
parallax-gltf-cli = "parallax_maker.gltf_cli:main"
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ["parallax_maker*"]
[tool.setuptools.package-data]
parallax_maker = [
"example/**/*",
"static/app/**/*",
]
[tool.black]
line-length = 88
target-version = ['py310']
[tool.pytest.ini_options]
testpaths = ["parallax_maker"]
python_files = ["test_*.py"]
addopts = "--cov=parallax_maker --cov-report=html --cov-report=term-missing"
pythonpath = ["."]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true