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
Provide chainable operations over a string value.
| Function | _pluralize |
Apply the supported regular English plural suffix rules. |
| Function | _replace |
Replace one bounded portion of the current string. |
| Function | _replacement |
Validate and normalize one replacement parameter. |
| Constant | _INTEGER |
Validation message shared by non-integer limit arguments. |
| Constant | _RE |
Word separators shared by camel-case and StudlyCase conversion. |
| Constant | _RE |
Word tokens used to construct headline case. |
| Constant | _RE |
Boundary between a lowercase letter or digit and an uppercase letter. |
| Constant | _RE |
Repeated dashes collapsed during kebab-case conversion. |
| Constant | _RE |
Whitespace and underscore runs replaced by kebab-case separators. |
| Constant | _RE |
Characters excluded by numeric-character extraction. |
| Constant | _RE |
Word segments used by PascalCase pluralization. |
| Constant | _RE |
Whitespace runs collapsed by squish. |
| Constant | _RE |
Uppercase-led words, lowercase words and digit runs for ucsplit. |
| Constant | _ULID |
Crockford Base32 encoding constrained to the 128-bit ULID range. |
Replace one bounded portion of the current string.
| Parameters | |
value:str | Current string after preceding replacements. |
replacement:str | Literal text to insert. |
offset:int | Position counted from the start, or from the end when negative. |
length:int | Nonnegative number of characters to remove; zero inserts text. |
| Returns | |
str | String with the selected portion replaced. |
| Raises | |
ValueError | If the offset is outside the string boundaries. |
Validate and normalize one replacement parameter.
| Parameters | |
value:T or list[T] | Scalar value or explicit sequence of values. |
kind:type[T] | Required type of each value. |
name:str | Public parameter label used in errors. |
| Returns | |
list[T] | Nonempty sequence whose values have the required type. |
| Raises | |
TypeError | If the scalar or a sequence member has an incompatible type. |
ValueError | If an explicit list is empty. |
Boundary between a lowercase letter or digit and an uppercase letter.
| Value |
|
Uppercase-led words, lowercase words and digit runs for ucsplit.
| Value |
|
Crockford Base32 encoding constrained to the 128-bit ULID range.
| Value |
|