Skip to main content

A simple ping library for Python

Project description

PlatPingLib

A simple Python library to perform ping operations across platforms. PlatPingLib provides an easy-to-use function ping_ip that allows you to check the reachability of a given IP address in your network.

Features

  • Cross-platform support (Windows, Linux, macOS)
  • Simple interface to ping IP addresses
  • Customizable timeouts

Installation

To install PlatPingLib, simply use pip:

pip install PlatPingLib

Usage

Here is a quick example of how to use PlatPingLib:

from PlatPingLib import ping_ip

# Ping an IP address
ip_address = "8.8.8.8"
if ping_ip(ip_address):
    print(f"Successfully pinged {ip_address}")
else:
    print(f"Failed to ping {ip_address}")

Requirements

Python 3.6+

Contributing

Contributions are welcome! Please feel free to submit a pull request. Support

If you have any issues or questions, please open an issue on the GitHub repository.

Caleb Finigan - Initial work - CalebFin

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

platPingLib-0.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

platPingLib-0.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file platPingLib-0.1.tar.gz.

File metadata

  • Download URL: platPingLib-0.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for platPingLib-0.1.tar.gz
Algorithm Hash digest
SHA256 2dcc26d8a5b54c996cd5d05f22a24b4d5af130184cc02819af8cd600bd847a6b
MD5 071b4ed26c033c529bb03e398faf2eba
BLAKE2b-256 d17659c1ff10efde554ea647adb57d66d7dd26d45073d0e897a6962a7d118394

See more details on using hashes here.

File details

Details for the file platPingLib-0.1-py3-none-any.whl.

File metadata

  • Download URL: platPingLib-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for platPingLib-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e6defa10ffcbeee083bcf4a15fb89eb280870a60674ee625de563ae6eebe01f2
MD5 5dcc1aecf431c609a15dfa67e2535c72
BLAKE2b-256 cc2b582fde8708b0922a0654063a1e2d84fbe3ca741330158e964bcc4749cf5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page