Skip to main content

minimalistic python API for sending ntfy notifications

Project description

unit tests documentation

NTFY LITE

ntfy_lite is a minimalistic python API for sending ntfy notifications.

It comes with a Handler for the logging package.

See the full documentation here.

See the source here.

Installation

from source:

git clone https://github.com/MPI-IS/ntfy_lite.git
cd ntfy_lite
pip install .

from pypi:

pip install ntfy_lite

Usage

The two following examples cover the full API. You may also find the code in the demos folder of the sources.

pushing notifications

https://github.com/MPI-IS/ntfy_lite/blob/da5750eed1ed58eacf4ff1bb1498586b41242f70/demos/ntfy_push.py#L1-L73

logging handler

https://github.com/MPI-IS/ntfy_lite/blob/52fc7f008fdac3f735d39dd01064a0aa5b751e00/demos/ntfy_logging.py#L1-L146

Limitation

No check regarding ntfy limitations is performed before notifications are sent.

Copyright

© 2020, Max Planck Society - Max Planck Institute for Intelligent Systems

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

ntfy_lite-1.0.2.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

ntfy_lite-1.0.2-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file ntfy_lite-1.0.2.tar.gz.

File metadata

  • Download URL: ntfy_lite-1.0.2.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.19.0-38-generic

File hashes

Hashes for ntfy_lite-1.0.2.tar.gz
Algorithm Hash digest
SHA256 26c5e7b317a73a12dec6cfde51ba4983b69bb98bf22738a39443fcacf6c4edaf
MD5 5271a3c7a6f2fe7c19e2a3d42a1621e3
BLAKE2b-256 f086e08d435fa2fc1bc4529fe7fb3e26409c9dc4a9d3dc2f1af9290eab6f03d9

See more details on using hashes here.

File details

Details for the file ntfy_lite-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: ntfy_lite-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.19.0-38-generic

File hashes

Hashes for ntfy_lite-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5ddbad1dbdb8c8e35a450be9d1862ba19f36eacab44944ea0f085fb376ce9ec1
MD5 ac660f1af167086aad12bd729941810a
BLAKE2b-256 93d104cb937357254ea1e504ad3b4ac0a7acbfa860e15cb10e8d5320910640f6

See more details on using hashes here.

Supported by

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