python-nmap is a Python library which helps in using the nmap port scanner. It allows users to easily manipulate nmap scan results and automate scanning tasks and reports. It supports nmap script outputs.
| Tags | nmap portscan Network Audit |
|---|---|
| Licenses | GPLv3 |
| Operating Systems | Linux FreeBSD NetBSD OpenBSD Windows Mac OS X |
| Implementation | Python |
| Translations | English |
Recent releases


Release Notes: This release implements a request for parsing OS scanning output. It fixes an error with multiple host specifications. It corrects a bug in example.py that occurred if no TCP port was open between 22-443.


Release Notes: A bug correction in handling nmap_error output (the returned value was bin, but string was expected).


Release Notes: A scope problem in __init__.py was fixed. The nmap executable is now searched for in known directories. AssertionError is now raised when trying to call command_line, scaninfo, scanstats, or has_host before scanning.


Release Notes: This version works with Python 3.x. The API was not changed.


Release Notes: Warnings on stderr from nmap do not raise an error anymore but just write the warning on sdterr.