Skip to main content

Jupyter widget facilitating interactive visualization of spatial single-cell data with Vitessce

Project description

vitessce-python

PyPI Vitessce JS dependency version docs

Binder Open In Colab

Python API and Jupyter widget facilitating interactive visualization of spatial single-cell data with Vitessce.

Installation

To install with pip:

$ pip install vitessce[all]

Getting started

Explore our example notebooks. These contain demos of different use cases and integrations with single-cell data analysis packages.

Development

For a development installation (requires NodeJS and NPM),

$ git clone https://github.com/vitessce/vitessce-python.git
$ cd vitessce-python
$ conda env create -f environment.yml
$ conda activate vitessce-python-dev
$ pip install -e ".[dev]"
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix vitessce
$ jupyter nbextension enable --py --sys-prefix vitessce

When actively developing your extension for JupyterLab, run the command:

$ jupyter labextension develop --overwrite vitessce

For the JS codebase, install nvm and then run nvm install to get the correct version of Node. To rebuild the JS when you make a code change:

$ cd js
$ npm run build

You then need to refresh the JupyterLab page when your javascript changes.

Conda environments

In this repository, there are multiple conda environments for different purposes:

Linting and testing

flake8
pytest

Documentation

make html

Deployment

To deploy a new version, increment the version of the Python package in vitessce/_version.py and the JS package in js/package.json:

cd js
npm version patch

Then, when you push or merge the code with the incremented versions to main, the GitHub Action deploy.yml workflow will build and push the packages to PyPI and NPM.

Resources

Getting/Offering Help

If you have a specific bug or feature request, please feel free to open an issue. Otherwise our discussions section is a great place to get help or offer it. If you aren't sure if something is a bug or not, don't have all the reproduction steps, or just have a general question, feel free to open a discussion post.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vitessce-1.0.11.tar.gz (36.2 MB view details)

Uploaded Source

Built Distribution

vitessce-1.0.11-py2.py3-none-any.whl (40.2 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file vitessce-1.0.11.tar.gz.

File metadata

  • Download URL: vitessce-1.0.11.tar.gz
  • Upload date:
  • Size: 36.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for vitessce-1.0.11.tar.gz
Algorithm Hash digest
SHA256 e24660e783880254ceecc6dc66248d1143e87b67ca94b8ced8e9bdf30e1a87c4
MD5 afdda4dd4bc57bcadfb0d2fd1a9d6e78
BLAKE2b-256 2a19a673bbd2e6727c4a5f3d806a9255fc43f84ad9bc0d7ccda941fb064e35e5

See more details on using hashes here.

File details

Details for the file vitessce-1.0.11-py2.py3-none-any.whl.

File metadata

  • Download URL: vitessce-1.0.11-py2.py3-none-any.whl
  • Upload date:
  • Size: 40.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for vitessce-1.0.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 20e859c70a529e43992888786ffb65f16c50c6f2a5b99d812e0c06532c368974
MD5 6aad6640e0488b1af388be3bef453c79
BLAKE2b-256 9a62fbdaff0059a44897ca50943d645643cd3e3ae6ba9a5491e9752328ead025

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page