Skip to main content

UPS Monitoring library

Project description

Library contains several utility classes that help with building monitoring scripts.

  • Worker, synchronous, thread-backed worker processing tasks (lambdas) inserted to the queue

  • AsyncWorker, asynchronous worker processing coroutines enqueued to the task queue

  • FiFoComm, for client-server communication via named pipes (daemon vs notifier comm), use JWT protection (not included)

  • TcpComm, for client-server communication via TCP, use JWT protection (not included)

  • NotifyEmail, helper for sending notification emails via SMTP server (gmail tested)

  • TelegramBot, helper for sending notifications via Telegram, receive messages, send messages

Development

Install pre-commit hooks defined by .pre-commit-config.yaml

pip3 install -U pre-commit
pre-commit install

Auto fix

pre-commit run --all-files

Plugin version update

pre-commit autoupdate

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

ph4_monitlib-0.1.0.tar.gz (12.8 kB view details)

Uploaded Source

File details

Details for the file ph4_monitlib-0.1.0.tar.gz.

File metadata

  • Download URL: ph4_monitlib-0.1.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for ph4_monitlib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 654d482fd8ea73e234482d84d9ad1e83ea6b238a8a566354bfe809f1fa5de14d
MD5 1ca787f40cd92af665ac2bb839b63bdd
BLAKE2b-256 b18bd6ee1a7eb15a1d5baa64399b225bc43ad54c0ccc0f072b71bc461db7b8a9

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