Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Visualize STIX content

Project description

This repository contains a Python package stix2viz for enabling visualization of STIX 2 content within Jupyter notebooks.

Installation

  1. pip install stix2-viz
  2. jupyter nbextension install stix2viz --py
  3. 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

  1. jupyter nbextension uninstall stix2viz --py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for stix2-viz, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size stix2_viz-0.3.0-py2.py3-none-any.whl (228.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size stix2-viz-0.3.0.tar.gz (214.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page