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 expansion once and verify every inverse result by expansion.
| Class | |
Compile expansion once and verify every inverse result by expansion. |
| Function | _decode |
Decode URI variables while checking repeated variable consistency. |
| Function | _expansion |
Preserve Orionis scalar formatting and mapping order during RFC expansion. |
| Function | _simple |
Compile safe simple-string inverses; other expressions need a match hook. |
| Function | _uppercase |
Normalize the hexadecimal digits of one percent escape. |
| Function | _validate |
Require RFC 6570 syntax before compiling a resource template. |
| Function | validate |
Require an absolute URI without malformed escapes or literal controls. |
| Constant | _ESCAPE |
Compiled pattern used to recognize escape. |
| Constant | _EXPRESSION |
Compiled pattern used to recognize expression. |
| Constant | _INVALID |
Compiled pattern used to recognize invalid literal. |
| Constant | _MODIFIER |
(?::[1-9]\d{0,3}|\*)?. |
| Constant | _PART |
Compiled pattern used to recognize part. |
| Constant | _SCHEME |
Compiled pattern used to recognize scheme. |
| Constant | _SIMPLE |
Compiled pattern used to recognize simple. |
| Constant | _VARNAME |
(?:\w|%[0-9A-Fa-f]{2})++(?:\.(?:\w|%[0-9A-Fa-f]{2})++)*+. |
Compile safe simple-string inverses; other expressions need a match hook.
| Parameters | |
template:str | Value supplied for template. |
| Returns | |
tuple[re.Pattern[str], tuple[str, ...]] | None | Result of the operation described above. |
Normalize the hexadecimal digits of one percent escape.
| Parameters | |
match:re.Match[str] | Matched percent escape. |
| Returns | |
str | Escape with uppercase hexadecimal digits. |
Compiled pattern used to recognize expression.
| Value |
|
Compiled pattern used to recognize invalid literal.
| Value |
|