Parallel testing of IP addresses and domains in python.
Project description
<img src="https://shivammathur.com/IPpy.png" align="right" width="250">
# 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
- Written in Python 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)
```
=======
History
=======
0.1.0 (2017-05-14)
------------------
* First release on PyPI.
# 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
- Written in Python 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)
```
=======
History
=======
0.1.0 (2017-05-14)
------------------
* First release on PyPI.
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
ippy-0.1.0.zip
(17.1 kB
view hashes)