No project description provided
Project description
EasyNotify
This package allows you to post messages with bots easily.
Install
Install this package:
pip install easynotify
If it does not work, try:
pip install git+https://github.com/CauchyComplete/EasyNotify
SlackBot
In your slack workspace, click the top left menu > Settings & administartion > Manage apps.
Search for "Incomming Webhooks" and click "Add to Slack".
Choose a channel you want to use and click "Add Incoming Webhooks integration".
Now you can post onto this workspace using this library.
import easynotify
bot = easynotify.SlackBot("https://hooks.slack.com/services/...") # Your Webhook URL
bot.post("Test Message", username="SlackBot", icon_emoji=":ghost:", print_also=True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easynotify-0.1.2.tar.gz
(2.7 kB
view details)
File details
Details for the file easynotify-0.1.2.tar.gz.
File metadata
- Download URL: easynotify-0.1.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
779d094714c221425654682c50125d128bb2262b32e0676321bcee4c3fef0efa
|
|
| MD5 |
dc078ce6f34294cc891b3cd605010f10
|
|
| BLAKE2b-256 |
456bff8ef745142d506f21c444d304dc01d8d384bd6ea3a93a79d685eedb604b
|