ppslack
Tool to send Slack messages
PyPI package: ppslack
Feel free to open a GitHub issue if you spot a problem or have an improvement idea. I will be happy to look into it for you.
Installation
The package is available in PyPI and can be installed using pip:
$ pip install --user ppslack
$ ppslack --help
Once installed, a command line tool ppslack will be available in your system's PATH.
Configuration
By default, the tool reads its configuration from ~/.config/ppslack file (the
location can be overridden by setting environment variable XDG_CONFIG_HOME).
The config file should look like this:
[default]
slack_key=xxx
email_domain=example.com
Usage - Help
$ ppslack --help
usage: ppslack [--version] [--help] [--debug] [--verbose] [-f SENDER] -t RECIPIENTS [RECIPIENTS ...] [-s SUBJECT] [-H]
Tool to send Slack messages
options:
--version show program's version number and exit
--help show this help message and exit
--debug debugging mode
--verbose verbose debugging mode
-f SENDER, --from SENDER
sender
-t RECIPIENTS [RECIPIENTS ...], --to RECIPIENTS [RECIPIENTS ...]
recipient
-s SUBJECT, --subject SUBJECT
subject
-H, --code send code block
Usage - CLI
$ echo 'The king is dead, long live the king!' \
| ppslack -Hf 'Jon Snow' \
-t 'arya.stark@winterfell.com' \
-s 'Re: secret message'
Usage - Python module
from ppslack import Slack
slack = Slack()
status = slack.send(
sender='Jon Snow',
recipients=['arya.stark@winterfell.com'],
subject='Re: secret message',
message='The king is dead, long live the king!',
code=True
)
Release files for ppslack 4.0.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 | |
|---|---|---|---|
| ppslack-4.0.2.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ppslack-4.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.5 kB
Release files / ppslack-4.0.2.tar.gz
| Download URL | ppslack-4.0.2.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4625e5f26e021f73a40643bea602df6c541346b3f736da62557265d4727549d7
|
|
BLAKE2b-256 checksum How to use checksums |
23a9c588669507e8d177b30fb82afdcf88170b02b6c5eefc7658bc73a86bde1b
|
| 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 24, 2026.
Transparency logRelease files / ppslack-4.0.2-py3-none-any.whl
| Download URL | ppslack-4.0.2-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9382dae121697f5ef8c5431c4082962dd2ad54640fe13ffce2b93f17718c844c
|
|
BLAKE2b-256 checksum How to use checksums |
9d5ae75413c97c015ca3a2f91b8e8e885219a4683ce88e4624dabfa434039c8b
|
| 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 24, 2026.
Transparency log