Skip to main content

A Custom Jupyter Widget Library

Project description

ogdf-python-widget 0.1.1

A Custom Jupyter Widget Library

Installation

To install use pip:

$ pip install ogdf_python_widget

For a development installation (requires Node.js and Yarn version 1),

$ git clone https://github.com/ogdf/ogdf-python-widget.git
$ cd ogdf-python-widget
$ pip install -e .
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix ogdf_python_widget
$ jupyter nbextension enable --py --sys-prefix ogdf_python_widget

When actively developing your extension for JupyterLab, run the command:

$ jupyter labextension develop --overwrite ogdf_python_widget

Then you need to rebuild the JS when you make a code change:

$ cd js
$ yarn run build

You then need to refresh the JupyterLab page when your javascript changes.

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

ogdf_python_widget-0.1.1.tar.gz (178.6 kB view hashes)

Uploaded Source

Built Distribution

ogdf_python_widget-0.1.1-py2.py3-none-any.whl (277.5 kB 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