Slack extension for Flask.
Project description
Flask-Slack
Flask-Slack is a Flask extension which makes it easy to interact with Slack slash commands.
Installation
You can install Flask-Slack with pip:
$ pip install flask-slack
Or, with setuptools easy_install in case you didn’t have pip:
$ easy_install flask-slack
Usage
from flask_slack import Slack
slack = Slack(app)
app.add_url_rule('/', view_func=slack.dispatch)
@slack.command('your_command', token='your_token',
team_id='your_team_id', methods=['POST'])
def your_method(**kwargs):
text = kwargs.get('text')
return slack.response(text)
Documentation
The full documentation is available at readthedocs.org
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Flask-Slack-0.1.5.tar.gz.
File metadata
- Download URL: Flask-Slack-0.1.5.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4b5336d86daae445327a9836df5a3301c2a8d00f97563083d5b1578cd4abce4
|
|
| MD5 |
8a40d9b093634967828bda4b44b7097f
|
|
| BLAKE2b-256 |
d708f78b6c39d265313e7e235f4813b6763cc2aa00f7fa77744afeb38e9deca7
|
File details
Details for the file Flask_Slack-0.1.5-py3.4.egg.
File metadata
- Download URL: Flask_Slack-0.1.5-py3.4.egg
- Upload date:
- Size: 8.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad5915f3de53c1e6107eb7922d5f82418e9afa98d89ad03c34cc0612adc5acb9
|
|
| MD5 |
32b85de87bb717e09fe2603d05270916
|
|
| BLAKE2b-256 |
740247b16c6e3ff37b429cf864654a53521b9cdad2662a65e13ab1b3391cfe66
|
File details
Details for the file Flask_Slack-0.1.5-py2.py3-none-any.whl.
File metadata
- Download URL: Flask_Slack-0.1.5-py2.py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0720afb35d6e48f1e2f54c2ba9e88c0df757980da686d4810c989ff52572d93
|
|
| MD5 |
40743503bb1f3ac30ed1e282bd2f1a68
|
|
| BLAKE2b-256 |
66bf605edc383cabea03d5ca6f024c00d6e8767ad93e2fc714ac60404bfdf2e8
|