Skip to main content

A dev tool to enhance productivity

Project description

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!"
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notigram-2.2.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

notigram-2.2.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file notigram-2.2.3.tar.gz.

File metadata

  • Download URL: notigram-2.2.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for notigram-2.2.3.tar.gz
Algorithm Hash digest
SHA256 21dd1e4c2890fa0f8a3eed9745d481300c797b44df640af336c2d01358047b54
MD5 f8a97aafe6b690130f65e7e02615bef3
BLAKE2b-256 13afe59749235e31131f3b5f370f581d0697530ec8ac58f3b9be7efa97a01212

See more details on using hashes here.

File details

Details for the file notigram-2.2.3-py3-none-any.whl.

File metadata

  • Download URL: notigram-2.2.3-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for notigram-2.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ecb6a436e671642c46fba0b6c54d1182f7f2cb03878e94b64c7bd26670180737
MD5 8eea8d06f11a2e618f9857e357b144ee
BLAKE2b-256 3a9334840d647dc8741191415940a12085ff1b350957730bb7da822b0095afb4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page