Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A python library to obtain lists of hosts from various systems

Project Description

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 dns plugin

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

Multiple hosts, ranges and plugins can be passed for a single hostlists

$ hostlists dns:www.google.com, poodle[10-20,23].dog.com
pb-in-f99.1e100.net, pb-in-f[103-106].1e100.net, pb-in-f147.1e100.net, poodle[10-20].dog.com, poodle23.dog.com
Release History

Release History

This version
History Node

0.7.94

History Node

0.7.85

History Node

0.7.74

History Node

0.7.73

History Node

0.6.10

History Node

0.6.9

History Node

0.6.8

History Node

0.5.16

History Node

0.5.11

History Node

0.5.10

History Node

0.5.9

History Node

0.5.5

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hostlists-0.7.94.tar.gz (11.2 kB) Copy SHA256 Checksum SHA256 Source Mar 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting