python-stix 220.127.116.11 Documentation¶
The python-stix library provides an API for developing and consuming Structured Threat Information eXpression (STIX) content. Developers can leverage the API to develop applications that create, consume, translate, or otherwise process STIX content. This page should help new developers get started with using this library. For more information about STIX, please refer to the STIX website.
These docs provide standard reference for this Python library. For documentation on idiomatic usage and common patterns, as well as various STIX-related information and utilities, please visit the STIXProject at GitHub.
Each version of python-stix is designed to work with a single version of the STIX Language. The table below shows the latest version the library for each version of STIX.
|STIX Version||python-stix Version|
|1.2||18.104.22.168 (PyPI) (GitHub)|
|1.1.1||22.214.171.124 (PyPI) (GitHub)|
|1.1.0||126.96.36.199 (PyPI) (GitHub)|
|1.0.1||188.8.131.52 (PyPI) (GitHub)|
|1.0||1.0.0a7 (PyPI) (GitHub)|
Users and developers working with multiple versions of STIX content may want to take a look at stix-ramrod, which is a library designed to update STIX and CybOX content.
Check out the Working with python-stix section for examples on how to integrate stix-ramrod and python-stix.
- Getting Started
- APIs or bindings?
- API Reference
- API Coverage
- My RAM consumption rises when processing a large amount of files.
- This problem is caused by a python-cybox caching mechanism that is enabled
by default. To prevent this issue from happening use the
cybox.utils.caches.cache_clear()method in your code/script to release the cached resources as appropriate. Refer to the
cyboxdocumentation for more details.
If a bug is found, a feature is missing, or something just isn’t behaving the way you’d expect it to, please submit an issue to our tracker. If you’d like to contribute code to our repository, you can do so by issuing a pull request and we will work with you to try and integrate that code into our repository.