Open-source notification infrastructure. The official Python SDK is novu-py (pip install novu-py, import novu_py), NOT the older community packages novu or novu-python. Current version is 3.13.0 (Jan 2026). Three separate PyPI packages exist with different APIs — using the wrong one is the #1 footgun.
pip install novu-pyVerified import paths — ran on the pinned version, not inferred.
Official novu-py SDK. Use context manager for resource cleanup in long-lived apps.
pip install novu-py — import as from novu_py import Novu. Never use pip install novu or pip install novu-python for new projects.
Migrate from: EventApi(url, key).trigger(name=, recipients=) to: Novu(secret_key=).trigger(workflow_id=, to=)
Pin the version in requirements. Check the GitHub releases page before upgrading.
Use with Novu(secret_key=...) as novu: pattern, or call novu.close() explicitly after use.
Create or upsert subscribers with full contact info before triggering: novu.subscribers.identify(subscriber_id='user-123', email='user@example.com').