Visualize STIX content
Project description
This repository contains a Python package stix2viz for enabling visualization of STIX 2 content within Jupyter notebooks.
Installation
pip install stix2-viz
jupyter nbextension install stix2viz --py
jupyter nbextension enable stix2viz --py
Usage
In a notebook cell, run the following code:
import requests
import stix2viz
data = requests.get("https://raw.githubusercontent.com/oasis-open/cti-stix-visualization/master/test.json").content
stix2viz.display(data)
The display function can take either a JSON string, or a python-stix2 object.
Uninstall
jupyter nbextension uninstall stix2viz --py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stix2-viz-0.3.0.tar.gz
(214.4 kB
view hashes)
Built Distribution
stix2_viz-0.3.0-py2.py3-none-any.whl
(228.7 kB
view hashes)
Close
Hashes for stix2_viz-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ce6eaf018413a512fcb9b4281dcda6f1ff4f53c36c3f44856a4f54e95a53236 |
|
MD5 | bd6431203db3019cb165244678385250 |
|
BLAKE2b-256 | 6dfac286109a45651a4485e2c39a2fdbd9e532577ff2e22706edee0bbb04ec6b |