GitXplorerGitXplorer
t

jupyter-widget-stixview

public
26 stars
5 forks
9 issues

Commits

List of commits on branch master.
Unverified
d172c917f2de90f9deb516e950e602fdefc3ab3b

version bump

ttraut committed 4 years ago
Unverified
ff647fac454d00d29866b8f14db5ed71aeab131e

version bump

ttraut committed 4 years ago
Unverified
4ffdca031beac1dfdb9377387ffbc111fd32d244

notebook update

ttraut committed 4 years ago
Unverified
0d1e79dc6757baa090fb35a34557277ccc57b5ed

notebook update

ttraut committed 4 years ago
Unverified
bdafb222ef006b197ab6ec8c6fceee32eed8eff7

version bump

ttraut committed 4 years ago
Verified
355c93ac3b9fadcebf11b91abb2760451b220569

Merge pull request #8 from saaj/master

ttraut committed 4 years ago

README

The README file for this repository.

jupyter-widget-stixview

PyPI version

STIX2 graph widget for Jupyter notebook, powered by stixview library.

stixview widget screenshot

(see stixview-widget-showcase.ipynb for usage options)

Installation

To install use pip:

$ pip install jupyter_widget_stixview
$ jupyter nbextension enable --py --sys-prefix jupyter_widget_stixview

To install for jupyterlab

$ jupyter labextension install jupyter-widget-stixview

For a development installation (requires npm),

$ git clone https://github.com/traut/jupyter-widget-stixview.git
$ cd jupyter-widget-stixview
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix jupyter_widget_stixview
$ jupyter nbextension enable --py --sys-prefix jupyter_widget_stixview
$ jupyter labextension install js

When actively developing your extension, build Jupyter Lab with the command:

$ jupyter lab --watch

This take a minute or so to get started, but then allows you to hot-reload your javascript extension. To see a change, save your javascript, watch the terminal for an update.

Note on first jupyter lab --watch, you may need to touch a file to get Jupyter Lab to open.

Troubleshooting

In case of an error like jlpm: not found where a JupyterLab command is missing, make sure that the bin directory (of a Python virtual environment where jupyterlab is installed to) is on PATH.