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

Metadata

Release files for pynotify-annek 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynotify-annek 0.2.0
File Size Uploaded Provenance Actions
pynotify_annek-0.2.0.tar.gz 5.5 kB Without provenance Details for pynotify_annek-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pynotify-annek 0.2.0
File Interpreter ABI Platform Actions
pynotify_annek-0.2.0-py3-none-any.whl Python 3 none any Details for pynotify_annek-0.2.0-py3-none-any.whl

Total release size: 11.7 kB

Release files / pynotify_annek-0.2.0.tar.gz

Download URL pynotify_annek-0.2.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5fe7d1f7fe3da73939882aab2b4d8d0d8365d776b44a466685a699b640344a63
BLAKE2b-256 checksum
How to use checksums
823a37b4a5e71935b47febd261ad021a6b096c02999523621a10d96c5039ba01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.7 Linux/5.14.0-687.25.1.el9_8.x86_64

Release files / pynotify_annek-0.2.0-py3-none-any.whl

Download URL pynotify_annek-0.2.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8633cf590380e64a342c0db7746874096ad529757ba444eeb40a79b773d58e8f
BLAKE2b-256 checksum
How to use checksums
426fe76fad159d686260e0c8adaa5d7e971cb4250a849f81fac08600066f1b5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.7 Linux/5.14.0-687.25.1.el9_8.x86_64

Security for pynotify-annek 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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