Use it to manipulate an Nmap's XML output files.
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')
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. :)
Go for it! Send a pull request with tests.