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

Provide startup feedback for console commands.

Class _OutputProxy Delegate output while retiring a startup message before its first write.
Class _StartupFeedback Own the temporary streams and clear the message once, without a thread.
Function _interactive_frame Select a startup message for an eligible interactive console.
Function startup_feedback Show transient feedback during interactive CLI startup.
Function stop_startup_feedback Retire active feedback before executing a resolved command.
Constant _ASCII_FRAME - Inicializando Orionis....
Constant _FRAME ⠋ Inicializando Orionis....
def _interactive_frame(arguments: Sequence[str] | None) -> str | None: (source)

Select a startup message for an eligible interactive console.

Parameters
arguments:collections.abc.Sequence[str] | NoneReactor arguments, including the optional executable token.
Returns
str | NoneUnicode or ASCII message that fits without wrapping. Return None for CI, MCP, redirected streams, nested feedback, dumb terminals, or insufficient terminal width.
def startup_feedback(arguments: Sequence[str] | None) -> Generator[None]: (source)

Show transient feedback during interactive CLI startup.

Use a static message without timers or worker threads. Clear it on the first nonempty text or binary write, or when the context exits. Call stop_startup_feedback before dispatching native output. Disable feedback for pipes, redirection, CI, MCP, dumb terminals, and insufficient terminal width.

Parameters
arguments:collections.abc.Sequence[str] | NoneReactor arguments, including the optional executable token.
Yields
NoneControl to application bootstrap and command execution.
def stop_startup_feedback(): (source)

Retire active feedback before executing a resolved command.

Call before command execution to protect subprocess or os.write output that bypasses the proxies. Do nothing when no proxy is active.

Returns
NoneClear active feedback and restore the original streams.
_ASCII_FRAME: str = (source)

- Inicializando Orionis....

Value
'- Inicializando Orionis...'

⠋ Inicializando Orionis....

Value
'⠋ Inicializando Orionis...'