Welcome to Nmap Parser's documentation!

This site covers Nmap Parser's usage and API documentation.


Nmap Parser allows you to easily query your Nmap XML output files. For example, typing the code below would allow you to determine which hosts were responsive during your scan:

from nmap_parser import parser

nmap = parser.Parser('myscan.xml')
live_hosts = nmap.hosts(state='up')


Install Nmap Parser using pip:

pip install nmap_parser

Or by cloning the project's repository:

mkdir my_project
cd my_project
git clone https://github.com/chirinosky/nmap_parser.git


Something not working? You can open and browse issues on GitHub.


You can contribute by sending a pull request via GitHub.