pynotify
pynotify-annek is a Textual terminal UI for sending
an Adaptive Card message to one or more Microsoft Teams channels.
Full documentation: https://mmackenna.github.io/pynotify-annek/
Installation
pynotify-annek is published on PyPI: https://pypi.org/project/pynotify-annek/
Install the project, then create a user-level channel list:
pip install pynotify-annek
mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/pynotify"
cp src_script_example/teams_channels.csv.example \
"${XDG_CONFIG_HOME:-$HOME/.config}/pynotify/channels.csv"
The CSV contains only display names and environment-variable names:
channel_name,webhook_env_var
PreProd Status,PYNOTIFY_PREPROD_WEBHOOK_URL
QA Status,PYNOTIFY_QA_WEBHOOK_URL
Set each webhook outside the repository, ideally through the operating system's secret manager or the shell environment:
export PYNOTIFY_PREPROD_WEBHOOK_URL='https://…'
export PYNOTIFY_QA_WEBHOOK_URL='https://…'
poetry run pynotify
Use --channels /path/to/channels.csv or PYNOTIFY_CHANNELS_FILE to use a
different channel list. For compatibility, it also accepts a local
channel_name,webhook_url CSV. Keep that file outside the repository, do not
commit it, and set its permissions to 600. The environment-variable format is
recommended because its channel list can be safely committed or distributed.
Development
poetry install
pytest
ruff check .
mypy src/pynotify
mkdocs build --strict
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 pynotify_annek-0.2.0.tar.gz.
File metadata
- Download URL: pynotify_annek-0.2.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.14.7 Linux/5.14.0-687.25.1.el9_8.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fe7d1f7fe3da73939882aab2b4d8d0d8365d776b44a466685a699b640344a63
|
|
| MD5 |
0a2fa10775284f52b065e5b9db15650e
|
|
| BLAKE2b-256 |
823a37b4a5e71935b47febd261ad021a6b096c02999523621a10d96c5039ba01
|
File details
Details for the file pynotify_annek-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pynotify_annek-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.14.7 Linux/5.14.0-687.25.1.el9_8.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8633cf590380e64a342c0db7746874096ad529757ba444eeb40a79b773d58e8f
|
|
| MD5 |
5c9f3dc8510e48b4a0b31b8779e771dc
|
|
| BLAKE2b-256 |
426fe76fad159d686260e0c8adaa5d7e971cb4250a849f81fac08600066f1b5f
|