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 console operations through main.

Function main Boot the local application and run CLI commands in the current process.
def main() -> int: (source)

Boot the local application and run CLI commands in the current process.

Load bootstrap.app from the working directory without requiring a Reactor script. Disable bytecode writes in this process and child interpreters, preserving command arguments, standard streams, and the application's command lifecycle.

Notes

Console-script imports happen before this function runs. To prevent their bytecode caches too, set PYTHONDONTWRITEBYTECODE=1 before starting Python.

Returns
intExit code returned by the application's console handler.