Skip to main content

MDV Tools

Multi-Dimensional Viewer (MDV) is a web-based application for analysing and visualising large, multi-dimensional data (single-cell, spatial, and general tabular data). mdvtools is the Python package for creating, manipulating, and viewing MDV projects — including a lightweight local server and the ability to export a project as a static website.

Installation

pip install mdvtools

This installs the slim core: everything you need to build, manipulate, view, and serve MDV projects, including spatial-data support.

For the full application — database-backed project management, the chat/LLM assistant, and authentication — install the app extra:

pip install "mdvtools[app]"

If you call a full-app feature on a slim install, you'll get a clear message telling you to pip install "mdvtools[app]" rather than a cryptic import error.

Testing a pre-release from TestPyPI:

pip install --index-url https://test.pypi.org/simple/ \
            --extra-index-url https://pypi.org/simple/ mdvtools

Quickstart

Create and serve an MDV project from the pbmc3k example dataset. folder is where the project is stored — any location you can write to; it's created if it doesn't exist.

import scanpy
from mdvtools.conversions import convert_scanpy_to_mdv
from mdvtools.serverlite import serve_project

folder = "/path/to/mytestproject"
data = scanpy.datasets.pbmc3k_processed()

project = convert_scanpy_to_mdv(folder, data)
serve_project(project)            # serves at http://localhost:5050

Open http://localhost:5050 in your browser to explore the project. The project files live in folder and can be re-served later or exported as a static site.

There's also a command-line interface:

mdvtools --help

License

GPL-3.0-only. See the repository for full details.

Metadata

Release files for mdvtools 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mdvtools 1.3.0
File Size Uploaded
mdvtools-1.3.0.tar.gz 15.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mdvtools 1.3.0
File Interpreter ABI Platform
mdvtools-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.2 MB

Release files / mdvtools-1.3.0.tar.gz

Download URL mdvtools-1.3.0.tar.gz
Size 15.5 MB
Tags Source
SHA-256 checksum
How to use checksums
f3dda4382fd8a238f85a745b0a48224641e671d9e9b488252e5d68e555533abc
BLAKE2b-256 checksum
How to use checksums
9c7ae172eb6794e9c3ffea48db923b6a3610d532671270ebc4526e22187c3bec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / mdvtools-1.3.0-py3-none-any.whl

Download URL mdvtools-1.3.0-py3-none-any.whl
Size 15.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c8fc50a06346089ce355e92c5b6c1d6ded1aa7b2e867b3efc1c3508f92d75899
BLAKE2b-256 checksum
How to use checksums
e8e5036fc13f2c39b7db7b455b6a5cbf01aa8482ec83092dd03259383f9c1258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.4

2 release files

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page