Task Notification Bot for slack with Django Slack is a great platform for team collaboration not just that it also has one of the best API interfaces to build Chatbots. In this post, I will walk you through building a minimal Slack Bot with Django backend. The idea is to set up a Slack Bot that will notify event when greeted through a backend. Django and Juliette shoes are for women looking for colour, quality, leather and a point of difference. Specializing in Mid Heel Shoes, Ballet Flats, Mary Janes and Ankle Boots. Smart Casual shoes perfect for Work or a Holiday.
Djangobot is a bridge between Slack and a Channels-enabled Django app. Specifically, it is a protocol server that produces and consumes messages for channels-based apps. It is built atop autobahn and twisted. Django has the business logic to query the database based on intents, entities and contexts from API.ai and create rich slack messages.
Latest versionReleased:
A simple Django app to send notifications to slack.
Project description
django-slack-notifications
Extremely simple and easy slack integration with django.
Requirements
- Python (3.3+)
- Django (1.7, 1.8, 1.9)
- Slack Webhook Url: https://api.slack.com/custom-integrations
Installation
Install using pip
Add django-slack-notifications to your INSTALLED_APPS setting.
Add SLACK_NOTIFICATIONS to your settings.py
WEBHOOK URL is required. You can get your webhook url from slack.See https://api.slack.com/custom-integrations
CHANNEL, USERNAME, ICON_EMOJI is optional parameters. Ifdefault value is set, you don’t need to pass parameter to yoursend_message method. See below.
Usage
In your python code,
send_message returns default slack response. If succeed, it returns200.
If you set default values CHANNEL, USERNAME, you can callsend_message like…
channel and username is set default value that you defined insettings.py
if ICON_EMOJI is not set, it uses default slack webhook integrationssettings that you’ve defined athttps://prnd.slack.com/apps/manage/custom-integrations
Release historyRelease notifications | RSS feed
Download files
Django Slack
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django-slack-notification-1.0.0.tar.gz (3.0 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for django-slack-notification-1.0.0.tar.gz
Django Slack Clone
Algorithm | Hash digest |
---|---|
SHA256 | 4182ad6558e685744b4c5974e0b03b13d417f05476b7ae020251805f82a35793 |
MD5 | 2bdd8655370135ab536787a59b5347e5 |
BLAKE2-256 | 4eb717a429ce4f278b9fff81d3c47e5b39bf16b1683482fa3c767262055a5aaa |