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]"

Genomics helpers (structural-variant VCF import and gene overlap mapping) need the genomics extra, which depends on pysam and is not available on native Windows:

pip install "mdvtools[genomics]"

If you call a full-app or genomics feature without its extra, you'll get a clear message telling you which extra to install 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
mdvtools --version   # version, commit, Python and platform details

If a command fails unexpectedly it prints an error report with the traceback, command line and version information; please include it when filing an issue.

License

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

Metadata

Release files for mdvtools 1.4.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.4.0
File Size Uploaded Provenance Actions
mdvtools-1.4.0.tar.gz 20.3 MB Without provenance Details for mdvtools-1.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 40.7 MB

Release files / mdvtools-1.4.0.tar.gz

Download URL mdvtools-1.4.0.tar.gz
Size 20.3 MB
Tags Source
SHA-256 checksum
How to use checksums
bf1d9e638d94d635e5b123265862194b65e6d0fc423e17a5f4308c73a35817d6
BLAKE2b-256 checksum
How to use checksums
6abe1d49b051f2d8cbdc7620eabbf2590f4362a2e7b5e98ddc4af92cb4a76a90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL mdvtools-1.4.0-py3-none-any.whl
Size 20.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4ae2e6abf692bc00342af34fea369dd7b7643d9d02d13b75878b24ee25017a3c
BLAKE2b-256 checksum
How to use checksums
8c5a85ab4f8d4223322fdf538111a93aab9e192151373783559daa7f74d22f99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for mdvtools 1.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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