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')
Metadata
Release files for notify-events 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| notify_events-1.1.3.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| notify_events-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / notify_events-1.1.3.tar.gz
| Download URL | notify_events-1.1.3.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e63ba935c3300ff7f48cba115f7cb4474906e83c2e9b60b95a0881eb949701e7
|
|
BLAKE2b-256 checksum How to use checksums |
bfcaba034556407d00ff628312b296a1f9fa05d8c10e26a26922e1e8f4049b72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / notify_events-1.1.3-py3-none-any.whl
| Download URL | notify_events-1.1.3-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94059b699ff02d104336d88dee88214788af74da1bd08a1ab64cdc5774e005bc
|
|
BLAKE2b-256 checksum How to use checksums |
ba55f86fc72c12fab95e4072f622380b1bdae57abf18e0d35e5ba266a80f7bc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|