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.

module documentation

Ensure a string is a valid email address.

Constant _DOMAIN_LABEL alphanumeric edges with optional inner hyphens.
Constant _EMAIL_PATTERN Compiled pattern used to recognize email pattern.
Constant _LOCAL_ATOM dot-separated atoms of RFC 5322 allowed characters.
Constant _MAX_LENGTH Constants for email validation.
Constant _MAX_LOCAL_LENGTH Max local length value used by email.
_DOMAIN_LABEL: str = (source)

alphanumeric edges with optional inner hyphens.

Value
'[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?'
_EMAIL_PATTERN = (source)

Compiled pattern used to recognize email pattern.

Value
re.compile(f'^{_LOCAL_ATOM}(?:\\.{_LOCAL_ATOM})*@{_DOMAIN_LABEL}(?:\\.{_DOMAIN_L↵
ABEL})+$')
_LOCAL_ATOM: str = (source)

dot-separated atoms of RFC 5322 allowed characters.

Value
'[A-Za-z0-9!#$%&\'*+/=?^_`{|}~-]+'
_MAX_LENGTH: int = (source)

Constants for email validation.

Value
254
_MAX_LOCAL_LENGTH: int = (source)

Max local length value used by email.

Value
64