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.
class documentation
class App(BaseEntity): (source)
Represent application configuration settings.
| Parameters | |
| name | The name of the application. Default is 'Orionis Application'. |
| env | The environment in which the application is running. Default is 'DEVELOPMENT'. |
| debug | Whether debug mode is enabled. Default is True. |
| timezone | The timezone of the application. Default is 'UTC'. |
| locale | The locale for the application. Default is 'en'. |
| fallback | The locale used when a translation is missing. Default is 'en'. |
| language | Relative path to the JSON translation files. Default is 'resources/lang/'. |
| cipher | The cipher used for encryption. Default is 'AES_256_CBC'. |
| key | The encryption key, normalized to bytes. None generates a persistent key. |
| maintenance | Whether maintenance mode is enabled. Default is False. |
| Method | __post |
Validate application options and normalize their values. |
| Method | __validate |
Validate and normalize the encryption key for cipher consumers. |
| Class Variable | cipher |
Undocumented |
| Class Variable | debug |
Undocumented |
| Class Variable | env |
Undocumented |
| Class Variable | fallback |
Undocumented |
| Class Variable | key |
Undocumented |
| Class Variable | language |
Undocumented |
| Class Variable | locale |
Undocumented |
| Class Variable | maintenance |
Undocumented |
| Class Variable | name |
Undocumented |
| Class Variable | timezone |
Undocumented |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |