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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c4f6b6190438616c0315de6eff3414d2fb5e63660a789a83b6ecbd9453e6a08
|
|
| MD5 |
991e17a11296a6b1beed69d6c614f5e4
|
|
| BLAKE2b-256 |
c48403a7d0126c3a79acdb1c3360c6cb21fcfccb657e07d206355eb9fba293b0
|
Provenance
The following attestation bundles were made for telentfy-0.0.5.tar.gz:
Publisher:
build-and-publish.yaml on ljbcloud/telentfy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
telentfy-0.0.5.tar.gz -
Subject digest:
0c4f6b6190438616c0315de6eff3414d2fb5e63660a789a83b6ecbd9453e6a08 - Sigstore transparency entry: 294354927
- Sigstore integration time:
-
Permalink:
ljbcloud/telentfy@2f40828c82af577dba1374d84fdd5c4f7076db0e -
Branch / Tag:
refs/tags/0.0.5 - Owner: https://github.com/ljbcloud
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-and-publish.yaml@2f40828c82af577dba1374d84fdd5c4f7076db0e -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
379ba1c525794794a9a89b3a4884d6021f50657f45506bc0254ea3e6fad16de5
|
|
| MD5 |
86d9566d3c5a3f6bff84129a33d5edac
|
|
| BLAKE2b-256 |
e68ec6fe568802946287d386d1a955ef439dac9ebb7950a3fd6694dee7459288
|
Provenance
The following attestation bundles were made for telentfy-0.0.5-py3-none-any.whl:
Publisher:
build-and-publish.yaml on ljbcloud/telentfy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
telentfy-0.0.5-py3-none-any.whl -
Subject digest:
379ba1c525794794a9a89b3a4884d6021f50657f45506bc0254ea3e6fad16de5 - Sigstore transparency entry: 294354952
- Sigstore integration time:
-
Permalink:
ljbcloud/telentfy@2f40828c82af577dba1374d84fdd5c4f7076db0e -
Branch / Tag:
refs/tags/0.0.5 - Owner: https://github.com/ljbcloud
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-and-publish.yaml@2f40828c82af577dba1374d84fdd5c4f7076db0e -
Trigger Event:
push
-
Statement type: