pyslack is a Python API client for interacting with the Slack API. Last updated in September 2019 (version 0.5.0), it provides a synchronous interface for basic Slack operations. It has largely been superseded by the official and actively maintained `slack_sdk` library, which offers a broader feature set, asynchronous support, and better alignment with modern Slack API best practices.
pip install pyslackVerified import paths — ran on the pinned version, not inferred.
Initializes the `pyslack` client with a Slack API token and sends a basic message to a specified channel, then performs an authentication test. This requires a Slack API token (e.g., a legacy token or a bot token) and a channel ID. For new applications, `slack_sdk` is recommended due to its modern authentication and feature set.
Migrate to the official `slack_sdk` library, which is actively maintained and supports current Slack API features and best practices. (pip install slack_sdk)
For new development, use `slack_sdk` (and optionally `slack_bolt`) to ensure compatibility with current Slack authentication and app development paradigms.
Always use `from slack import Slack` for importing the client class after installing `pyslack`.
No dependency data recorded yet.