Toolbelt for Slack API clients for Web API and RTM API
Project description
A toolbelt for working with the various Slack APIs in python.
Features
Authorization utils to verify X-Slack-Signature
- Message text utils to do things like:
Format slack control sequences like <@USERIDXX> and <text|url> with proper escaping
Extract mentions and grab user ids from mentions
Properly escape message text
Message sending functions with partial application to reduce boilerplate and improve testability
Check out the docs for more info and API documentation.
Roadmap
Wider python support? This lib only supports python 3 right now. However, if someone needs it, I can add python 2 compatibility.
100% test coverage
Friendly message builder API?
Build deep links into clients
In the Wild
austinpray/kizuna is a silly chatbot that uses this library.
Project details
NoneDownload files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for slacktools-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adba8290a67261f406f9413a862b201ced6d0e6a9c2661ca606967b22da2acf9 |
|
MD5 | 1ba09cff26e5da65908ecf8874e32d10 |
|
BLAKE2b-256 | 635e6d95f7e487713ce8ca2c4b3e3e218e42c95ff738a119b7e4e274e4fd6e52 |