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.

Source Distribution

slacktools-0.0.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

slacktools-0.0.5-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file slacktools-0.0.5.tar.gz.

File metadata

  • Download URL: slacktools-0.0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for slacktools-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8c705fd16a11468b7a67607ae1cb7f96c34b841be43babe23ed313c70a70be04
MD5 91ce0e59850ed9daf50ef278e30f7b55
BLAKE2b-256 46c737300ce6cf3bc9b0eb40f62798c9ba5da76599a07fff477af713a3af0283

See more details on using hashes here.

File details

Details for the file slacktools-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: slacktools-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for slacktools-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1586d90799df68e6d72ff17b1e05a983cd82efde96295975c923ef1e5e64ea96
MD5 cd7a505e4feb6a0df6a97a551c8b69a8
BLAKE2b-256 88f37d1c7350413ce2b588f3a4dff92f3b8a116e423652fff5c216452731303a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page