Skip to content

STIXProject/python-stix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-stix

A python library for parsing, manipulating, and generating STIX content. The python-stix library utilizes the STIX v1.0 Draft 2 bindings, is under heavy development and should be considered PRE-ALPHA. There are no tagged releases at this time.

For more information about STIX, see http://stix.mitre.org.

Installation

The python-stix package depends on the lxml XML parsing library, the python-cybox CybOX library, and the python-maec MAEC library.

To build lxml on Ubuntu, you will need the following packages from the Ubuntu package repository:

  • python-dev
  • libxml2-dev
  • libxslt1-dev

Once the dependencies have been built, you can install lxml via pip:

$ pip install lxml

Note, on Windows it is recommended to download a pre-compiled distribution of lxml.

For more information about installing lxml, see http://lxml.de/installation.html

The CybOX and MAEC libraries can be found at their GitHub repositories: CybOX: https://github.com/CybOXProject/python-cybox MAEC: https://github.com/MAECProject/python-maec

To install, download or clone the repositories into their own folders. Once cloned or downloaded, the setuptools script, setup.py can be run to install CybOX and then MAEC, in that order. MAEC depends on CybOX, so CybOX must be installed first. To install, run the following commands from within the project directories:

$ python setup.py install

For more information about CybOX and MAEC, see http://cybox.mitre.org and http://maec.mitre.org

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 21

Languages