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.
package documentation
Group the http components and public imports.
| Package | adapters |
Group the http adapters components and public imports. |
| Package | base |
Group the http base components and public imports. |
| Package | contracts |
Group the http contracts components and public imports. |
| Package | default |
Group the http default components and public imports. |
| Package | enums |
Group the http enums components and public imports. |
| Package | exceptions |
Group the http exceptions components and public imports. |
| Module | factory |
Build every kind of HTTP response from a single entry-point. |
| Module | kernel |
Serve concurrent requests within one worker event loop. |
| Package | layer |
Group the http layer components and public imports. |
| Module | middleware |
Base class for HTTP middleware implementations. |
| Package | payload |
Group the http payload components and public imports. |
| Module | request |
Provide http operations through UnsupportedMediaTypeException, Request. |
| Module | responses |
Provide http operations. |
| Package | routes |
Group the http routes components and public imports. |
| Module | sse |
Represent one immutable UTF-8 server-sent event. |
| Module | types |
Define types for http. |
| Module | validation |
Provide http operations through validation_response, previous_url. |
| Module | websocket |
Own one server-independent connection with direct awaited messaging. |
| Module | websocket |
Provide http operations. |
| Module | websocket |
Define a connection middleware resolved inside each WebSocket scope. |
From __init__.py:
| Class | |
Base class for HTTP middleware implementations. |
| Class | |
Stream typed server-sent events through the existing response transport. |
| Class | |
Serve a filesystem resource through an HTTP response. |
| Class | |
Render an HTML response with the corresponding content type. |
| Class | |
Encode a JSON response while preserving response metadata. |
| Class | |
Return a plain-text HTTP response. |
| Class | |
Return an HTTP redirect to the configured location. |
| Class | |
Expose HTTP request metadata, input, authentication and session state. |
| Class | |
Represent an HTTP response with status, headers, cookies and body. |
| Class | |
Build every kind of HTTP response from a single entry-point. |
| Class | |
Store validated immutable content for independent response instances. |
| Class | |
Represent one immutable UTF-8 server-sent event. |
| Class | |
Stream response chunks without buffering the complete body. |
| Class | |
Own one server-independent connection with direct awaited messaging. |
| Class | |
Retain an immutable message without copying its payload. |
| Class | |
Identify a normalized complete WebSocket message. |
| Class | |
Define a connection middleware resolved inside each WebSocket scope. |
| Class | |
Describe the connection lifecycle independently of its server. |
| Exception | |
Report a terminal connection failure with available close details. |
| Function | __dir__ |
List loaded attributes and declared public exports. |
| Function | __getattr__ |
Resolve and cache a public package export. |
| Constant | _EXPORTS |
Public export names mapped to their defining modules and attributes. |
| Constant | _WEBSOCKET |
Module path used to resolve the public WebSocket message exports. |
| Type Alias | |
Every object built by the response factory derives from Response, so this single alias annotates any handler regardless of its content type. |
| Type Alias | |
No-arg async callable that advances to the next middleware layer. |
| Type Alias | |
Type alias for Callable[[], Awaitable[None]]. |
| Variable | response |
Stateless factory shared by every controller; safe to import directly. |
Resolve and cache a public package export.
| Parameters | |
name:str | Public attribute requested from this package. |
| Returns | |
object | Exported object from its defining module. |
| Raises | |
AttributeError | If the requested attribute is not exported. |
Public export names mapped to their defining modules and attributes.
| Value |
|
Module path used to resolve the public WebSocket message exports.
| Value |
|
Every object built by the response factory derives from Response, so this single alias annotates any handler regardless of its content type.
| Value |
|
No-arg async callable that advances to the next middleware layer.
| Value |
|