Skip to main content

An API for parsing and generating STIX content.

Project description

python-stix
===========

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

The ``python-stix`` library utilizes the STIX v1.1 bindings, is under heavy
development. For more information about STIX, see http://stix.mitre.org.

.. image:: https://travis-ci.org/STIXProject/python-stix.png?branch=master
:target: https://travis-ci.org/STIXProject/python-stix
:alt: Build Status


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
<https://pypi.python.org/pypi/stix/>`_ and can be installed with `pip
<https://pypi.python.org/pypi/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.

- `python-cybox <https://github.com/CybOXProject/python-cybox>`_
- `lxml <http://lxml.de/>`_


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/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/coa/`` : 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)

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.0.4.zip (298.3 kB view details)

Uploaded Source

stix-1.1.0.4.tar.gz (169.1 kB view details)

Uploaded Source

File details

Details for the file stix-1.1.0.4.zip.

File metadata

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

File hashes

Hashes for stix-1.1.0.4.zip
Algorithm Hash digest
SHA256 f6976f37aa7e95b4c88c4eea389dac7b45e71734278439b81560070be368aded
MD5 ac028f463d75b7b4bb94ccd0d63f54be
BLAKE2b-256 2c216d13a0336700a91c9410fe0135af5eb43bd7522f896d9264911580aa7b92

See more details on using hashes here.

File details

Details for the file stix-1.1.0.4.tar.gz.

File metadata

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

File hashes

Hashes for stix-1.1.0.4.tar.gz
Algorithm Hash digest
SHA256 40cb1551a07bd963dcc69852fb680051c328cf3e4b4a1cb1de814a141d16bac5
MD5 7d0e07bbb607692206b1e62d5bb0867c
BLAKE2b-256 7de0bb70d3c77c1b0b13e3eff5dda1b022ddc585bcb71759c07428a5096e6de0

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