{"categories":[{"label":"Chat","url":"https://skillfed.io/packages/category/communications-chat"}],"enrichment":{"capability":"Builds Slack Block Kit messages programmatically in Python with type validation, eliminating hand-written JSON and reducing API errors before they reach Slack.","skillfed_tags":["slack-integration","message-generation","type-safe"],"use_cases":["Build structured build-status notifications with fields, buttons, and dividers without writing JSON templates.","Generate approval-request modals with validation and interactive elements for workflow automation.","Construct data-driven Slack messages (e.g., incident alerts, report summaries) with type-safe field assembly.","Parse incoming Slack interaction payloads back into slackblocks objects for programmatic inspection and response.","Create reusable message templates as Python functions, leveraging type hints for IDE autocomplete and refactoring."],"what_it_does":"slackblocks is a typed Python wrapper around Slack's Block Kit API that lets you construct rich Slack messages, modals, and home tabs using concise Python objects instead of verbose JSON. It enforces validation at construction time\u2014character limits, required fields, mutually-exclusive options, element-type restrictions\u2014so errors surface before the API call, not after. The library ships with full type hints and zero runtime dependencies, making it lightweight and IDE-friendly.\n\nIt integrates directly with official Slack SDKs via unpacking: `client.chat_postMessage(**message)` works without boilerplate. The package supports all current block types (including Alert, Card, Carousel, Container, Data Table, Plan, Task Card), elements (buttons, select menus, date/time pickers, checkboxes, radio groups, workflow buttons), composition objects, rich text, modals, views, and round-trip parsing of incoming Slack JSON back into objects.","worth_installing":"Yes. Zero dependencies, active maintenance, permissive dual licensing, and no known vulnerabilities make it a safe choice. Install if you send structured Slack messages from Python and want to avoid JSON boilerplate and validation errors\u2014the typed API and up-front validation pay off immediately. Requires Python 3.10 or newer."},"id":"slackblocks","links":{"html":"https://skillfed.io/packages/slackblocks","md":"https://skillfed.io/packages/slackblocks.md","pypi":"https://pypi.org/project/slackblocks/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-14","license_spdx":null,"license_treatment":"permissive","name":"slackblocks","python_support":"supports_current","summary":"Python wrapper for the Slack Blocks API"},"popularity":{"monthly_downloads":78520,"position":14436,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
