semvec/pypi-packages huggingface dataset:
ph4-monitlib 0.1.0
UPS Monitoring library
License: MIT

Monitoring library
==================

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``

.. code:: shell

   pip3 install -U pre-commit
   pre-commit install

Auto fix

.. code:: shell

   pre-commit run --all-files

Plugin version update

.. code:: shell

   pre-commit autoupdate