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

Undocumented

Function current_time Return wall-clock epoch seconds with sub-second precision.
Function validate_name Validate a logical queue or connection name.
Function validate_seconds Validate a finite duration in seconds.
Constant _NAME_PATTERN Undocumented
def current_time() -> float: (source)

Return wall-clock epoch seconds with sub-second precision.

Returns
floatCurrent time from the framework's DateTime abstraction.
def validate_name(value: str, label: str) -> str: (source)

Validate a logical queue or connection name.

Parameters
value:strName supplied by configuration or a caller.
label:strDescription included in validation errors.
Returns
strThe validated name.
def validate_seconds(value: float, label: str, *, positive: bool = False) -> float: (source)

Validate a finite duration in seconds.

Parameters
value:floatDuration to validate.
label:strDescription included in validation errors.
positive:bool, optionalRequire a strictly positive duration.
Returns
floatThe normalized duration.
_NAME_PATTERN = (source)

Undocumented

Value
re.compile(r'[A-Za-z0-9][A-Za-z0-9_\.-]{,127}\Z')