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
Share resolved socket, logging and static settings across server strategies.
An optional public disk is mounted when its directory exists.
| Class Method | resolve |
Read application settings and apply explicit command arguments. |
| Instance Variable | host |
Address on which the server listens. |
| Instance Variable | interface |
Application protocol requested by the launcher. |
| Instance Variable | log |
Minimum Granian log level, or None to disable server logging. |
| Instance Variable | mount |
Existing directory from which Granian serves the public disk. |
| Instance Variable | port |
TCP port on which the server listens. |
| Instance Variable | production |
Whether to apply the production worker and reload settings. |
| Instance Variable | root |
Absolute application directory used to launch Granian. |
| Instance Variable | route |
Decoded URL path under which the public disk is mounted. |
Read application settings and apply explicit command arguments.
| Parameters | |
app:IApplication | Configured application to serve. |
arguments:dict | Parsed CLI overrides including host, port and interface. |
| Returns | |
ServeOptions | Effective options for both native and embedded Granian servers. |