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 after_startup_orionis_generator Render the server status panel after a successful startup.
Function before_startup_orionis_generator Render a brief startup panel before the server begins accepting requests.
Function startup_orionis_generator Yield control between the pre- and post-startup display steps.
Constant _BEFORE_STARTUP_PANEL Undocumented
Constant _INTERFACE_LABELS Undocumented
Variable _console Undocumented
def after_startup_orionis_generator(host: str, port: int): (source)

Render the server status panel after a successful startup.

Parameters
host:strHostname used to bind the server.
port:intPort number used to bind the server.
Returns
NonePrints the status panel to stdout and returns nothing.
def before_startup_orionis_generator(): (source)

Render a brief startup panel before the server begins accepting requests.

Returns
NoneLeave the startup panel visible while lifecycle hooks execute.
def startup_orionis_generator(app: IApplication) -> Generator[None]: (source)

Yield control between the pre- and post-startup display steps.

Parameters
app:IApplicationApplication instance used to read config values and mode flags.
Returns
Generator[None, None, None]Yields once; pre-startup runs before the yield, post-startup after.
_BEFORE_STARTUP_PANEL: Panel = (source)

Undocumented

Value
Panel(Text('⚡ Starting the Orionis server...', style='bold green'),
      title='Orionis Startup', border_style='green', padding=(1, 1))
_INTERFACE_LABELS: dict[str, str] = (source)

Undocumented

Value
{'rsgi': '🦀 RSGI: Rust Network Protocol Servers',
 'asgi': '⚡ ASGI: Asynchronous Server Gateway Interface',
 'default': '🔧 Auto-detected'}
_console = (source)

Undocumented