Skip to main content

PyPI version Build Status codecov License Support me on Patreon Support me on Paypal Contact me on Codementor

🚀 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. Refer to Usage to see how to use this.

🎉 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

  • Windows, Linux and macOS 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
ippy_obj = ippy.Ippy()

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

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

# Run IPpy
ippy_obj.run()

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

🚨 Tests

To run the tests, first install tox.

$ pip install tox

then run tox from the project root directory.

$ tox

📜 License

The scripts and documentation in this project are released under the MIT License. This project has multiple dependencies and their licenses can be found in their respective repositories.

👍 Contributions

Contributions are welcome! See Contributor's Guide.

💖 Support this project

  • Please star the project and share it among your developer friends.
  • Consider supporting on Support me on Patreon and Support me on Paypal.

Release files for ippy 0.3.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ippy 0.3.7
File Size Uploaded
ippy-0.3.7.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ippy 0.3.7
File Interpreter ABI Platform
ippy-0.3.7-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 11.6 kB

Release files / ippy-0.3.7.tar.gz

Download URL ippy-0.3.7.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f714278160620f1d0bf493083dc0f2e794df9c68969500fea1a4f792ff29d9a8
BLAKE2b-256 checksum
How to use checksums
e87b967ec47fdef6fe7543466e18b5367f65c71d4577f9d742136e899ef85e10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.6.8

Release files / ippy-0.3.7-py2.py3-none-any.whl

Download URL ippy-0.3.7-py2.py3-none-any.whl
Size 6.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b4f125c7d3ff7de63862eb7c63a6ee5b86fa1decef7d55667594619b890ccd06
BLAKE2b-256 checksum
How to use checksums
9ebc3ed2ee85114785645eb04066ee5991802fce8ef9d7f1c28bb53ffc7215dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.3.7 This release

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.2

1 release file

0.2.3

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page