CA Slack Block Kit
A collection of simple, pre-configured Slack block kit components to use to construct Slack notification messages.
Installation
This package is available for installation via PyPi:
UV Project
uv add ca-slack-block-kit
Poetry Project
poetry add ca-slack-block-kit
Pip
pip install ca-slack-block-kit
Usage
To form a Slack message, import the required components from the package and use them to build your message payload as a list of Block instances.
from ca_slack_block_kit import Block, Divider, Header, MarkdownSection, render_blocks
message: list[Block] = []
message.append(Header("This is a header"))
message.append(Divider())
message.append(MarkdownSection("**This is a markdown section**"))
# The message can then be sent using the Slack SDK
client = slack_sdk.WebClient(token=slack_bot_token)
client.chat_postMessage(
channel=<slack_channel_id>,
text=<title_text>,
blocks=render_blocks(message),
)
Available Blocks
See the full documentation for a list of available blocks and their usage.
Metadata
Release files for ca-slack-block-kit 1.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ca_slack_block_kit-1.2.5.tar.gz | 7.5 kB | Without provenance | Details for ca_slack_block_kit-1.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ca_slack_block_kit-1.2.5-py3-none-any.whl | Python 3 | none | any | Details for ca_slack_block_kit-1.2.5-py3-none-any.whl |
Total release size: 14.6 kB
Release files / ca_slack_block_kit-1.2.5.tar.gz
| Download URL | ca_slack_block_kit-1.2.5.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2887dc1ef9ae58dfec1d528aa2ed40905b13ed3c3842dcf04e4ef78c55939ea8
|
|
BLAKE2b-256 checksum How to use checksums |
f4423ee2e2900dadaeed34a81225addab9caa95a518aa8e9a4f71451a542a90b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / ca_slack_block_kit-1.2.5-py3-none-any.whl
| Download URL | ca_slack_block_kit-1.2.5-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63e14cf792ea9bde1013c7c8853532cacb581e8a4b0fd17979e82e753dc4f111
|
|
BLAKE2b-256 checksum How to use checksums |
44ba3e4dcbf0cb11367d25486535c11ea75515460e4328ef99331ce2e724980e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for ca-slack-block-kit 1.2.5
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.