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

Undocumented

Function _application_locale Read the configured locale without initializing an application.
Function create_faker Create the optional provider with an independent random generator.
def _application_locale() -> str: (source)

Read the configured locale without initializing an application.

Returns
strCurrent app.locale, or English if configuration is unavailable.
def create_faker(locale: str | None, seed: int | None) -> Fake: (source)

Create the optional provider with an independent random generator.

Parameters
locale:str or NoneExplicit locale override, or None to read app.locale. Unsupported locales fall back to English (en_US).
seed:int or NoneReproducible seed, or system entropy when omitted.
Returns
FakeTyped Orionis facade over the instance-local data provider.
Raises
FactoryDependencyExceptionIf the optional factories extra is not installed.