Skip to main content

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

Project description

GitHub release Python package wakatime GitHub License GitHub last commit (branch) GitHub repo size

PingTool

Small application written in Python, socket-based. to ping annoying colleague's who won't respond.
Made to refresh Python knowledge, and for anyone who has annoying colleague's who won't respond to your messages.

Usage

Program uses basic Python sockets.
Works by sending and receiving specific commands.

All responses and commands are sent following a static format, cmd:arg, for example,Name:Deadly to verify user on connection, command with required argumentExit:? to disconnect, argument is not parsed, but required to fit format.

This also goes for responses, whomst follow the same format.
Sending an end-line is recommended, but not required.
Send data in bytes, encode using UTF-8, soon configurable.

Commandlist

Manual

  • Name (used to confirm name)
  • Fetch (fetch all users)
  • Ping (ping a different user)
  • Exit (disconnect gracefully)

Automatic

  • S-Ping (confirms sent ping)
  • X-Ping (sent to pinged user)

Responses

  • Error (indicates bad request)
  • Connected (indicates successful connection)
  • Bye (indicates successful disconnect)

Function

  1. Connect to the server.
  2. Login to the server using the Name command.
  3. You can now use any command.
  4. Disconnect by using Exit.

Technical Details

Server uses the built-in sockets to create a IPv4 socket, on the TCP protocol.

Libraries

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.1.5.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

PingTool-1.1.5-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for PingTool-1.1.5.tar.gz
Algorithm Hash digest
SHA256 10ecd8874c03182358591ad6a5ba8a1efb42a7c6d91b50d83d0df5e5bd365f24
MD5 8054d2fc8c5a9aba82ba741e23228163
BLAKE2b-256 7ee6e4c4e50735acd1e11eef6c6741162687fdc83a444f53079fbbddf2e2bc48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PingTool-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3ca4b7c09c4dcf58690618d195d86be334bfedad852c5d1c6d8c872610d0fd9f
MD5 be3c82f5a4859e139726502c6a2b1330
BLAKE2b-256 dc9c5372998c274c65db88cc8546c1d9f74afc6bb6f01141639ba9a5fdd62c0b

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