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
Group the mail transports components and public imports.
| Module | file |
Publish complete private .eml files atomically without overwriting. |
| Module | smtp |
Use one verified SMTP connection per message, entirely on a worker. |
From __init__.py:
| Class | |
Publish complete private .eml files atomically without overwriting. |
| Class | |
Use one verified SMTP connection per message, entirely on a worker. |
| Function | __dir__ |
List loaded attributes and declared public exports. |
| Function | __getattr__ |
Resolve and cache a public package export. |
| Function | create |
Build a file transport anchored to the application, never the process cwd. |
| Function | create |
Build SMTP from the central configuration without network activity. |
| Constant | _EXPORTS |
Public export names mapped to their defining modules and attributes. |
Resolve and cache a public package export.
| Parameters | |
name:str | Public attribute requested from this package. |
| Returns | |
object | Exported object from its defining module. |
| Raises | |
AttributeError | If the requested attribute is not exported. |
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:orionis.IApplication | Container exposing the absolute application root. |
config:collections.abc.Mapping[str, object] | Normalized selected mailer configuration. |
| Returns | |
orionis.mail.contracts.IMailTransport | A transport that creates no files until a message is sent. |
| Raises | |
orionis.mail.exceptions.MailConfigurationException | If 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:orionis.IApplication | Container supplied uniformly to every transport factory. |
config:collections.abc.Mapping[str, object] | Normalized selected mailer settings. |
| Returns | |
orionis.mail.contracts.IMailTransport | Configured connection-per-message SMTP transport. |
| Raises | |
orionis.mail.exceptions.MailConfigurationException | If the effective SMTP settings are invalid. |
Public export names mapped to their defining modules and attributes.
| Value |
|