Nmap Parser
Use it to manipulate an Nmap's XML output files.
Usage
Create a parser, feed it your Nmap XML, and start querying:
from nmap_parser import parser
nmap = parser.Parser('myscan.xml')
live_hosts = nmap.hosts(state='up')
Installation
pip install nmap_parser
I want to refer you to the docs for more info, but they aren't done yet. Working on that now. :)
Contributing
Go for it! Send a pull request with tests.