A python library to obtain lists of hosts from various systems
Python module to generate lists of hosts from various sources that is extensible via plugins.
hostlists has 2 components:
- hostlists - This module handles hostlist expansion
- hostlists_plugins - This module contains plugins that allow hostlists to get lists of hosts from various backend systems.
- dnspython (BSD License) This python module is used for the dns plugins to perform host expansion based on dns.
The hostlists module provides a python module to do host expansion within python programs. It also provides a command line utility to allow usage from the command line.
Creating Hostlists backend plugins
Command Line Examples