Skip to main content

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)

Source distribution for notigram 2.2.3
File Size Uploaded
notigram-2.2.3.tar.gz 3.3 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

2.2.3 This release

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

1 release file

2.0.0

1 release file

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