Extension to integrate your project with Notify.Events service.
Project description
Python client for Notify.Events
A simple Python extension that simplifies the process of integrating your project with the Notify.Events service to send messages to your channels.
Instruction on another languages
Installation
You can install the Python client for Notify.Events from PyPI:
pip install notify_events
Usage
To use this extension, you need to import the Message class into your script.
from notify_events import Message
After that, you can create a Message object, set the necessary parameters and send the message to the channel.
Usage example
from notify_events import Message
# Create a message object.
message = Message('Some <b>important</b> message', 'Title', Message.PRIORITY_HIGH, Message.LEVEL_WARNING)
# Attach the file to the message.
message.add_file('path\to\local\file.zip', 'filename.zip')
# Send a message to your channel in Notify.Events.
message.send('XXXXXXXX')
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
Built Distribution
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 notify_events-1.1.3.tar.gz.
File metadata
- Download URL: notify_events-1.1.3.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e63ba935c3300ff7f48cba115f7cb4474906e83c2e9b60b95a0881eb949701e7
|
|
| MD5 |
0cdb41acd4801532c26e29c7964d2b21
|
|
| BLAKE2b-256 |
bfcaba034556407d00ff628312b296a1f9fa05d8c10e26a26922e1e8f4049b72
|
File details
Details for the file notify_events-1.1.3-py3-none-any.whl.
File metadata
- Download URL: notify_events-1.1.3-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94059b699ff02d104336d88dee88214788af74da1bd08a1ab64cdc5774e005bc
|
|
| MD5 |
be05e918663796cb1087b4749b524dae
|
|
| BLAKE2b-256 |
ba55f86fc72c12fab95e4072f622380b1bdae57abf18e0d35e5ba266a80f7bc1
|