Skip to main content

Python tool to post GitHub Action runs to mattermost

Project description

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.

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:

mnotify-git <hook_url> <channel> -S [success, failure] -r <orga/repo> -b <branch> -w <workflow_id> -n <workflow_name>

License

Copyright (C) 2021-2022 Jaspar Stach

Licensed under the GNU General Public License v3.0 or later.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mattermost-notify-22.7.0.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

mattermost_notify-22.7.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file mattermost-notify-22.7.0.tar.gz.

File metadata

  • Download URL: mattermost-notify-22.7.0.tar.gz
  • Upload date:
  • Size: 32.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for mattermost-notify-22.7.0.tar.gz
Algorithm Hash digest
SHA256 5388d57561d1e7c08620becce1ae55865e105b7f0e0755ce181569a747c7dbc8
MD5 26b8b3325c09f3b51449c2ce19c77b66
BLAKE2b-256 15e78050d7e888e9240c5431cc6715b5b60d24136845b90e4b4e88dbd762c17b

See more details on using hashes here.

File details

Details for the file mattermost_notify-22.7.0-py3-none-any.whl.

File metadata

  • Download URL: mattermost_notify-22.7.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for mattermost_notify-22.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 256220f49e9539ff0c05ef909c7a00f662cdef522d2385343e9630fdf84d9225
MD5 c060b4e3bd37cf3de82b80de934cd488
BLAKE2b-256 9e93e1313d47906065b119bd1eeeacef65642d73600ce6f9a30a91a864288482

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page