A python library for parsing, manipulating, and generating Structured Threat Information eXpression (STIX™) <https://stixproject.github.io/>
_ v1.2.0 content.
:Source: https://github.com/STIXProject/python-stix :Documentation: https://stix.readthedocs.io/ :Information: https://stixproject.github.io/ :Download: https://pypi.python.org/pypi/stix/
|travis_badge| |landscape_io_badge| |version_badge|
.. |travis_badge| image:: https://api.travis-ci.org/STIXProject/python-stix.svg?branch=master :target: https://travis-ci.org/STIXProject/python-stix :alt: Build Status .. |landscape_io_badge| image:: https://landscape.io/github/STIXProject/python-stix/master/landscape.svg :target: https://landscape.io/github/STIXProject/python-stix/master :alt: Code Health .. |version_badge| image:: https://img.shields.io/pypi/v/stix.svg?maxAge=3600 :target: https://pypi.python.org/pypi/stix/ :alt: Version
The python-stix library is hosted on PyPI <https://pypi.python.org/pypi/stix/>
and the most recent stable version can be
installed with pip <https://pypi.python.org/pypi/pip>
:
::
$ pip install stix
The python-stix library can also be installed via the distutils setup.py script included at the root directory:
::
$ python setup.py install
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/>
_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
Installation on Windows
Download the Lxml wheel for your version of Python from http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml, then install it via "pip install