# 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`
```shell
pip3 install -U pre-commit
pre-commit install
```
Auto fix
```shell
pre-commit run --all-files
```
Plugin version update
```shell
pre-commit autoupdate
```
Raw data
{
"_id": null,
"home_page": "https://github.com/ph4r05/ph4-monitlib",
"name": "ph4-monitlib",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Dusan Klinec",
"author_email": "dusan.klinec@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d5/2c/6664e5b969d2f0eb30088457c7e87b4aabae611c03dd8e4b34d3e0399269/ph4-monitlib-0.0.6.tar.gz",
"platform": null,
"description": "# Monitoring library\n\nLibrary contains several utility classes that help with building monitoring scripts.\n\n- *Worker*, synchronous, thread-backed worker processing tasks (lambdas) inserted to the queue\n- *AsyncWorker*, asynchronous worker processing coroutines enqueued to the task queue\n- *FiFoComm*, for client-server communication via named pipes (daemon vs notifier comm), use JWT protection (not included)\n- *TcpComm*, for client-server communication via TCP, use JWT protection (not included)\n- *NotifyEmail*, helper for sending notification emails via SMTP server (gmail tested)\n- *TelegramBot*, helper for sending notifications via Telegram, receive messages, send messages\n\n\n## Development\n\nInstall pre-commit hooks defined by `.pre-commit-config.yaml`\n\n```shell\npip3 install -U pre-commit\npre-commit install\n```\n\nAuto fix\n```shell\npre-commit run --all-files\n```\n\nPlugin version update\n```shell\npre-commit autoupdate\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "UPS Monitoring library",
"version": "0.0.6",
"project_urls": {
"Homepage": "https://github.com/ph4r05/ph4-monitlib"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d52c6664e5b969d2f0eb30088457c7e87b4aabae611c03dd8e4b34d3e0399269",
"md5": "8e281c876afa9fcb2491b6799f3fec01",
"sha256": "fec6f7d898309bd309160d3c79a9d1db9d8756e5e4679198753144d5f4756a8e"
},
"downloads": -1,
"filename": "ph4-monitlib-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "8e281c876afa9fcb2491b6799f3fec01",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9492,
"upload_time": "2023-09-24T07:37:47",
"upload_time_iso_8601": "2023-09-24T07:37:47.398566Z",
"url": "https://files.pythonhosted.org/packages/d5/2c/6664e5b969d2f0eb30088457c7e87b4aabae611c03dd8e4b34d3e0399269/ph4-monitlib-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-24 07:37:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ph4r05",
"github_project": "ph4-monitlib",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ph4-monitlib"
}