dmarc-aggregate-parser (dmarcap)
dmarcap provides a simple python parser for DMARC aggregate reports as defined in https://tools.ietf.org/html/rfc7489
Installation
dmarcap is shipped as a distutils package. To install, clone the repository and run:
$ python setup.py install
Usage
To parse an aggregate report:
>>> import dmarcap
>>> aggregate_report = dmarcap.Parser("/path/to/report.xml").parse_report()
Documentation
Further documentation can be found at http://dmarc-aggregate-parser.readthedocs.io/en/latest/