python-nmap is a python library which helps in using nmap port scanner. It allows to easilly manipulate nmap scan results and will be a perfect tool for systems administrators who want to automatize scanning task and reports. It also supports nmap script outputs.

It can even be used asynchronously. Results are returned one host at a time to a callback function defined by the user.

python-nmap-0.6.1.tar.gz - 2016-07-30

md5sum : 2795bfcbc05cbbbccfcf4df59facaab1

Get source from the code repository.

Bug report : http://bitbucket.org/xael/python-nmap/issues

Installing python-nmap is just as simple as :

From the shell, uncompress python-nmap-0.4.0.tar.gz and then run make:

Now you may invoke nmap from python:

From python :