Skip to main content

alerk

alerk, if alert, reports on events.

[!WARNING] This project has not been audited for security.

Info

READ THIS SECTION FIRST

There are two entities:

  • alerk: This is the server to which the smalks broadcast.

  • smalk: This is clients/notifiers, which trigger to some event and send it to alerk.

Known smalks:

You can try to play with crypto module with using GUI: krypto_gui_smalk.

Current way to notify

  • Telegram.

Perhaps there will be other ways in the future.

Why alerk/smalk

  • Easy set up.

  • Cryptography (RSA4096) is in the box. Messages are transmitted through a secure tunnel.

  • There is a verification of the sender (signature). That is, only your smalk will be able to report events to your alerk.

  • No need ssl.

  • You can easily write your own smalk.

Installing

pip3 install alerk

Setting up

Create yaml setting file

Clone it from settings_template.yaml.

Set up telegram bot

You can get token from @BotFather (it is telegram bot). Input this token to yaml setting file. Run script from extra/warm_up_telebot.py. Do /start from needed telegram users and remember their telegram id. Input this telegram id to yaml setting file. Kill python instance of extra/warm_up_telebot.py.

Set up keys

Generate keys of alerk:

alerk gen_keys

Put this keys to yaml setting file.

Do it for each smalk. Put their keys in their configuration files, as well as only their public keys in yaml setting file of alerk.

Set up other settings

Read all yaml setting file and change needed fields.

Run

alerk start /path/to/your/yaml/setting/file

Writing your own smalk

Examine the files: extra/smalk_base.py and extra/smalk_base_kommunicator.py.

Metadata

Release files for alerk 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alerk 0.1.2
File Size Uploaded Provenance Actions
alerk-0.1.2.tar.gz 8.6 kB Without provenance Details for alerk-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alerk 0.1.2
File Interpreter ABI Platform Actions
alerk-0.1.2-py3-none-any.whl Python 3 none any Details for alerk-0.1.2-py3-none-any.whl

Total release size: 18.2 kB

Release files / alerk-0.1.2.tar.gz

Download URL alerk-0.1.2.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fca6514309d92a520f9ba7bb56bc5033fc96273a0a43a810f6d6799a1120e1a8
BLAKE2b-256 checksum
How to use checksums
3a8eaa5d65a4e88575a360b8f9ddbf2202db35c77979944595ea7ac30189426e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / alerk-0.1.2-py3-none-any.whl

Download URL alerk-0.1.2-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b56625ea0f02c7ea3c062381b09890b84d2708dd9628be7449946a7be33e3d6
BLAKE2b-256 checksum
How to use checksums
e886f89d0d8335fc792205d3dbcf33177605b1e500be75b4047c8540bc4668af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for alerk 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page