Orionis foundations
Hi! I’m Cosmo, the stellar lynx of Orionis.
Ready to build your first app? Start with installation, or run your existing project.
Build your application with the tools in Orionis. Choose what you need to develop and start with its guide.
Also included mailcache and locksvalidationtestingtranslations.
Build your application from the official skeleton, then add the features your project needs. You do not need to implement Application, a kernel, or a container to start developing: the generated bootstrap/app.py connects those components.
This manual covers Orionis Framework 1.9.0 and requires Python 3.14 or newer. From the application root, check which framework your project runs:
uv run python -c "from orionis.metadata import VERSION; print(VERSION)"Your first development session
Section titled “Your first development session”- Install and create a project: prepare uv and Git, choose a stack, and create the application’s environment.
- Start the application: run the server from the project root and open the URL shown in the console.
- Configure the application: use
.envfor deployment values andconfig/for typed settings. - Add your first HTTP route, then choose templates or a JSON API.
- Write and run a test before adding persistence, authentication, background jobs, Realtime, or MCP.
Commands in the application guides use uv run python -B reactor ... from the generated project root. This selects that project’s environment. The separate uvx --from orionis-installer ... invocation creates a new project.
Overview
Section titled “Overview”Application extends the dependency-injection Container and is the object exported from orionis. It is simultaneously the bootstrap coordinator, ASGI/RSGI entry point, CLI dispatcher, configuration repository, path registry, provider loader, and lifecycle owner.
Foundation also defines frozen configuration entities for every major subsystem, immutable core metadata, the Directory path service, runtime/lifespan enums, and startup/shutdown presentation. Most applications configure it in bootstrap/app.py, call create(), and let the HTTP server or Reactor drive runtime startup.
Project layout
Section titled “Project layout”The generated project supplies the application root, bootstrap module and route files. Orionis builds its native configuration defaults and applies the frozen dataclasses it discovers under config/. Add your own dataclass there to define a configuration section.
A route file you register in bootstrap/app.py must exist. It may be empty. When you add routes, import the facade through orionis.support.facades, as shown in the first controller example.
Module learning path
Section titled “Module learning path”- API reference: classes, methods, and signatures
- Application architecture and lifecycle
- Application lifecycle and resource ownership
- Typed configuration and runtime values
- Prepare a deployment
- Creating and starting an application
- Directories and bootstrap caching
See also environment variables, dependency injection, HTTP and console commands.