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!

Parallel testing of IP addresses and domains in python.

Project Description

Parallel testing of IP addresses and domains in python. Reads IP addresses and domains from a CSV file and gives two lists of accessible and inaccessible ones.

About

  • Compatible with both Python 2 and 3.
  • Testing of IPs and domains is done in parallel.
  • By default there are 4 Workers.
  • All Workers work on an input Queue and a output Queue.

Modes

  • verbose - if true, ping output will be displayed.
  • output - json or csv

Support

  • Currently Windows and Linux are supported.

  • Supports both IPv4 and IPv6 IPs, and domain names.

    # Examples
    127.0.0.1
    ::1
    localhost
    

Install

$ pip install ippy

Usage

# Create IPpy instance
ippt = ippy.Ippy()

# Set config - verbose, output, num_workers
# verbose - True or False
# output - csv or json
ippt.set_config(True, 'csv', 4)

# Set Input File
ippt.set_file(file='ip_list.csv')

# Run IPpy
ippt.run()

# Get Results
output = ippt.result()
print(output)

Tests

To run the tests, first install tox

$ pip install tox

then run tox from the project root directory.

$ tox
Release History

Release History

This version
History Node

0.3.2

History Node

0.2.3

History Node

0.1.1

History Node

0.1.0

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
ippy-0.3.2.tar.gz (14.0 kB) Copy SHA256 Checksum SHA256 Source May 19, 2017

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