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 support types operations through unique_items.
| Function | _comparison |
Build hashable equality keys or select the linear comparison fallback. |
| Function | _structural |
Build equality-compatible keys only for exact built-in value trees. |
| Function | unique |
Preserve the first item for each equality key, with a safe tree fast path. |
| Constant | _SCALARS |
Exact scalar types whose native equality supports structural indexing. |
| Constant | _SMALL |
Maximum input size for which linear unhashable comparison avoids index overhead. |
| Constant | _UNSUPPORTED |
Sentinel distinguishing unsupported from ordinary values. |
Preserve the first item for each equality key, with a safe tree fast path.
| Parameters | |
items:list[T] | Values whose order and identity are preserved. |
selector:collections.abc.Callable[[T], object] | Explicit business identity, or the value itself. |
| Returns | |
list[T] | First representatives. Arbitrary unhashable objects and cycles retain Python equality fallback; no universal hash is assumed for custom types. |