Warning

This documentation is still a work in progress. If you have any issues or questions, please ask on the maec-discussion mailing list or file a bug in our issue tracker.

maec.utils.parser Module

Classes

class maec.utils.parser.EntityParser

Bases: object

parse_xml(xml_file, check_version=True)

Creates a python-maec Bundle or Package object from the supplied xml_file.

Arguments: xml_file – A filename/path or a file-like object reprenting a MAEC instance (i.e. Package or Bundle) document check_version – Inspect the version before parsing.

parse_xml_to_obj(xml_file, check_version=True)

Creates a MAEC binding object from the supplied xml file.

Arguments: xml_file – A filename/path or a file-like object reprenting a MAEC instance document check_version – Inspect the version before parsing.

Table Of Contents

Previous topic

maec.utils.nsparser Module

Next topic

maec.analytics.distance Module

This Page

Related Documentation