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

Group the mail components and public imports.

Module composer Prepare all bodies and attachments before any transport side effect.
Package contracts Group the mail contracts components and public imports.
Package entities Group the mail entities components and public imports.
Package enums Group the mail enums components and public imports.
Module exceptions Provide mail operations.
Module functions Provide mail operations.
Module mailable Declare reusable mail without I/O or per-send mutation.
Module manager Resolve central mail configuration and delegate the shared fluent pipeline.
Module message Configure one direct send without exposing a mutable MIME message.
Module pending Build independent chains; every fluent call returns a new operation.
Module provider Register mail eagerly so synchronous fluent facade entries work immediately.
Package transports Group the mail transports components and public imports.
Module types Define types for mail.

From __init__.py:

Class Mailable Declare reusable mail without I/O or per-send mutation.
Class Message Configure one direct send without exposing a mutable MIME message.
Class PendingMail Build independent chains; every fluent call returns a new operation.
Function __dir__ List loaded attributes and declared public exports.
Function __getattr__ Resolve and cache a public package export.
Constant _EXPORTS Public export names mapped to their defining modules and attributes.
def __dir__() -> list[str]: (source)

List loaded attributes and declared public exports.

Returns
list[str]Sorted attribute names available on this package.
def __getattr__(name: str) -> object: (source)

Resolve and cache a public package export.

Parameters
name:strPublic attribute requested from this package.
Returns
objectExported object from its defining module.
Raises
AttributeErrorIf the requested attribute is not exported.
_EXPORTS: dict = (source)

Public export names mapped to their defining modules and attributes.

Value
{'Address': ('orionis.mail.entities.address', 'Address'),
 'Attachment': ('orionis.mail.entities.attachment', 'Attachment'),
 'Content': ('orionis.mail.entities.content', 'Content'),
 'Envelope': ('orionis.mail.entities.envelope', 'Envelope'),
 'MailResult': ('orionis.mail.entities.result', 'MailResult'),
 'MailStatus': ('orionis.mail.enums.status', 'MailStatus'),
 'Mailable': ('orionis.mail.mailable', 'Mailable'),
...