Skip to main content

A python library to obtain lists of hosts from various systems

Project description

hostlists
=========

.. image:: https://travis-ci.org/yahoo/hostlists.svg?branch=master
:target: https://travis-ci.org/yahoo/hostlists

Python module to generate lists of hosts from various sources that is extensible
via plugins.


Components
----------
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.


Dependencies
------------
* dnspython (BSD License)
This python module is used for the dns plugins to perform host expansion
based on dns.


Usage
-----
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
----------------------------------
TBD


Command Line Examples
---------------------

## Expand a list of hosts from round robin dns using the hosts plugin

.. code-block:: bash
$ hostlists dns:www.google.com
pb-in-f99.1e100.net, pb-in-f[103-106].1e100.net, pb-in-f147.1e100.net

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hostlists-0.7.85.tar.gz (10.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page