Skip to main content

pynotify

PyPI Python versions License

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

pynotify_annek-0.2.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

pynotify_annek-0.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

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

Hashes for pynotify_annek-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5fe7d1f7fe3da73939882aab2b4d8d0d8365d776b44a466685a699b640344a63
MD5 0a2fa10775284f52b065e5b9db15650e
BLAKE2b-256 823a37b4a5e71935b47febd261ad021a6b096c02999523621a10d96c5039ba01

See more details on using hashes here.

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

Hashes for pynotify_annek-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8633cf590380e64a342c0db7746874096ad529757ba444eeb40a79b773d58e8f
MD5 5c9f3dc8510e48b4a0b31b8779e771dc
BLAKE2b-256 426fe76fad159d686260e0c8adaa5d7e971cb4250a849f81fac08600066f1b5f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page