Skip to main content

Small application written in Python, socket-based. to ping annoying colleague's who won't respond.

Project description

PingTool

Lightweight socket application, built to ping annoying colleagues who won't respond.

GitHub release Python package wakatime GitHub License GitHub last commit (branch) GitHub repo size PyPI - License PyPI - Format PyPI - Implementation PyPI - Version PyPI - Python Version

PingTool is an application with a client / server implementation that allows you to ping other users.
This project aims to demonstrate modern socket and threading capabilities in a Python format.

Features

  • Lightweight client / server implementation.
  • Simple command system.
  • Argument parsing.
  • Logging system.
  • Configurable settings.
  • Multithreading server for multiple connections.
  • Threaded client for sending and receiving data.
  • Easy to use command system.

Installation

You can install and update the project through PyPi;

$ pip install PingTool

Optionally, you can install and run manually by pulling from the latest release

  1. Run the client by running python client.py
  2. The server is executable via python server.py
  3. Configuration is done via config.json and arguments.

Description

Program makes use of built-in the Python sockets library.
Server accepts commands, by sending and receiving specific commands.

All responses and commands are sent following a static format, cmd:arg.
This also goes for responses, which follow the same format.

Sending an end-line is recommended, but not required.
Data is sent in utf-8 encoded bytes.

Configuration

The server makes use of config.json for configuration.
Furthermore, both client and server make use arguments for runtime configuration.

Make use of --help or -h to see all available arguments.

Details

For more information, see the wiki

Dependencies

Credits go to these awesome projects for making this possible!

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

PingTool-1.2.5.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

PingTool-1.2.5-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file PingTool-1.2.5.tar.gz.

File metadata

  • Download URL: PingTool-1.2.5.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for PingTool-1.2.5.tar.gz
Algorithm Hash digest
SHA256 a5f26888c9be2df6926afbef009ec462712838dcb5c66914a1b1d11b4d7babe2
MD5 bb4273b1f89eb557269585c30e6050df
BLAKE2b-256 d8b1a89a8c737092137476fba2f9dafa39af8ebba258e87cd3270e2d69647c70

See more details on using hashes here.

File details

Details for the file PingTool-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: PingTool-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for PingTool-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c59b5105e911fbbc4c5a139c418f563b01c3f358797f01ef789fff9aa29f2f10
MD5 3187c34750f26a2cc92dbec7f3ce7bc6
BLAKE2b-256 2d0ff7f85adf9adef1a2e9617cc32ceb0279cb50e3c39d51beebda394627e1ee

See more details on using hashes here.

Supported by

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