Skip to content

jtpio/ipycytoscape

 
 

Repository files navigation

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.

About

A Cytoscape Jupyter widget

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 66.2%
  • TypeScript 28.1%
  • JavaScript 5.6%
  • CSS 0.1%