Skip to main content

An API for parsing and generating STIX content.

Project description

A python library for parsing, manipulating, and generating STIX v1.1.1 content.

Source:

https://github.com/STIXProject/python-stix

Documentation:

http://stix.readthedocs.org

Information:

http://stix.mitre.org

Build Status Code Health version badge downloads badge

Installation

The python-stix library can be installed via the distutils setup.py script included at the root directory:

$ python setup.py install

The python-stix library is also hosted on PyPI and can be installed with pip:

$ pip install stix

Dependencies

The python-stix library depends on the presence of certain packages/libraries to function. Please refer to their installation documentation for installation instructions.

Installation on Ubuntu 14.04 (and older)

$ sudo apt-get install python-dev python-pip libxml2-dev libxslt-dev zlib1g-dev
$ sudo pip install stix

Versioning

Releases of the python-stix library will be given version numbers of the form major.minor.update.revision, where major, minor, and update correspond to the STIX version being supported. The revision number is used to indicate new versions of the python-stix library itself.

Layout

The python-stix package layout is as follows:

  • stix/ : root level package

  • examples/ : example python scripts that leverage the python-stix library

  • stix/utils/ : utility classes and modules used internally by the python-stix library

  • stix/bindings/ : generateDS generated xml-to-python bindings (leveraged for parsing and output of STIX XML content)

  • stix/campaign/ : APIs for STIX Campaign constructs

  • stix/coa/ : APIs for STIX Course Of Action constructs

  • stix/core/ : APIs for core STIX constructs (e.g., STIX Header, STIX Package)

  • stix/common/ : APIs for common STIX constructs (e.g., Structured Text, Information Source)

  • stix/exploit_target/ : APIs for STIX Exploit Target constructs

  • stix/incident/ : APIs for common Incident constructs

  • stix/indicator/ : APIs for STIX Indicator constructs

  • stix/extensions/ : APIs for STIX extensions (e.g., CIQ Identity)

  • stix/threat_actor/ : APIs for STIX Threat Actor constructs

  • stix/ttp/ : APIs for STIX TTP constructs

Please refer to examples for concrete examples of how to interact with the python-stix library

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

stix-1.1.1.6.dev2.zip (346.9 kB view details)

Uploaded Source

stix-1.1.1.6.dev2.tar.gz (215.0 kB view details)

Uploaded Source

Built Distribution

stix-1.1.1.6.dev2-py2-none-any.whl (289.3 kB view details)

Uploaded Python 2

File details

Details for the file stix-1.1.1.6.dev2.zip.

File metadata

  • Download URL: stix-1.1.1.6.dev2.zip
  • Upload date:
  • Size: 346.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stix-1.1.1.6.dev2.zip
Algorithm Hash digest
SHA256 87a4a3858d393c57a460c13dba9b72dd2466dd47f61691d36722b5c64f6ba8b6
MD5 9c09c49e517d4c9730cc3aed57df297b
BLAKE2b-256 861dbdeac48e2812b4394be4ed0f798f398436619d0c0b886da0d4291ba80030

See more details on using hashes here.

File details

Details for the file stix-1.1.1.6.dev2.tar.gz.

File metadata

  • Download URL: stix-1.1.1.6.dev2.tar.gz
  • Upload date:
  • Size: 215.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stix-1.1.1.6.dev2.tar.gz
Algorithm Hash digest
SHA256 ebdca192034e37db210aa214eadf0c9bf11e3a92e2d8627d5f22864cf607bdae
MD5 d3b3547c665213222f64bf4105d3d8b4
BLAKE2b-256 517c40526a05d990ef02cb421dfc3bc314387c4805f2cf51ce8b391b266088a3

See more details on using hashes here.

File details

Details for the file stix-1.1.1.6.dev2-py2-none-any.whl.

File metadata

File hashes

Hashes for stix-1.1.1.6.dev2-py2-none-any.whl
Algorithm Hash digest
SHA256 ffeb6c4d5cc22358bc928c7a71c8fc582550fb7ba90d05b96a1a127efce5d6a2
MD5 7cbf096f2a8800adfe998ebadfa2408a
BLAKE2b-256 1bb5a516d5d1b57edc478370a80abf19cfca784925e57a2bccbc2b0b95427e82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page