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.
package documentation
Group the localization components and public imports.
| Package | contracts |
Group the localization contracts components and public imports. |
| Module | exceptions |
Provide localization operations. |
| Module | loader |
Load translation sources from the configured language path. |
| Module | manager |
Wire the localization component from the application configuration. |
| Module | provider |
Service provider for the Orionis localization system. |
| Module | repository |
Cache translation maps in memory by locale. |
| Module | translator |
Resolve translation lines for the active locale. |
| Module | types |
Define types for localization. |
| Module | validators |
Validate locale codes shared by translators and filesystem loaders. |
From __init__.py:
| Class | |
Wire the localization component from the application configuration. |
| Class | |
Load translation sources from the configured language path. |
| Class | |
In-memory cache of translation maps keyed by locale. |
| Class | |
Resolve translation lines for the active locale. |
| Exception | |
Raised when a locale code is empty, malformed, or unsafe. |
| Exception | |
Base exception for all localization-related errors. |
| Exception | |
Raised when a translation file cannot be found on disk. |
| Exception | |
Raised when a translation file contains invalid JSON or structure. |
| Function | __dir__ |
List loaded attributes and declared public exports. |
| Function | __getattr__ |
Resolve and cache a public package export. |
| Constant | _EXCEPTION |
Module defining the public localization exception types. |
| Constant | _EXPORTS |
Public export names mapped to their defining modules and attributes. |
Resolve and cache a public package export.
| Parameters | |
name:str | Public attribute requested from this package. |
| Returns | |
object | Exported object from its defining module. |
| Raises | |
AttributeError | If the requested attribute is not exported. |
Public export names mapped to their defining modules and attributes.
| Value |
|