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.

package documentation

Undocumented

Module file Undocumented
Module smtp No module docstring; 0/1 constant, 2/2 functions documented

From __init__.py:

Class FileTransport Publish complete private .eml files atomically without overwriting.
Class SmtpTransport Use one verified SMTP connection per message, entirely on a worker.
Function create_file_transport Build a file transport anchored to the application, never the process cwd.
Function create_smtp_transport Build SMTP from the central configuration without network activity.
def create_file_transport(app: IApplication, config: Mapping[str, object]) -> IMailTransport: (source)

Build a file transport anchored to the application, never the process cwd.

Parameters
app:IApplicationContainer exposing the absolute application root.
config:Mapping[str, object]Normalized selected mailer configuration.
Returns
IMailTransportA transport that creates no files until a message is sent.
Raises
MailConfigurationExceptionIf the configured output path is empty, invalid, or drive-relative.
def create_smtp_transport(app: IApplication, config: Mapping[str, object]) -> IMailTransport: (source)

Build SMTP from the central configuration without network activity.

Parameters
app:IApplicationContainer supplied uniformly to every transport factory.
config:Mapping[str, object]Normalized selected mailer settings.
Returns
IMailTransportConfigured connection-per-message SMTP transport.
Raises
MailConfigurationExceptionIf the effective SMTP settings are invalid.