mattermost-notify
This tool is desired to post messages to a mattermost channel. You will need a mattermost webhook URL and give a channel name.
Table of Contents
Installation
Requirements
Python 3.7 and later is supported.
Install using pip
pip 19.0 or later is required.
You can install the latest stable release of mattermost-notify from the Python Package Index (pypi) using [pip]
python3 -m pip install --user mattermost-notify
Usage
Print a free text message:
mnotify-git <hook_url> <channel> --free "What a pitty!"
Print a github workflow status (legacy long/short templates):
mnotify-git <hook_url> <channel> -S [success, failure, warning] -r <orga/repo> -b <branch> -w <workflow_id> -n <workflow_name>
Notification templates
--notification-type is optional. Use it only when you want a specific template
(deployment, service-update, stage-transition, release, hotfix) and you
are passing deployment metadata.
Supported types:
deploymentservice-updatestage-transitionreleasehotfix
Deployment
mnotify-git <hook_url> <channel> \
--notification-type deployment \
--product <product> \
--stage <stage> \
-S [success, failure, warning] \
-r <orga/repo> -b <branch> -w <workflow_id> -n <workflow_name>
Service update
mnotify-git <hook_url> <channel> \
--notification-type service-update \
--service <service> \
--version <version> \
-S [success, failure, warning] \
-r <orga/repo> -b <branch> -w <workflow_id> -n <workflow_name>
Stage transition
mnotify-git <hook_url> <channel> \
--notification-type stage-transition \
--product <product> \
--from-stage <from_stage> \
--to-stage <to_stage> \
-S [success, failure, warning] \
-r <orga/repo> -b <branch> -w <workflow_id> -n <workflow_name>
Release
mnotify-git <hook_url> <channel> \
--notification-type release \
--product <product> \
--version <version> \
-S [success, failure, warning] \
-r <orga/repo> -b <branch> -w <workflow_id> -n <workflow_name>
Hotfix
mnotify-git <hook_url> <channel> \
--notification-type hotfix \
--product <product> \
--version <version> \
-S [success, failure, warning] \
-r <orga/repo> -b <branch> -w <workflow_id> -n <workflow_name>
Optional metadata flags
--product <name>
--stage <stage>
--version <version>
--service <service>
--from-stage <stage>
--to-stage <stage>
--notification-type <deployment|service-update|stage-transition|release|hotfix>
If no deployment metadata is provided, the tool falls back to the legacy long/short templates.
License
Copyright (C) 2021-2022 Jaspar Stach
Licensed under the GNU General Public License v3.0 or later.
Metadata
Release files for mattermost-notify 26.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mattermost_notify-26.1.2.tar.gz | 52.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mattermost_notify-26.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.1 kB
Release files / mattermost_notify-26.1.2.tar.gz
| Download URL | mattermost_notify-26.1.2.tar.gz |
|---|---|
| Size | 52.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf761d1a078c91dc310b64396c2a77489bc7304e667c378871936804fbd8d906
|
|
BLAKE2b-256 checksum How to use checksums |
b6ab01598f9d3ade80e8cb7b2d1b9a01d765c443661c001fc27f5aac12b36e68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 21, 2026.
Transparency logRelease files / mattermost_notify-26.1.2-py3-none-any.whl
| Download URL | mattermost_notify-26.1.2-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
506f0df85dbc505cf6a54547e0d80d706f0d16f67a5bbac2c865ad1338a2d7cb
|
|
BLAKE2b-256 checksum How to use checksums |
9bc5916d3a7864f02bd3416bfa300a4e96525d768730a1cfd04a80394c5452ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 21, 2026.
Transparency log