{"id":27441,"library":"teamhack-nmap","title":"TeamHack Nmap","description":"A Python library for Hack the Box team support services. Version 0.0.4329 is active. Release cadence is unknown.","status":"active","version":"0.0.4329","language":"python","source_language":"en","source_url":"https://github.com/teamhack/teamhack-nmap","tags":["hackthebox","nmap","scanning"],"install":[{"cmd":"pip install teamhack-nmap","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Use underscores in module name.","symbol":"TeamHackNmap","correct":"from teamhack_nmap import TeamHackNmap"}],"quickstart":{"code":"from teamhack_nmap import TeamHackNmap\n\nhtb = TeamHackNmap()\nresult = htb.scan('localhost')\nprint(result)","lang":"python","description":"Initialize the client and perform a scan."},"warnings":[{"fix":"Pin to a specific version in requirements.","message":"The library version is very early (0.0.x) and may have breaking changes frequently.","severity":"gotcha","affected_versions":"all"},{"fix":"Use from teamhack_nmap import TeamHackNmap.","message":"Import uses underscores, not hyphens: from teamhack_nmap not from teamhack-nmap.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use 'teamhack_nmap' in import statement.","cause":"Trying to import with hyphens instead of underscores.","error":"ModuleNotFoundError: No module named 'teamhack-nmap'"},{"fix":"Check installed files with pip show teamhack-nmap and verify the correct symbol.","cause":"The library may have a different class name or the module is not installed correctly.","error":"ImportError: cannot import name 'TeamHackNmap' from 'teamhack_nmap'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}