ORIONIS API REFERENCE

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

Ensure a string is a valid RFC 9562 universally unique identifier.

Constant _UUID_PATTERN Compiled pattern used to recognize uuid pattern.
Constant _VARIANT_INDEX Variant index value used by uuid_string.
Constant _VARIANT_NIBBLES Nibbles marking the RFC 9562 variant in the third group of the identifier.
Constant _VERSION_INDEX Offsets of the version and variant nibbles in the canonical representation.
Constant _VERSIONS Versions defined by RFC 9562.
_UUID_PATTERN = (source)

Compiled pattern used to recognize uuid pattern.

Value
re.compile(r'^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-↵
fA-F]{12}$')
_VARIANT_INDEX: int = (source)

Variant index value used by uuid_string.

Value
19
_VARIANT_NIBBLES: frozenset[str] = (source)

Nibbles marking the RFC 9562 variant in the third group of the identifier.

Value
frozenset('89ab')
_VERSION_INDEX: int = (source)

Offsets of the version and variant nibbles in the canonical representation.

Value
14

Versions defined by RFC 9562.

Value
frozenset(set([1, 3, 4, 5, 6, 7, 8]))