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

class Address: (source)

View In Hierarchy

Represent one mailbox with an optional Unicode display name.

Parameters
addressSingle addr-spec, never a comma-separated list or a display-name form.
nameOptional visible name.
Method __post_init__ Parse a mailbox using the standard email header parser.
Method asHeader Build a standard immutable address header value.
Class Variable address Undocumented
Class Variable name Undocumented
def __post_init__(self): (source)

Parse a mailbox using the standard email header parser.

Returns
NoneNormalize only the domain and preserve local-part case.
Raises
MailCompositionExceptionIf the mailbox is invalid or contains ambiguous header syntax.
def asHeader(self) -> HeaderAddress: (source)

Build a standard immutable address header value.

Returns
HeaderAddressThe mailbox with its optional display name.

Undocumented

name: str | None = (source)

Undocumented