Skip to main content

hegemony-notification-core-transports

The notification transports Hegemony ships with, packaged as a plugin:

Destination Notes
email SMTP via aiosmtplib; every setting comes from the destination config
shoutrrr Raw Shoutrrr service URL (needs the shoutrrr binary)
outgoing_webhook HTTP webhook with auth, TLS, HMAC signing, retries (httpx)

Unlike third-party notification plugins, this one is auto-installed with the platform (it's a path dependency of the host, like hegemony-notification-sdk) so notifications work out of the box. Secret resolution and template rendering are provided by the host via the injected NotificationServices; this package never imports platform internals.

Configuration reference

These are the runtime configuration keys accepted by each transport. Some advanced keys are not listed in the compact registration schema. Preset build_config functions return these dictionaries and preserve protected secret references; the host resolves them when sending.

Email

Key Meaning and default
to Required recipient list; at least one resolved address
cc Optional recipient list; empty by default
from Required sender address
smtp_host_ref Required protected reference for the SMTP hostname
smtp_port_ref Optional protected reference; resolved integer port, default 587
smtp_username_ref / smtp_password_ref Optional protected references for SMTP authentication
smtp_use_tls_ref Optional protected reference; resolves to true to use implicit TLS; default false
smtp_use_starttls_ref Optional protected reference; resolves to true to use STARTTLS; default true

Address fields pass through host reference validation and resolution too. The host-supplied title becomes the subject and the body becomes plain-text content. Sending has a 60-second timeout. Set TLS and STARTTLS appropriately for the server; do not enable both simultaneously.

Shoutrrr

Key Meaning
url_secret Required protected reference resolving to a complete Shoutrrr service URL

The transport runs the installed shoutrrr executable with the resolved URL and the title/body message. The CLI timeout is 30 seconds; nonzero exit status or timeout fails delivery. There is no configurable timeout key.

Outgoing webhook

Key Meaning and default
url Required HTTP(S) URL; supports host-rendered templates; embedded username/password is rejected
method Request method; schema offers POST and PUT; default POST
headers Optional header dictionary, layered over Content-Type: application/json
payload_template Optional message template rendered with title/body; otherwise JSON containing title and body
timeout_seconds HTTP timeout; default 30
retry_count Retries after the initial attempt; default 3
retry_backoff_seconds Initial exponential backoff; default 2 seconds
verify_tls Certificate verification; default true; disabling it removes certificate authentication
custom_ca_bundle Optional PEM CA certificates added to a default SSL context
auth_type none (default), bearer, basic, or custom_header
auth_token_ref Required protected token reference for bearer authentication
auth_username / auth_password_ref Basic-auth username (default empty) and required protected password reference
auth_header_name / auth_header_value_ref Valid nonempty header name and required protected value reference for custom-header authentication
signing Optional signing-policy object, described below; omitted means no signing

Authentication headers override matching entries from headers. A signing policy then adds its headers. Successful HTTP responses finish delivery; HTTP 4xx responses other than 429 are not retried. Use HTTPS for credentials and sensitive message content.

The signing object accepts:

Key Meaning and default
algorithm Only hmac-sha256 is supported; it is the default
secret_ref Required protected reference resolving to a nonempty signing key
signature_header Header containing the hexadecimal HMAC; default X-Webhook-Signature
timestamp_header Optional header for the Unix timestamp in seconds
signed_content body (default) or timestamp_dot_body; the latter requires timestamp_header
prefix String prepended to the hexadecimal signature; default empty

The signature covers the actual payload bytes, or the timestamp followed by a dot and those bytes. Supply a strong randomly generated signing key through the host secret store. Do not put resolved credentials in preset output or logs.

Metadata

Release files for hegemony-notification-core-transports 0.3.4

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

Source distribution (sdist)

Source distribution for hegemony-notification-core-transports 0.3.4
File Size Uploaded Provenance Actions
hegemony_notification_core_transports-0.3.4.tar.gz 22.9 kB With provenance Details for hegemony_notification_core_transports-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hegemony-notification-core-transports 0.3.4
File Interpreter ABI Platform Actions
hegemony_notification_core_transports-0.3.4-py3-none-any.whl Python 3 none any Details for hegemony_notification_core_transports-0.3.4-py3-none-any.whl

Total release size: 48.0 kB

Release files / hegemony_notification_core_transports-0.3.4.tar.gz

Download URL hegemony_notification_core_transports-0.3.4.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
33a7d5acbe0eefbbf61eec5fb60666a1b3d89b41d472896a62948ade9d23db95
BLAKE2b-256 checksum
How to use checksums
844cc12bf3b2607468bc3acc3d208265620011cd23acab109f9925de87622712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / hegemony_notification_core_transports-0.3.4-py3-none-any.whl

Download URL hegemony_notification_core_transports-0.3.4-py3-none-any.whl
Size 25.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c7fe082bef8cef152e4cc4fcc255a7577d4d0564e4fa827206e8a16ddf67b8b
BLAKE2b-256 checksum
How to use checksums
2cc71767236907c0a0edd63bcc91b1b74206682fba1b81d0a7470cf7412b0fa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for hegemony-notification-core-transports 0.3.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hegemony_notification_core_transports-0.3.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files Full provenance

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