Metadata-Version: 2.1 Name: notify-events Version: 1.0.4 Summary: Extension to integrate your project with Notify.Events service. Home-page: https://github.com/notify-events/python Author: Notify.Events Author-email: support@notify.events License: MIT Platform: UNKNOWN Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.7 Description-Content-Type: text/markdown Requires-Dist: requests # Python client for Notify.Events A simple Python extension that simplifies the process of integrating your project with the [Notify.Events](https://notify.events) service to send messages to your channels. # Installation You can install the Python client for Notify.Events from [PyPI](https://pypi.org/project/notify_events/): ``` pip install notify_events ``` # Usage To use this extension, you need to import the Message class into your script. ```python 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 ```python from notify_events import Message # Create a message object. message = Message('Some important 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') ``` You can find a full list of all available functions in our [GitHub repository documentation](https://github.com/notify-events/python/blob/master/docs/en-US/Message.md).