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

Run component bootstrapping through native Reactor output and injection.

Method _execute Generate resources and invalidate existing compiled state if changed.
Method _writeAction Write one aligned resource action with a single colored status.
Method bootstrap Enable this command's routing context.
Async Method handle Generate resources off the event loop and report the actual result.
Class Variable _action_styles Console styles assigned to bootstrap resource actions.
Class Variable context Runtime context made available to the operation and its callbacks.
Class Variable timestamps Timestamps flag used by BootstrapCommand.
def _execute(self, app: IApplication) -> list[tuple[str, str]]: (source)

Generate resources and invalidate existing compiled state if changed.

Parameters
app:orionis.IApplicationApplication providing its configured compiled cache directory.
Returns
list[tuple[str, str]]Completed generation and cache invalidation actions.
def _writeAction(self, action: str, resource: str): (source)

Write one aligned resource action with a single colored status.

Parameters
action:strCompleted resource action to display.
resource:strResource path or explanation associated with the action.
Returns
NonePrint one uniformly aligned row through Reactor's console output.
def bootstrap(self, app: IApplication) -> list[tuple[str, str]]: (source)

Enable this command's routing context.

Parameters
app:orionis.IApplicationConfigured application injected by Reactor.
Returns
list[tuple[str, str]]Successful resource actions.
async def handle(self, app: IApplication) -> int: (source)

Generate resources off the event loop and report the actual result.

Parameters
app:orionis.IApplicationConfigured application injected by Reactor.
Returns
intZero on success; one if generation or integration fails.
_action_styles: ClassVar[dict[str, ANSIColors]] = (source)

Console styles assigned to bootstrap resource actions.

timestamps: bool = (source)

Timestamps flag used by BootstrapCommand.