{"id":15166962,"url":"https://github.com/vincenzocaputo/pystixview","last_synced_at":"2026-04-02T01:40:24.104Z","repository":{"id":225687553,"uuid":"766463997","full_name":"vincenzocaputo/PySTIXView","owner":"vincenzocaputo","description":"A Python library to create and display STIX2 graphs","archived":false,"fork":false,"pushed_at":"2024-12-24T00:31:16.000Z","size":14846,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T06:51:20.744Z","etag":null,"topics":["graph","jupyter-notebook","pyvis","stix2"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vincenzocaputo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-03T10:45:30.000Z","updated_at":"2024-08-15T17:52:47.000Z","dependencies_parsed_at":"2024-08-15T19:53:40.436Z","dependency_job_id":null,"html_url":"https://github.com/vincenzocaputo/PySTIXView","commit_stats":{"total_commits":110,"total_committers":2,"mean_commits":55.0,"dds":0.0636363636363636,"last_synced_commit":"3e3d0be346967fb529692c09b7d192b46d8ea926"},"previous_names":["vincenzocaputo/pystixview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincenzocaputo%2FPySTIXView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincenzocaputo%2FPySTIXView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincenzocaputo%2FPySTIXView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincenzocaputo%2FPySTIXView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vincenzocaputo","download_url":"https://codeload.github.com/vincenzocaputo/PySTIXView/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238120391,"owners_count":19419763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["graph","jupyter-notebook","pyvis","stix2"],"created_at":"2024-09-27T05:04:36.929Z","updated_at":"2026-04-02T01:40:24.067Z","avatar_url":"https://github.com/vincenzocaputo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PySTIXView\n![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54) [![PyPI version](https://badge.fury.io/py/PySTIXview.svg)](https://badge.fury.io/py/PySTIXview) [![codecov](https://codecov.io/gh/vincenzocaputo/PySTIXView/graph/badge.svg?token=812G6NT5JP)](https://codecov.io/gh/vincenzocaputo/PySTIXView) [![Documentation Status](https://readthedocs.org/projects/pystixview/badge/?version=latest)](https://pystixview.readthedocs.io/en/latest/?badge=latest) [![Super-Linter](https://github.com/vincenzocaputo/PySTIXView/actions/workflows/lint.yml/badge.svg)](https://github.com/marketplace/actions/super-linter) [![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\n\nPySTXIView is a Python library to create and display STIX2 graphs.\n\nPySTIXView is based on [pyvis](https://github.com/WestHealth/pyvis/) that allows you to create graph and visualize them in your browser or in Jupyter Notebook.\n\n![](https://raw.githubusercontent.com/vincenzocaputo/PySTIXView/main/_media/graph_example.png)\n\n## Installation\n\n### Requirements\n- python3 (tested on python 3.12)\n- pyvis\n- [stix2](https://github.com/oasis-open/cti-python-stix2)\n\n### Install from pip\n```\npip install PySTIXview\n```\n\n### Install from source code\n\n```\ngit clone https://github.com/vincenzocaputo/PySTIXView\ncd PySTIXView\npip install .\n```\n\n## Usage\n\nBelow is a simple example to create a graph from the STIX2 Bundle [Threat Actor Leveraging Attack Patterns and Malware](https://oasis-open.github.io/cti-documentation/examples/threat-actor-leveraging-attack-patterns-and-malware). (The JSON file is available at https://github.com/oasis-open/cti-documentation/blob/main/examples/example_json/threat-actor-leveraging-attack-patterns-and-malware.json)\n\n```python\nfrom pystixview import PySTIXView\n\nstix_graph = PySTIXView()\nwith open(\"threat-actor-leveraging-attack-patterns-and-malware.json\", \"r\") as fd:\n    stix_graph.add_bundle(fd.read())\nstix_graph.save_graph(\"threat-actor-leveraging-attack-patterns-and-malware.html\", width=\"100%\", height=\"600px\")\n```\n\nPySTIXView can be used also in Jupyter Notebook:\n\n![](https://raw.githubusercontent.com/vincenzocaputo/PySTIXView/main/_media/jupyter_example.png)\n\n## Documentation\n\nDocumentation is available [here](https://pystixview.readthedocs.io/en/latest/)\n\n## Credits\n\n- The resources used for examples and library tests are taken from https://oasis-open.github.io/cti-documentation/stix/examples.html.\n- The images used in the library for the node icons are taken from https://github.com/freetaxii/stix2-graphics\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincenzocaputo%2Fpystixview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvincenzocaputo%2Fpystixview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincenzocaputo%2Fpystixview/lists"}