An API for parsing and generating Structured Threat Information Expression (STIX) content. Current version 1.2.0.11 is legacy, based on the older STIX 1.x standard; development has been superseded by stix2 for STIX 2.x. Low release cadence.
pip install stixVerified import paths — ran on the pinned version, not inferred.
Parse a STIX 1.x XML document and access the package title.
Install stix2 (`pip install stix2`) and import from stix2.
Migrate to the stix2 library for STIX 2.x compatibility.
with open('file.xml', 'r') as f: package = parse_xml(f.read())