A Python library for building Slack UIs with a fluent API, type hints, and validation.
BlockKit is a Python library that provides a fluent, type-safe API for building Slack UIs. It eliminates the need to manually write and debug JSON for Slack's Block Kit, offering automatic validation and editor autocompletion to speed up development and reduce errors.
Python developers building Slack apps, bots, or integrations who want a more productive and reliable way to create messages, modals, and interactive components.
Developers choose BlockKit because it turns error-prone JSON construction into a clean, readable coding experience with immediate validation, preventing runtime surprises and reducing dependency on Slack's documentation.
Build beautiful Slack UIs fast
Chainable methods make building Slack blocks intuitive and readable, as shown in the approval message example where nested JSON is replaced with clear method calls.
Built-in validation catches required fields, types, and length constraints before sending to Slack, preventing runtime surprises like missing 'deny' fields in confirm dialogs.
Full type hints and autocompletion reduce typos and guesswork, with constants like Button.PRIMARY ensuring correct usage without memorizing Slack's docs.
Zero external dependencies make it easy to integrate without bloating the project, as highlighted in the README's emphasis on simplicity.
Exclusively for Python developers, so teams using other languages like JavaScript or Go for Slack integrations cannot leverage this library.
Heavily dependent on Slack's Block Kit API; any changes or deprecations by Slack could break functionality until the library is updated.
While it simplifies common use cases, highly custom or experimental Slack UI elements might still require fallback to manual JSON manipulation, as the library may not cover all Slack features.
Slack Developer Kit for Python
A WeeChat script for Slack.com. Supports threads and reactions, synchronizes read markers, provides typing notification, etc..
A framework to build Slack apps using Python
A chat bot for Slack (https://slack.com).
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.