Skip to content

PyPI

DepthFlow is available in the Python Package Index (PyPI) via depthflow package.

Astral With uv

Have astral-sh/uv installed - a modern python manager and runner.

Script

Create a script with dependencies syntax file like:

# /// script
# dependencies = [
#   "depthflow>=1.0",
# ]
# ///

from depthflow.scene import DepthScene

scene = DepthScene()
scene.main()

Open a terminal in the script directory and run:

uv run script.py

Direct

Following the concepts of uv/tools, you can run it from an ephemeral environment:

uvx depthflow main

With pip

Simply install the depthflow package, use in your venv, or run its main entry point:

python3 -m pip install depthflow
python3 -m depthflow (args)