Skip to main content

Toolbelt for Slack API clients for Web API and RTM API

Project description

A toolbelt for working with the various Slack APIs in python.

Documentation Status Build Status Code Coverage PyPI - Version PyPI - Python Version

Install

Install slacktools with PyPI

pip install slacktools

This library is tested against Python 3.4+. Open an issue if you need this library to work on an older version.

Features

Check out the docs for more info and API documentation.

Tests

Running the tests is simple enough:

python setup.py test

Or just pytest will do the trick. This will run the tests in the tests/ directory as well as as bunch of docstring tests in the src/ directory.

The Makefile also has some good test commands that will spin up a docker container:

  • make test will run the tests in python 3.7.
  • make test-all will run a series of tests from python 3.7 down to 3.4.
  • make test-{{PY_VERSION}} where PY_VERSION can be any tagged version of the official python docker image will run tests under that python version. Ex: make test-3.5 will run under Python 3.5.

Roadmap

  • Wider python support? This lib only supports python 3 right now. However, if someone needs it, I can add python 2 compatibility.
  • Friendly message builder API?
  • Build deep links into clients

In the Wild

austinpray/kizuna is a silly chatbot that uses this library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
slacktools-0.0.5-py3-none-any.whl (2.6 kB) Copy SHA256 hash SHA256 Wheel py3
slacktools-0.0.5.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page