API ReferenceΒΆ

This section of documentation contains information on all of the classes and functions in the stix2 API, as given by the package’s docstrings.

Note

All the classes and functions detailed in the pages below are importable directly from stix2. See also: How imports work.

Python APIs for STIX 2.

confidence Functions to operate with STIX2 Confidence scales.
core STIX2 Core Objects and Methods.
datastore Python STIX2 DataStore API.
environment Python STIX2 Environment API.
exceptions STIX2 Error Classes.
markings Functions for working with STIX 2 Data Markings.
patterns Classes to aid in working with the STIX 2 patterning language.
properties Classes for representing properties of STIX Objects and Cyber Observables.
utils Utility functions and classes for the STIX2 library.
v20.bundle STIX 2.0 Bundle Representation.
v20.common STIX 2.0 Common Data Types and Properties.
v20.observables STIX 2.0 Cyber Observable Objects.
v20.sdo STIX 2.0 Domain Objects.
v20.sro STIX 2.0 Relationship Objects.
v21.bundle STIX 2.1 Bundle Representation.
v21.common STIX 2.1 Common Data Types and Properties.
v21.observables STIX 2.1 Cyber Observable Objects.
v21.sdo STIX 2.1 Domain Objects.
v21.sro STIX 2.1 Relationship Objects.
workbench Functions and class wrappers for interacting with STIX2 data at a high level.