slackclient
Slack API clients for Web API and RTM API (Legacy) - Please use https://pypi.org/project/slack-sdk/ instead.
Decision gist · record as of 2026-08-14
Yes, but with conditions: slackclient remains functional and suitable for maintaining existing applications, but the project's own documentation explicitly recommends the successor project for new development. Install only if you are maintaining legacy code or have a specific reason not to migrate. For new Slack integrations, use the successor project instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid Slack API token set in the SLACK_API_TOKEN environment variable and appropriate bot permissions.
- Low install friction with a single runtime dependency (aiohttp).
- Active maintenance status with recent commits, though the package is in maintenance mode.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
last release 2022-04-22 (1575 days) · last repo commit 2026-08-13 · 4,012 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,699,515 downloads/mo, #1,707 on PyPI
Alternatives
Verify before relying
pip install slackclient
from slackclient import WebClient
import os
client = WebClient(token=os.environ['SLACK_API_TOKEN'])
response = client.chat_postMessage(channel='#random', text='Hello world!')- Whether async/await patterns are fully supported across all API methods or only specific ones.
- Current state of RTM API support given Slack's deprecation timeline for real-time messaging.
- Performance characteristics when handling high-volume message throughput or large workspaces.
- Specific migration path and effort required to move from slackclient to the successor project.
What it is and what it does
slackclient is a Python SDK for interacting with Slack's Web API and RTM API, enabling developers to build custom applications, bots, and integrations that send messages, upload files, and respond to real-time events in Slack. It wraps Slack's HTTP and WebSocket APIs with Python methods, handling authentication via tokens and providing event-driven callbacks for RTM connections.
The package requires Python 3.6 and above and depends on aiohttp for async HTTP operations. It is currently in maintenance mode; the project's own documentation recommends migrating to the successor project for new development, which offers additional features like Socket Mode, OAuth flows, and improved asyncio support. Existing slackclient code can continue to function, but users should plan for eventual migration.
Use it for
- Send messages and notifications to Slack channels programmatically from Python applications.
- Upload files to Slack channels as part of automated workflows or reporting systems.
- Build event-driven bots that listen for and respond to messages using the RTM API.
- Integrate third-party services into Slack by posting updates or alerts to specific channels.
- Create custom Slack apps that interact with the Web API for channel management and user interactions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but with conditions: slackclient remains functional and suitable for maintaining existing applications, but the project's own documentation explicitly recommends the successor project for new development.
Install only if you are maintaining legacy code or have a specific reason not to migrate. For new Slack integrations, use the successor project instead.
Install
slackclient on PyPI
Before you install
Low install friction with a single runtime dependency (aiohttp). Active maintenance status with recent commits, though the package is in maintenance mode.
Requires a valid Slack API token set in the SLACK_API_TOKEN environment variable and appropriate bot permissions.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
Quickstart
pip install slackclient
from slackclient import WebClient
import os
client = WebClient(token=os.environ['SLACK_API_TOKEN'])
response = client.chat_postMessage(channel='#random', text='Hello world!')
Verify before relying
- Whether async/await patterns are fully supported across all API methods or only specific ones.
- Current state of RTM API support given Slack's deprecation timeline for real-time messaging.
- Performance characteristics when handling high-volume message throughput or large workspaces.
- Specific migration path and effort required to move from slackclient to the successor project.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageaiohttp |
| Maintenance | Actively maintained 1,575 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,699,515 / month, #1,707 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 :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Communications :: ChatTopic :: Office/BusinessTopic :: System :: Networking |
Evidence: slackclient-2.9.4-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 web api wrapper”
- slackclientProvides Python interfaces to Slack's Web API and Real Time Messaging…
- slack-sdkProvides Python bindings for Slack's Web API, webhooks, Socket Mode,…
- slackerSlacker is a Python client library for the Slack API that lets you…
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 RtmAPI · slack-discovery-sdk · slack-sdk · slackblocks · slackweb · mattermostwrapper · slacker · slackeventsapi · blockkit · apache-airflow-providers-slack