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
Metadata
Release files for ph4-monitlib 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ph4_monitlib-0.1.0.tar.gz | 12.8 kB | Details |
Release files / ph4_monitlib-0.1.0.tar.gz
| Download URL | ph4_monitlib-0.1.0.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
654d482fd8ea73e234482d84d9ad1e83ea6b238a8a566354bfe809f1fa5de14d
|
|
BLAKE2b-256 checksum How to use checksums |
b18bd6ee1a7eb15a1d5baa64399b225bc43ad54c0ccc0f072b71bc461db7b8a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|