Skip to main content

Python implementation of the graph visualization tool Cytoscape.

Project description

ipycytoscape

Build Status

Python implementation of the graph visualization tool Cytoscape.

Try it out using binder: Binder

cytoscape screencast

Supports:

  • Conversion from NetworkX see example
  • Conversion from Pandas DataFrame see example

Installation

With conda: (recommended)

conda install -c conda-forge ipycytoscape

With pip:

pip install ipycytoscape

For jupyterlab users:

There is an aditional step if you're using JupyterLab:

jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-cytoscape

If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension:

jupyter nbextension enable --py [--sys-prefix|--user|--system] ipycytoscape

For a development installation:

(requires npm)

git clone https://github.com/QuantStack/ipycytoscape.git
cd ipycytoscape

It's recommended to create a conda environment:

conda create -n ipycytoscape -c conda-forge jupyterlab nodejs
conda activate ipycytoscape

Install and enable extension for jupyter notebook and jupyter lab:

python -m pip install -e .
npm install && npm run build
jupyter nbextension install --py --symlink --sys-prefix ipycytoscape
jupyter nbextension enable ipycytoscape --py --sys-prefix
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-cytoscape
jupyter labextension install js

License

We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.

This software is licensed under the BSD-3-Clause license. See the LICENSE file for details.

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

ipycytoscape-0.2.2.tar.gz (1.9 MB view hashes)

Uploaded Source

Built Distribution

ipycytoscape-0.2.2-py2.py3-none-any.whl (2.2 MB view hashes)

Uploaded Python 2 Python 3

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