You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shivam Mathur edited this page May 30, 2017
·
2 revisions
IPpy
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 instanceippt=ippy.Ippy()
# Set config - verbose, output, num_workers# verbose - True or False# output - csv or jsonippt.set_config(True, 'csv', 4)
# Set Input Fileippt.set_file(file='ip_list.csv')
# Run IPpyippt.run()
# Get Resultsoutput=ippt.result()
print(output)