Slackit
Send Slack messages through an incoming webhook.
Install
pip install lupaxa-slackit
slackit --help
CLI
slackit --webhook "$SLACK_WEBHOOK_URL" --text "Hello, Slack!"
slackit --profile testing --text "Hello, Slack!"
slackit -p alerts --config "$HOME/work/slackit.yml" --text "Disk full"
python -m lupaxa.slackit --version
The webhook URL must start with https://hooks.slack.com/services/.
--text, --attachment, --blocks, and --validate are mutually exclusive.
Flags override the same fields from the selected profile.
Config
Profiles live in $HOME/.slackit.yml. Pass --config to use another file.
--config requires --profile.
profiles:
testing:
webhook_url: https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXX
username: PyBot
channel: "#testing"
icon_emoji: ":robot_face:"
timeout: 15
alerts:
webhook_url: https://hooks.slack.com/services/T00000000/B00000000/YYYYYYYY
channel: "#alerts"
Each profile may set webhook_url, username, channel, icon_emoji, and
timeout.
Library
from lupaxa.slackit import Slackit, load_profile
profile = load_profile("testing")
client = Slackit(
profile.webhook_url,
username=profile.username,
channel=profile.channel,
icon_emoji=profile.icon_emoji,
)
client.send_message("Hello, Slack!")
Development
make init
make python-install-dev
make python-check
Documentation
Site pages live in mkdocs/ and publish to
https://slackit.thelupaxaproject.org/.
make init
make python-install-dev
make mkdocs-serve
Release files for lupaxa-slackit 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lupaxa_slackit-0.1.3.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lupaxa_slackit-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.7 kB
Release files / lupaxa_slackit-0.1.3.tar.gz
| Download URL | lupaxa_slackit-0.1.3.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b158a3cc0aae576d475845b60df0d7a42fc6ca83655b5295501da08adf3de524
|
|
BLAKE2b-256 checksum How to use checksums |
e1f0e0250f23452c5e4e663f459791d1098d0251dcc1d8b9dbfba041e9851c37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 24, 2026.
Transparency logRelease files / lupaxa_slackit-0.1.3-py3-none-any.whl
| Download URL | lupaxa_slackit-0.1.3-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8adaec552955d96f0f1f8646b27b5aed47d55b00c439c9f7df31dcff66f09741
|
|
BLAKE2b-256 checksum How to use checksums |
c888527e0587b766f9b5200dbbb78117f6b43bc67471d320c491094c635f1b3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 24, 2026.
Transparency log