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
Compile declared routes into runtime dispatch metadata.
| Class | |
Compile declared routes into runtime dispatch metadata. |
| Function | _action |
Return an importable handler name for boot-time dispatch and caching. |
| Function | _register |
Require one unambiguous URL template per route name. |
| Function | _validate |
Reject unmatched braces and malformed parameter declarations. |
| Constant | _NAMED |
Precompiled pattern to normalise named capture groups for collision detection. |
| Constant | _PARAM |
Match path parameter placeholders, including optional converter names. |
Return an importable handler name for boot-time dispatch and caching.
| Parameters | |
handler:collections.abc.Callable | type | Value supplied for handler. |
| Returns | |
str | An importable handler name for boot-time dispatch and caching. |
| Raises | |
ValueError | If the handler is local to a function and cannot be imported at boot. |
Reject unmatched braces and malformed parameter declarations.
| Parameters | |
fragment:str | Value supplied for fragment. |
path:str | Value supplied for path. |
| Returns | |
None | Complete the documented operation without returning a value. |
| Raises | |
ValueError | If a literal fragment contains a parameter delimiter. |
Precompiled pattern to normalise named capture groups for collision detection.
| Value |
|
Match path parameter placeholders, including optional converter names.
| Value |
|