ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Define types for mail.

Type Alias Delivery Shared preparation and transport entry point owned by the manager.
Type Alias MessageCallback Operation-local configurator invoked once for a direct send.
Type Alias TransportFactory Driver factory registered through the manager extension point.

Shared preparation and transport entry point owned by the manager.

Value
Callable[[(str | None), Envelope, Content, tuple[Attachment, ...]], Awaitable[MailResult]]

Operation-local configurator invoked once for a direct send.

Value
Callable[[Message], Message | Awaitable[Message | None] | None]
TransportFactory: typing.TypeAlias = (source)

Driver factory registered through the manager extension point.

Value
Callable[[IApplication, Mapping[str, object]],
         IMailTransport | Awaitable[IMailTransport]]