Как сделать сканер порта NMAP в Python

#Here I am Using API

import requests as r

host = input("Enter Your Host IP/Domain")
api = r.get(f"https://api.hackertarget.com/nmap/?q={host}")
out = api.text

print(out)
Wild Wombat