Python SDK
Connect a Python application to Novu
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
Installation
PIP
PIP is the default package installer for Python, enabling easy installation and management of packages from PyPI via the command line.
Poetry
Poetry is a modern tool that simplifies dependency management and package publishing by using a single pyproject.toml file to handle project metadata and dependencies.
Shell and script usage with uv
You can use this SDK in a Python shell with uv and the uvx command that comes with it like so:
It’s also possible to write a standalone Python script without needing to set up a whole project like so:
Once that is saved to a file, you can run it with uv run script.py
wherescript.py
can be replaced with the actual file name.
Usage
Was this page helpful?