Skip to main content

Library for sending simple text notifications to ntfy.sh and Telegram channels.

Project description

telentfy

Library for sending simple text notifications to ntfy.sh and Telegram channels.

Installation

pip install telentfy==0.0.5

Usage

CLI

# print the currently installed version
telentfy version

# send a ping to all configured channels/topics
telentfy ping

Library

from telentfy import Notifier, TelentfySettings

# load settings from environment (e.g. .env)
settings = TelentfySettings()
# override environment
settings.NTFY_TOPIC = "testing123"
settings.NTFY_URL = "https://ntfy.sh"

notifier = Notifier(settings)

notifier.send_notification("ping")

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

telentfy-0.0.5.tar.gz (75.5 kB view details)

Uploaded Source

Built Distribution

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

telentfy-0.0.5-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file telentfy-0.0.5.tar.gz.

File metadata

  • Download URL: telentfy-0.0.5.tar.gz
  • Upload date:
  • Size: 75.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for telentfy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0c4f6b6190438616c0315de6eff3414d2fb5e63660a789a83b6ecbd9453e6a08
MD5 991e17a11296a6b1beed69d6c614f5e4
BLAKE2b-256 c48403a7d0126c3a79acdb1c3360c6cb21fcfccb657e07d206355eb9fba293b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for telentfy-0.0.5.tar.gz:

Publisher: build-and-publish.yaml on ljbcloud/telentfy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file telentfy-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: telentfy-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for telentfy-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 379ba1c525794794a9a89b3a4884d6021f50657f45506bc0254ea3e6fad16de5
MD5 86d9566d3c5a3f6bff84129a33d5edac
BLAKE2b-256 e68ec6fe568802946287d386d1a955ef439dac9ebb7950a3fd6694dee7459288

See more details on using hashes here.

Provenance

The following attestation bundles were made for telentfy-0.0.5-py3-none-any.whl:

Publisher: build-and-publish.yaml on ljbcloud/telentfy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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