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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stix2-viz-0.3.0.tar.gz.
File metadata
- Download URL: stix2-viz-0.3.0.tar.gz
- Upload date:
- Size: 214.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.9.0a6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
797290daa60b0eb7c67fa00a85068c56351a34853e932e8ff721e7323e60709b
|
|
| MD5 |
b7e01e0523532531294dcbf0604d7328
|
|
| BLAKE2b-256 |
c86d8cb86fd0264c2f8fa9daea4d125c1a87612d195cc4792db3de7c4c870172
|
File details
Details for the file stix2_viz-0.3.0-py2.py3-none-any.whl.
File metadata
- Download URL: stix2_viz-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 228.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.9.0a6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ce6eaf018413a512fcb9b4281dcda6f1ff4f53c36c3f44856a4f54e95a53236
|
|
| MD5 |
bd6431203db3019cb165244678385250
|
|
| BLAKE2b-256 |
6dfac286109a45651a4485e2c39a2fdbd9e532577ff2e22706edee0bbb04ec6b
|