Simple application for make slack bot
Project description
slack_bot
Application for easy make slack bot
Getting Started:
Installing:
pip install slack_bot
Usage:
import os
from slack_bot.bot import Application, Response
app = Application(token=os.getenv('SLACK_TOKEN'))
@app.route('hello')
def main(request):
return Response(request=request, text=f'Hi! {request.user}')
if __name__ == '__main__':
app.run()
Examples:
Authors:
- Denis Korytkin
License:
This project is licensed under the MIT License - see the LICENSE.md file for details
Dependencies:
base
pip==19.0.3
setuptools==41.0.0
application dependencies
slackclient==1.3.1
slackclient dependencies
certifi==2019.3.9
chardet==3.0.4
idna==2.8
requests==2.21.0
six==1.12.0
urllib3==1.24.2
websocket-client==0.47.0
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
slack_bot-0.0.1.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for slack_bot-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7644de82f6d0961bba03990590d0a86e60523442cb0be2755bf3e5c4c6cce4f2 |
|
MD5 | 0bd421e02211c7e9932669f6a72032f7 |
|
BLAKE2b-256 | 4a955eb685cb1f260094aea87b80e433d0ee5ca98ce54903f070836b27838a03 |