Giter VIP home page Giter VIP logo

vitessce-python's Introduction

vitessce-python

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

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-jupyter-dev
$ pip install -e .
$ 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

Then you need 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:

Testing

cd tests
python -m unittest

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 master, 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.

vitessce-python's People

Contributors

keller-mark avatar ilan-gold avatar mccalluc avatar sehilyi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.