slack-sdk
The Slack API Platform SDK for Python
Install
slack-sdk on PyPI
pip
pip install slack-sdkuv
uv add slack-sdkpoetry
poetry add slack-sdkPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 44 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: slack_sdk-3.43.0-py2.py3-none-any.whl
Keywords: slack, slack-api, web-api, slack-rtm, websocket, chat, chatbot, chatops
About slack-sdk
from the package's own PyPI description — quoted content, verbatim
<h1 align="center">Python Slack SDK</h1>
<p align="center"> <a href="https://github.com/slackapi/python-slack-sdk/actions/workflows/ci-build.yml"> <img alt="Tests" src="https://img.shields.io/github/actions/workflow/status/slackapi/python-slack-sdk/ci-build.yml"></a> <a href="https://codecov.io/gh/slackapi/python-slack-sdk"> <img alt="Codecov" src="https://img.shields.io/codecov/c/gh/slackapi/python-slack-sdk"></a> <a href="https://pepy.tech/project/slack-sdk"> <img alt="Pepy Total Downloads" src="https://img.shields.io/pepy/dt/slack-sdk"></a> <br> <a href="https://pypi.org/project/slack-sdk/"> <img alt="PyPI - Version" src="https://img.shields.io/pypi/v/slack-sdk"></a> <a href="https://pypi.org/project/slack-sdk/"> <img alt="Python Versions" src="https://img.shields.io/pypi/pyversions/slack-sdk.svg"></a> <a href="https://docs.slack.dev/tools/python-slack-sdk/"> <img alt="Documentation" src="https://img.shields.io/badge/dev-docs-yellow"></a> </p>
The Slack platform offers several APIs to build apps. Each Slack API delivers part of the capabilities from the platform, so that you can pick just those...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
The Slack Python SDK provides a unified interface to Slack's APIs—Web, RTM, OAuth, Webhooks, Socket Mode, Audit Logs, and SCIM—enabling you to build Slack apps and integrations with message posting, file uploads, request verification, and user management.
Low friction: pure-Python wheel with zero runtime dependencies. Actively maintained with a release 44 days ago. Supports Python 3.7–3.14 and PyPy.
MIT license (permissive) places no restrictions on use, modification, or distribution in commercial or private projects.
Usage
pip install slack_sdk
import os
from slack_sdk import WebClient
client = WebClient(token=os.environ['SLACK_BOT_TOKEN'])
response = client.chat_postMessage(channel='#random', text='Hello world!')
Requires Python 3.7 or higher and a valid Slack bot token in the SLACK_BOT_TOKEN environment variable.
Verdict: Production-ready SDK with active maintenance, no dependencies, and permissive MIT licensing. Suitable for any scale of Slack app development from simple bots to complex integrations. No known security vulnerabilities.
Needs verification
- GitHub repository star count and community adoption metrics beyond the fact sheet.
- Whether async/await patterns are fully supported across all API modules.
- Performance characteristics and rate-limiting behavior at scale with high message volume.
Similar packages
copyleft · top 1,000 on PyPI
langsmithpermissive · top 1,000 on PyPI
distlibpermissive · top 1,000 on PyPI
httpcorepermissive · top 100 on PyPI
PySockspermissive · top 1,000 on PyPI
jupyter-lsppermissive · top 1,000 on PyPI
wsprotopermissive · top 1,000 on PyPI
google-auth-oauthlibpermissive · top 1,000 on PyPI
nbclientpermissive · top 1,000 on PyPI
PyGithubcopyleft · top 1,000 on PyPI