Jupyter widget facilitating interactive visualization of spatial single-cell data with Vitessce
Project description
vitessce-python
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]"
Conda environments
In this repository, there are multiple conda environments for different purposes:
vitessce-python-dev
(defined in environment.yml) is used for the development of thevitessce
package itselfvitessce-python-notebooks
(defined in docs/notebooks/environment.yml) is used for running the example notebooks in thedocs/notebooks/
directory (seedocs/notebooks/README.md
for more information)vitessce-python-binder
(defined in binder/environment.yml) is the environment used by Binder upon opening notebooks from this repository
Linting and testing
flake8
pytest
Formatting
One file:
autopep8 --in-place --aggressive ./path/to/file.py
All .py
files:
find . -name '*.py' -exec autopep8 --in-place --aggressive '{}' \;
Documentation
make html
Deployment
To deploy a new version, increment the version of the Python package in setup.py
.
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 package to PyPI.
Resources
- ipywidget docs: Building a Custom Widget
- ipywidget docs: Low Level Widget Tutorial
- ipywidget example: ipyleaflet
- ipywidget example (with React): ipymaterialui
- ipywidget example (with React): higlass-python
- ipywidget cookiecutter
- Sphinx: Getting Started
- Read the Docs Sphinx Theme
- jupyter server proxy
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vitessce-2.0.1.tar.gz
.
File metadata
- Download URL: vitessce-2.0.1.tar.gz
- Upload date:
- Size: 26.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01882365efb50eb2be923d3ba94ee780fb8b263d2f5c9968532c51c0253787cb |
|
MD5 | 1a4840266fbb72b92fd01bd5cd93e832 |
|
BLAKE2b-256 | 5e9dde4f8c177f4f7e7bf7a9c2b90937818587de3c77406ddf208e489e15ed37 |
File details
Details for the file vitessce-2.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: vitessce-2.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 47.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fee463bf914f587e301275fe9e8af27f9e2a61fe16f986e43cc5e596e40c171c |
|
MD5 | bdac09e9892011b3c1e947772262e1e8 |
|
BLAKE2b-256 | 93a6fc18fb97268bbe8a96edd3069b30712ae839afb005e03d909364141b00d7 |