Skip to content

Install

pip

pip install milume

Requires Python 3.11+.

Each demo notebook lists its own dependencies in its inline script header, so uvx marimo edit --sandbox demos/landmarks.py (or opening it on molab) installs them for you. The Squidpy recipe also needs scanpy, squidpy and leidenalg:

pip install squidpy scanpy leidenalg

uv

uv pip install --compile-bytecode milume

--compile-bytecode compiles .pyc files at install time, so the first import milume doesn't pay for compiling milume and its dependencies. In a project, uv add milume works too (set UV_COMPILE_BYTECODE=1 for the same effect).

From source

uv sync --group demo --group dev

The demo dependency group adds marimo and the spatial-omics packages used by demos/. It is a development group, not a published extra.

Next