Notigram-CLI 🛎
Notigram is a small project, aimed as a productivity-aid tool.
The functionality provided is basically sending notifications from a script or command line, to a Telegram client, so you can be notified about any kind of event through it.
- The tool is composed by 3 parts:
A CLI interface, which can be used from command line, python module, or http request.
A Telegram Bot, which will provide a personal token for the user and will deliver the notifications.
And finally the API, which manages the message requests and the bot.
The API code can be found here on my other repo, in case you want to check out how it works ^^.
The Telegram bot can be found as @notigram_apibot or at https://t.me/notigram_apibot.
Installing 👨💻
pip install notigram
Usage 👓
>>> from notigram import ping
>>> ping('<TOKEN>',"You've got a message from python!")
{'response':'result'}
or 🤷♂️
[user@linux ~]$ python -m notigram <TOKEN> Hello from command line! :D
{'response':'result'}
If you aren’t using a python program or a command line, you can always send an http post request to the server (https://notigram.blahaj-bay.gay/sendMessage) as well with the following format:
{
"token": "TOKEN",
"message": "The Postman says Hello!"
}
Metadata
Release files for notigram 2.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| notigram-2.2.3.tar.gz | 3.3 kB | Without provenance | Details for notigram-2.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| notigram-2.2.3-py3-none-any.whl | Python 3 | none | any | Details for notigram-2.2.3-py3-none-any.whl |
Total release size: 7.5 kB
Release files / notigram-2.2.3.tar.gz
| Download URL | notigram-2.2.3.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21dd1e4c2890fa0f8a3eed9745d481300c797b44df640af336c2d01358047b54
|
|
BLAKE2b-256 checksum How to use checksums |
13afe59749235e31131f3b5f370f581d0697530ec8ac58f3b9be7efa97a01212
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / notigram-2.2.3-py3-none-any.whl
| Download URL | notigram-2.2.3-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecb6a436e671642c46fba0b6c54d1182f7f2cb03878e94b64c7bd26670180737
|
|
BLAKE2b-256 checksum How to use checksums |
3a9334840d647dc8741191415940a12085ff1b350957730bb7da822b0095afb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for notigram 2.2.3
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.