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.
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
- Run the
client
by runningpython client.py
- The
server
is executable viapython server.py
- 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
Built Distribution
File details
Details for the file PingTool-1.2.2.tar.gz
.
File metadata
- Download URL: PingTool-1.2.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 853d9113aa8d814f3193c74e7b82cfd201dcd396f66f3e44aa6e6ddc70bab27e |
|
MD5 | adee259e439b56d758e28b55e34a287b |
|
BLAKE2b-256 | 6db07c57b3ba3ce8f6121119f0e4b70182bb3785597a6369ea2fec09ee8b58c6 |
File details
Details for the file PingTool-1.2.2-py3-none-any.whl
.
File metadata
- Download URL: PingTool-1.2.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73311e4a789634a51de9cefb472ced769c2c952f98544d27f4c9eefd1b6e43af |
|
MD5 | 22b7c4a74782e82f1de2effb4a377d0f |
|
BLAKE2b-256 | ce36794c6c5bc60e7d936df239597bb2a0280aa438037baa046bde61b042a42b |