slackeventsapi
Python Slack Events API adapter for Flask
Decision gist · record as of 2026-08-14
Yes, if you need a lightweight, low-friction way to receive and handle Slack events in Python and are comfortable with the threading caveat for event acknowledgement. No, if you are starting a new production Slack app—the maintainers explicitly recommend Bolt for Python instead. Suitable for small-scale integrations, prototypes, or legacy projects already using this adapter.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires SLACK_SIGNING_SECRET environment variable and a Slack app with Event Subscriptions enabled; the documentation notes that stable event acknowledgement may require threading.
- Low friction installation with only two runtime dependencies (flask and pyee).
- Actively maintained as of June 2026, though the maintainers recommend Bolt for Python as the preferred library for new projects.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice.
last release 2024-09-05 (708 days) · last repo commit 2026-06-02 · 340 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,063 downloads/mo, #14,880 on PyPI
Alternatives
Verify before relying
pip install slackeventsapi
from slackeventsapi import SlackEventAdapter
import os
slack_events_adapter = SlackEventAdapter(
os.environ["SLACK_SIGNING_SECRET"],
endpoint="/slack/events"
)
@slack_events_adapter.on("reaction_added")
def handle_reaction(event_data):
print(event_data["event"]["reaction"])
slack_events_adapter.start(port=3000)- Whether threading is required for your use case or only for certain event types
- Current adoption rate and whether Bolt for Python is now the de facto standard
- Performance characteristics under high event volume
What it is and what it does
SlackEventsAPI is a Python adapter that sits between Slack's Events API and your application, handling the mechanics of receiving and parsing incoming events. It uses an event emitter framework (pyee) to let you register listener functions for specific event types—when Slack sends an event, the adapter routes it to your registered handler. The library includes built-in Flask integration, so you can either use its embedded server or bind it to an existing Flask app.
The package handles URL verification automatically when you first configure your Slack app, and it abstracts away common tasks like signature verification. However, the maintainers note an important caveat: event acknowledgement may require threading for stability in production. The project is actively maintained but officially recommends Bolt for Python as the preferred choice for new Slack app development, as Bolt covers a broader set of Slack platform features.
Use it for
- Build a Slack bot that reacts to user actions like emoji reactions or message posts by attaching event listeners.
- Integrate Slack notifications into a Python web service by receiving Events API webhooks and triggering downstream workflows.
- Process Slack team events (user joins, channel creation) and sync them with an external database or logging system.
- Prototype Slack app event handling during development before committing to a larger framework.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a lightweight, low-friction way to receive and handle Slack events in Python and are comfortable with the threading caveat for event acknowledgement.
No, if you are starting a new production Slack app—the maintainers explicitly recommend Bolt for Python instead. Suitable for small-scale integrations, prototypes, or legacy projects already using this adapter.
Install
slackeventsapi on PyPI
Before you install
Low friction installation with only two runtime dependencies (flask and pyee). Actively maintained as of June 2026, though the maintainers recommend Bolt for Python as the preferred library for new projects.
Requires SLACK_SIGNING_SECRET environment variable and a Slack app with Event Subscriptions enabled; the documentation notes that stable event acknowledgement may require threading.
License in practice
MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice.
Quickstart
pip install slackeventsapi
from slackeventsapi import SlackEventAdapter
import os
slack_events_adapter = SlackEventAdapter(
os.environ["SLACK_SIGNING_SECRET"],
endpoint="/slack/events"
)
@slack_events_adapter.on("reaction_added")
def handle_reaction(event_data):
print(event_data["event"]["reaction"])
slack_events_adapter.start(port=3000)
Verify before relying
- Whether threading is required for your use case or only for certain event types
- Current adoption rate and whether Bolt for Python is now the de facto standard
- Performance characteristics under high event volume
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesflaskpyee |
| Maintenance | Actively maintained 708 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,063 / month, #14,880 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Communications :: ChatTopic :: Office/BusinessTopic :: System :: Networking |
Evidence: slackeventsapi-3.0.3-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “slack events api adapter”
- slackeventsapiReceives and parses events from Slack's Events API using an event…
- slack-boltBolt for Python is a framework for building Slack apps that handle…
- markdown-to-mrkdwnConverts standard Markdown to Slack's mrkdwn format, handling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also slack-bolt · slackweb · slack-sdk · slack-discovery-sdk · pyee · slacker · slackclient · pymitter · apache-airflow-providers-slack · cloudevents