Skip to main content

minimalistic python API for sending ntfy notifications

Project description

unit tests mypy

NTFY LITE

ntfy_lite is a minimalistic python API for sending ntfy notifications.

It comes with a Handler for the logging package.

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/87eab776278686e5f58857c8caa76ac1d66813c9/demos/ntfy_push.py#L1-L71

logging handler

https://github.com/MPI-IS/ntfy_lite/blob/87eab776278686e5f58857c8caa76ac1d66813c9/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.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

ntfy_lite-1.0.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ntfy_lite-1.0.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.15.0-48-generic

File hashes

Hashes for ntfy_lite-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7469d18f235dacd6fa7a9ce2e6b0de75c90b7822cdd10b030e430f19f83c17c3
MD5 6e70d4ac3d07810bc1b97db34ca4fcaa
BLAKE2b-256 573ee0fda36f0cdb09c019ba35acdb39133e4bf9b238b32bc6bb95ee44a1c4e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ntfy_lite-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.15.0-48-generic

File hashes

Hashes for ntfy_lite-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10a7c2dd7491299f4bfbe89e15a1d2d4c1b5ff4455af082ce0992c3364407c60
MD5 13a6c0d84977973299df968b1819b327
BLAKE2b-256 43a4bbb46ad50f3c6bce77d3517a49166546354800e30ec91e0457d8d55827ac

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