Giter Site home page Giter Site logo

shivammathur / ippy Goto Github PK

View Code? Open in Web Editor NEW
57.0 5.0 7.0 58 KB

:rocket: Ping IP addresses and domains in parallel to find the accessible and inaccessible ones.

Home Page: https://ippy.readthedocs.io/en/latest/

License: MIT License

Python 87.28% Makefile 12.72%
ip ip-address domain ping parallel ipv4 ipv6 python workers

ippy's Introduction

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.
  • Consider supporting the project using GitHub sponsors.

ippy's People

Contributors

dependabot-preview[bot] avatar shivammathur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ippy's Issues

FlintCI pycodestyle service available

Hi, FlintCI creator here! ๐Ÿ˜ƒ

I'm opening this issue because I saw you activate FlintCI on your repo (and thank you for that!).

Just telling you that you can activate the pycodestyle (PEP8) service right now. See the documentation: https://flintci.io/docs#pycodestyle

You can start using it with this tiny .flintci.yml configuration:

services:
  pycodestyle: true

I'm also working on PyLint. Help would be greatly appreciated here: https://gitlab.com/flintci/flintci/issues/153

Happy coding! ๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.