Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

notify-events

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notify-events

Extension to integrate your project with Notify.Events service.

  • 1.1.3
  • PyPI
  • Socket score

Maintainers
1

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')

List of all available functions

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc