jupyter-widget-stixview

Stixview library widget for Jupyter


Keywords
jupyter, widgets, ipython, ipywidgets, jupyterlab-extension, security, graph, jupyter-notebook, cybersecurity, cti, cyber-security, jupyter-widget, cyber-threat-intelligence, stix2
License
BSD-3-Clause
Install
npm install jupyter-widget-stixview@1.1.0

Documentation

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.