A python 3 library which helps in using nmap port scanner. The way this tools works is by defining each nmap command into a python function making it very easy to use sophisticated nmap commands in other python scripts. For example in nmap if you want to scan for common ports you would to something like this

$ nmap nmmapper.com --top-ports 10

But in this python3 script you would do something like this

import nmap3
nmap = nmap3.Nmap()
results = nmap.scan_top_ports("nmmapper.com")
# And you would get your results in json

This python3 library offers advanced in and easy way, and it's still in development. Currently you can

Installing this library is very easy

pip3 install python3-nmap

We plan to add more OSINT capability like running custom scripts