Package slack_bolt

A Python framework to build Slack apps in a flash with the latest platform features. Read the getting started guide and look at our code examples to learn how to build apps using Bolt.

Expand source code
"""
A Python framework to build Slack apps in a flash with the latest platform features. Read the [getting started guide](https://slack.dev/bolt-python/tutorial/getting-started) and look at our [code examples](https://github.com/slackapi/bolt-python/tree/main/examples) to learn how to build apps using Bolt.

* Website: https://slack.dev/bolt-python/
* GitHub repository: https://github.com/slackapi/bolt-python
* The class representing a Bolt app: `slack_bolt.app.app`
"""
# Don't add async module imports here
from .app import App  # noqa
from .context import BoltContext  # noqa
from .context.ack import Ack  # noqa
from .context.respond import Respond  # noqa
from .context.say import Say  # noqa
from .kwargs_injection import Args  # noqa
from .listener import Listener  # noqa
from .listener_matcher import CustomListenerMatcher  # noqa
from .request import BoltRequest  # noqa
from .response import BoltResponse  # noqa

Sub-modules

slack_bolt.adapter

Adapter modules for running Bolt apps along with Web frameworks or Socket Mode.

slack_bolt.app

Application interface in Bolt …

slack_bolt.async_app

Module for creating asyncio based apps …

slack_bolt.authorization

Authorization is the process of determining which Slack credentials should be available while processing an incoming Slack event …

slack_bolt.context

All listeners have access to a context dictionary, which can be used to enrich events with additional information. Bolt automatically attaches …

slack_bolt.error

Bolt specific error types.

slack_bolt.kwargs_injection

For middleware/listener arguments, Bolt does flexible data injection in accordance with their names …

slack_bolt.lazy_listener

Lazy listener runner is a beta feature for the apps running on Function-as-a-Service platforms …

slack_bolt.listener

Listeners process an incoming request from Slack if the request's type or data structure matches the predefined conditions of the listener. Typically, …

slack_bolt.listener_matcher

A listener matcher is a simplified version of listener middleware. A listener matcher function returns bool value instead of next() method …

slack_bolt.logger

Bolt for Python relies on the standard logging module.

slack_bolt.middleware

A middleware processes request data and calls next() method if the execution chain should continue running the following middleware …

slack_bolt.oauth

Slack OAuth flow support for building an app that is installable in any workspaces …

slack_bolt.request

Incoming request from Slack through either HTTP request or Socket Mode connection …

slack_bolt.response

This interface represents Bolt's synchronous response to Slack …

slack_bolt.util

Internal utilities for the Bolt framework.

slack_bolt.version

Check the latest version at https://pypi.org/project/slack-bolt/

slack_bolt.workflows

Workflow Steps from Apps enables developers to build their own custom workflow steps …