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.