A simple and comprehensive Slack API client.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
slack Update version to 0.4.0 Aug 29, 2018
tests mistaken test Aug 23, 2018
.gitignore Ignroe build directory in repo Feb 27, 2015
.travis.yml dropping 2.6 from travis Aug 24, 2018
LICENSE First commit Jun 8, 2014
README.md Update README.md Feb 15, 2015
requirements.txt First commit Jun 8, 2014
setup.py First commit Jun 8, 2014



slack is a Python package that provides an interface to Slack listed officially on slack.com.

Build Status


Install via pip

$ pip install pyslack

Install from source:

$ git clone git://github.com/kn/slack.git
$ cd slack
$ python setup.py install

Getting Started

You need to get your Slack token from api.slack.com.

import slack
import slack.chat
slack.api_token = 'your_token'
slack.chat.post_message('#eng', 'Hello slackers!', username='mybot')

import slack.users

Available Methods

All methods in a preview release of Slack API are available.