All Projects → QuantStack → Ipycytoscape

QuantStack / Ipycytoscape

Licence: bsd-3-clause
A Cytoscape Jupyter widget

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ipycytoscape

Geopandas Tutorial
Tutorial on geospatial data manipulation with Python
Stars: ✭ 306 (+139.06%)
Mutual labels:  jupyter-notebook, binder
Osmnx Examples
Usage examples, demos, and tutorials for OSMnx.
Stars: ✭ 863 (+574.22%)
Mutual labels:  jupyter-notebook, binder
Hands On Nltk Tutorial
The hands-on NLTK tutorial for NLP in Python
Stars: ✭ 419 (+227.34%)
Mutual labels:  jupyter-notebook, binder
California Coronavirus Data
The Los Angeles Times' independent tally of coronavirus cases in California.
Stars: ✭ 188 (+46.88%)
Mutual labels:  jupyter-notebook, binder
Repo2docker Action
GitHub Action for repo2docker
Stars: ✭ 88 (-31.25%)
Mutual labels:  jupyter-notebook, binder
Juniper
🍇 Edit and execute code snippets in the browser using Jupyter kernels
Stars: ✭ 189 (+47.66%)
Mutual labels:  jupyter-notebook, binder
Csc deeplearning
3-day dive into deep learning at csc
Stars: ✭ 22 (-82.81%)
Mutual labels:  jupyter-notebook, binder
Nb2xls
Convert Jupyter notebook to Excel spreadsheet
Stars: ✭ 129 (+0.78%)
Mutual labels:  jupyter-notebook, binder
Jupyter Rise
Auto-launching the RISE plugin for Binder presentations.
Stars: ✭ 58 (-54.69%)
Mutual labels:  jupyter-notebook, binder
Praatscripts
These are praat scripts I use in my research, implemented in parselmouth for python for use in binder
Stars: ✭ 40 (-68.75%)
Mutual labels:  jupyter-notebook, binder
Binderhub
Run your code in the cloud, with technology so advanced, it feels like magic!
Stars: ✭ 2,050 (+1501.56%)
Mutual labels:  jupyter-notebook, binder
Helm Chart
A store of Helm chart tarballs for deploying JupyterHub and BinderHub on a Kubernetes cluster
Stars: ✭ 123 (-3.91%)
Mutual labels:  jupyter-notebook, binder
Jupyter Server Proxy
Jupyter notebook server extension to proxy web services.
Stars: ✭ 153 (+19.53%)
Mutual labels:  jupyter-notebook, binder
Ten Rules Jupyter
Ten Simple Rules for Writing and Sharing Computational Analyses in Jupyter Notebooks
Stars: ✭ 204 (+59.38%)
Mutual labels:  jupyter-notebook, binder
R
Using R with Jupyter / RStudio on Binder
Stars: ✭ 136 (+6.25%)
Mutual labels:  jupyter-notebook, binder
Quickviz
Visualize a pandas dataframe in a few clicks
Stars: ✭ 18 (-85.94%)
Mutual labels:  jupyter-notebook, binder
Python Training
Python training for business analysts and traders
Stars: ✭ 972 (+659.38%)
Mutual labels:  jupyter-notebook, binder
Dl Workshop
Master gradient-based machine learning. Also secretly a JAX course in disguise!
Stars: ✭ 103 (-19.53%)
Mutual labels:  jupyter-notebook, binder
Python Audio
Some Jupyter notebooks about audio signal processing with Python
Stars: ✭ 125 (-2.34%)
Mutual labels:  jupyter-notebook, binder
Python notes
Stars: ✭ 127 (-0.78%)
Mutual labels:  jupyter-notebook

ipycytoscape

Build Status Documentation Status Join the chat at https://gitter.im/QuantStack/Lobby

A widget enabling interactive graph visualization with cytoscape.js in JupyterLab and the Jupyter notebook.

Try it out using binder: Binder or install and try out the examples.

cytoscape screencast

Supports:

Installation

With mamba:

mamba install -c conda-forge ipycytoscape

With conda:

conda install -c conda-forge ipycytoscape

With pip:

pip install ipycytoscape

For jupyterlab 1.x or 2.x:

If you are using JupyterLab 1.x or 2.x then you will also need to install nodejs and the jupyterlab-manager extension. You can do this like so:

# installing nodejs
conda install -c conda-forge nodejs


# install jupyterlab-manager extension
jupyter labextension install @jupyter-widgets/[email protected] --no-build

# if you have previously installed the manager you still to run jupyter lab build
jupyter lab build

For Jupyter Notebook 5.2 and earlier

You may also need to manually enable the nbextension:

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

For a development installation:

(requires npm)

While not required, we recommend creating a conda environment to work in:

conda create -n ipycytoscape -c conda-forge jupyterlab nodejs>13 networkx
conda activate ipycytoscape

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

Install python package for development

This will also run npm install and npm run build

pip install jupyter_packaging==0.7.9
pip install -e ".[test, doc]"

jupyter labextension develop . --overwrite

Or for classic notebook, you can run:

jupyter nbextension install --sys-prefix --symlink --overwrite --py ipycytoscape
jupyter nbextension enable --sys-prefix --py ipycytoscape

Note that the --symlink flag doesn't work on Windows, so you will here have to run the install command every time that you rebuild your extension. For certain installations you might also need another flag instead of --sys-prefix, but we won't cover the meaning of those flags here.

How to see your changes

Typescript:

To continuously monitor the project for changes and automatically trigger a rebuild, start watching the ipycytoscape code:

npm run watch

And in a separate terminal start JupyterLab normally:

jupyter lab

once the webpack rebuild finishes refresh the JupyterLab page to have your changes take effect.

Python:

If you make a change to the python code then you need to restart the notebook kernel to have it take effect.

How to run tests locally

Install necessary dependencies with pip:

pip install -e .[test]

Or with mamba:

mamba -c conda-forge install networkx pandas nbval pytest

Or with conda:

conda -c conda-forge install networkx pandas nbval pytest

And to run it:

pytest

How to build the docs

cd docs

Install dependencies:

conda env update --file doc_environment.yml

And build them:

make html

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].