mmpost
Post message to mattermost from command line.
Installation
sudo pip3 install mmpost
Configuration
mmpost can be configured using both command line arguments and a configuration file, or a combination of both.
This configuration file can be put in $XDG_CONFIG_HOME/mmpost/config (normally ~/.config/mmpost/config):
[DEFAULT]
# Mattermost server
server = <SERVER>
# Mattermost server
port = 443
# Mattermost token
token = <TOKEN>
# Mattermost team name
team = <TEAM>
# Mattermost channel
channel = <MATTERMOST CHANNEL>
# Mattermost message
message = <MESSAGE TO POST>
# Skip SSL-verify (set to True to skip SSL verification)
no-verify=
# Wrap message in code block (```)
code =
Normally you would configure server, token, team (and channel) and only specify --message on command line.
If message is not configured, it will read from stdin. If empty value is passed to stdin, nothing will be posted.
Metadata
Release files for mmpost 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mmpost-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for mmpost-0.0.6-py3-none-any.whl |
Release files / mmpost-0.0.6-py3-none-any.whl
| Download URL | mmpost-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47e352a62e5bc4373e8f6a926b8e49e277a9c4ea5203a5a4301f982883491b84
|
|
BLAKE2b-256 checksum How to use checksums |
c42cb822afabc911d11bcb6b66d2dbe1caa4be138d14383cfc8f9ddc6c525367
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.6.12
|
Security for mmpost 0.0.6
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.