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

Discover command classes and prepare their runtime registrations.

Class Loader Discover command classes and prepare their runtime registrations.
Function _restore_argument_type Resolve a cached parser callable without hiding its import failures.
Constant _CORE_COMMANDS_PATH Core commands path used by loader.
Constant _MISSING_TYPE Define the sentinel type and command signature pattern.
Constant _SIGNATURE_RE Compiled pattern used to recognize signature re.
def _restore_argument_type(type_name: str) -> Callable[..., object]: (source)

Resolve a cached parser callable without hiding its import failures.

Parameters
type_name:strModule-qualified callable name, including any class nesting.
Returns
collections.abc.Callable[..., object]Resolved argument converter.
Raises
ImportErrorIf the converter cannot be resolved or its module fails to import.
TypeErrorIf the resolved object is not callable.
_CORE_COMMANDS_PATH = (source)

Core commands path used by loader.

Value
Path(__file__).with_name('commands.py').resolve()
_MISSING_TYPE = (source)

Define the sentinel type and command signature pattern.

Value
type(_MISSING)
_SIGNATURE_RE: re.Pattern[str] = (source)

Compiled pattern used to recognize signature re.

Value
re.compile(r'[a-z][a-z0-9]*(?::[a-z][a-z0-9]*(?:-[a-z0-9]+)*)?')