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

Generate fake data with optional and unique value constraints.

Class _ProviderState Retain the random generator and locale state for fake-data providers.
Class _ProviderView Expose fake-data provider methods through a configured view.
Function _camel_case Normalize a provider method while retaining its original word casing.
Function _provider_aliases Compile immutable aliases for one set of backend member names.
def _camel_case(name: str) -> str: (source)

Normalize a provider method while retaining its original word casing.

Parameters
name:strPublic method name declared by the backend.
Returns
strOrionis camelCase method name.
@lru_cache(maxsize=128)
def _provider_aliases(names: tuple[str, ...]) -> MappingProxyType[str, str]: (source)

Compile immutable aliases for one set of backend member names.

Parameters
names:tuple of strSorted public and private names reported by the backend.
Returns
types.MappingProxyType of str to strShared camelCase aliases containing no bound provider methods.