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

Load and render source templates used by code-generation commands.

Class Stub Load and render source templates used by code-generation commands.
Constant _CLASS_NAME_PLACEHOLDERS Class name placeholders definitions used by stub.
Constant _EXTENSION_RE Compiled pattern used to recognize extension re.
Constant _NAME_RE Validate names containing lowercase letters, digits, and underscores.
Constant _TEMPLATE_DIR Template dir used by stub.
_CLASS_NAME_PLACEHOLDERS: tuple[str, str] = (source)

Class name placeholders definitions used by stub.

Value
('{{ class_name }}', '{{class_name}}')
_EXTENSION_RE: re.Pattern[str] = (source)

Compiled pattern used to recognize extension re.

Value
re.compile(r'[a-z][a-z0-9]*')

Validate names containing lowercase letters, digits, and underscores.

Value
re.compile(r'[a-z][a-z0-9_]*')
_TEMPLATE_DIR: Path = (source)

Template dir used by stub.

Value
Path(__file__).parent