API surface

Every public name the Python SDK exports.

Classes

NameKind
NevoClient.
EventFrozen dataclass.
ChannelFrozen dataclass.
WebhookDataFrozen dataclass.
EmailDataFrozen dataclass.
AttachmentFrozen dataclass.
ReplyReceiptFrozen dataclass.

Exceptions

See Errors for the tree.

NevoError, AuthError, ConnectionError, HandlerTimeoutError, ReplyError, UnsupportedChannelError, NetworkError, ServerError, RequestError.

Nevo

Nevo(
    token: str,                         # required; must start with nvo_live_
    handler_timeout: float = 30.0,
    reconnect_max_backoff: float = 30.0,
    http_timeout: float = 10.0,
    http_max_retries: int = 3,
    logger: logging.Logger | None = None,
)

Methods:

  • on_event() -> decorator — register the handler (one per client)
  • async run() — connect and stream forever
  • run_sync() — blocking wrapper around run()
  • async reply(event, *, text, html?, subject?, cc?, bcc?) -> ReplyReceipt
  • async close() — stop and release resources
  • async __aenter__ / async __aexit__ — context manager

Full type-stubs ship with the package (py.typed marker). Tooltips in your editor should match this page.