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
Undocumented
| Module | key |
Undocumented |
| Module | types |
No module docstring; 0/1 constant, 1/1 function, 0/1 class documented |
From __init__.py:
| Function | |
Validate that the provided environment variable name meets requirements. |
| Variable | |
Undocumented |
Validate that the provided environment variable name meets requirements.
Notes
Pure function — safe to cache with lru_cache. After the first call per unique key, validation is an O(1) dict lookup instead of a regex match.
| Parameters | |
key:str | The environment variable name to validate. |
| Returns | |
str | The validated environment variable name if it meets format requirements. |
| Raises | |
TypeError | If the provided key is not a string. |
ValueError | If the key does not match the required format (must start with an uppercase letter and contain only uppercase letters, digits, or underscores). |