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
Delegate output while retiring a startup message before its first write.
| Method | __enter__ |
Enter the wrapped stream's context and return this proxy. |
| Method | __exit__ |
Exit the wrapped stream's context with its exception details. |
| Method | __getattr__ |
Delegate an unresolved attribute to the wrapped stream. |
| Method | __init__ |
Initialize a stream proxy with shared startup feedback. |
| Method | write |
Write data and retire feedback before nonempty output. |
| Method | writelines |
Write each line through the proxy without adding separators. |
| Instance Variable | _buffer |
Binary-stream proxy corresponding to the text output wrapper. |
| Instance Variable | _stream |
Wrapped stream that receives delegated operations. |
| Instance Variable | feedback |
Controller that clears the startup message before output. |
| Property | buffer |
Return a cached proxy for the wrapped stream's binary buffer. |
Enter the wrapped stream's context and return this proxy.
| Returns | |
typing.Self | This proxy after entering the wrapped stream's context. |
Exit the wrapped stream's context with its exception details.
| Parameters | |
*arguments:object | Exception type, exception value, and traceback to forward. |
| Returns | |
bool | None | Exception-suppression result returned by the wrapped stream. |
Initialize a stream proxy with shared startup feedback.
| Parameters | |
stream:typing.TextIO | typing.BinaryIO | Wrapped stream that receives delegated operations. |
feedback:orionis.console.startup._StartupFeedback | Controller that clears the startup message before output. |
| Returns | |
None | Store the stream and controller without creating a buffer proxy. |
Write data and retire feedback before nonempty output.
| Parameters | |
value:str | bytes | bytearray | memoryview | Text or binary data; empty values leave feedback unchanged. |
| Returns | |
int | Number of characters or bytes written by the wrapped stream. |
Write each line through the proxy without adding separators.
| Parameters | |
lines:collections.abc.Iterable[str | bytes] | Text or binary lines to forward in iteration order. |
| Returns | |
None | Forward each line through write to retire active feedback. |
Return a cached proxy for the wrapped stream's binary buffer.
| Returns | |
orionis.console.startup._OutputProxy | Binary buffer proxy sharing the same feedback controller. |