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.

class documentation

Store normalized immutable headers and intended recipients.

Parameters
subjectLiteral subject, including an intentionally empty subject.
from_addressFrom header and transport sender.
toPrimary visible recipients.
ccAdditional visible recipients.
bccHidden transport recipients.
reply_toReply destinations, which are never transport recipients.
Method __init__ Normalize a declarative envelope without performing I/O.
Method recipients Return the stable deduplicated transport recipient union.
Class Variable bcc Undocumented
Class Variable cc Undocumented
Class Variable from_address Undocumented
Class Variable reply_to Undocumented
Class Variable subject Undocumented
Class Variable to Undocumented
def __init__(self, *, subject: str = '', from_address: str | Address | None = None, to: Recipients = (), cc: Recipients = (), bcc: Recipients = (), reply_to: Recipients = ()): (source)

Normalize a declarative envelope without performing I/O.

Parameters
subject:strLiteral subject, including an empty subject.
from_address:str | Address | NoneFrom header and transport sender.
to:RecipientsPrimary visible recipients.
cc:RecipientsAdditional visible recipients.
bcc:RecipientsHidden transport recipients.
reply_to:RecipientsReply destinations, not transport recipients.
Returns
NoneCopy and validate all address collections.
Raises
MailCompositionExceptionIf headers are invalid or a hidden recipient is also visible.
def recipients(self) -> tuple[str, ...]: (source)

Return the stable deduplicated transport recipient union.

Returns
tuple[str, ...]To, Cc, and Bcc addresses without Reply-To.

Undocumented

Undocumented

from_address: Address | None = (source)

Undocumented

reply_to: tuple[Address, ...] = (source)

Undocumented

Undocumented

Undocumented