This SDK is built and maintained by our community and might not be up to date with the latest Novu features. We are currently working on a new official SDK for Python.
Novu’s Python SDK provides simple, yet comprehensive notification management, and delivery capabilities through multiple channels that you can implement using code that integrates seamlessly with your Python application.Explore the source code on GitHub
from novu.api import EventApiurl = "https://api.novu.co"api_key = "<NOVU_SECRET_KEY>"# You can sign up on https://dashboard-v2.novu.co to get your API key from https://dashboard-v2.novu.co/settingsnovu = EventApi(url, api_key).trigger( name="digest-workflow-example", # This is the workflow ID. It can be found on the workflow page. recipients="<SUBSCRIBER_IDENTIFIER>", # The subscriber ID can be gotten from the dashboard. payload={}, # Your custom Novu payload goes here)