Skip to main content

README

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

Metadata

Release files for stix2-viz 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stix2-viz 0.3.0
File Size Uploaded
stix2-viz-0.3.0.tar.gz 214.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stix2-viz 0.3.0
File Interpreter ABI Platform
stix2_viz-0.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 443.1 kB

Release files / stix2-viz-0.3.0.tar.gz

Download URL stix2-viz-0.3.0.tar.gz
Size 214.4 kB
Tags Source
SHA-256 checksum
How to use checksums
797290daa60b0eb7c67fa00a85068c56351a34853e932e8ff721e7323e60709b
BLAKE2b-256 checksum
How to use checksums
c86d8cb86fd0264c2f8fa9daea4d125c1a87612d195cc4792db3de7c4c870172
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stix2_viz-0.3.0-py2.py3-none-any.whl

Download URL stix2_viz-0.3.0-py2.py3-none-any.whl
Size 228.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7ce6eaf018413a512fcb9b4281dcda6f1ff4f53c36c3f44856a4f54e95a53236
BLAKE2b-256 checksum
How to use checksums
6dfac286109a45651a4485e2c39a2fdbd9e532577ff2e22706edee0bbb04ec6b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page