A Python library for parsing and generating CybOX content.
A Python library for parsing, manipulating, and generating CybOX content.
A primary goal of the python-cybox library is to remain faithful to both the CybOX standard and to customary Python practices. There are places where these will conflict, and the goal is to make the library intuitive both to those familiar with the XML schemas (but less familiar with Python) and also to experienced Python developers who want to add CybOX support to their programs.
There are currently two levels of APIs for dealing with CybOX content:
Releases of the python-cybox library will be given version numbers of the form major.minor.update.revision, where major, minor, and update correspond to the CybOX version being supported. The revision number is used to indicate new versions of the python-cybox library itself.
The cybox package depends on the following Python libraries:
For Windows installers of the above libraries, we recommend looking here: http://www.lfd.uci.edu/~gohlke/pythonlibs/.
To build lxml on Ubuntu, you will need the following packages from the Ubuntu package repository:
For more information about installing lxml, see http://lxml.de/installation.html.
The structure of the python-cybox repository is as follows:
Please refer to the example scripts for examples of how to use the python-cybox library.
Bug reports and feature requests are welcome and encouraged. Pull requests are especially appreciated. Feel free to use the issue tracker on GitHub or send an email directly to firstname.lastname@example.org.