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

Render templates asynchronously through the configured Jinja2 environment.

Class Jinja2Engine Render templates with Jinja2 through the view-engine contract.
Constant _DEFAULT_EXT Template extension appended when the identifier carries no extension.
Constant _PATH_CACHE Store recently normalized template identifiers and their loader paths.
Constant _PATH_CACHE_LOCK Synchronization primitive controlling access to path cache lock.
Constant _PATH_CACHE_MAX Path cache max value used by engine.
Constant _TEMPLATE_WORKERS Template workers used by engine.
_DEFAULT_EXT: str = (source)

Template extension appended when the identifier carries no extension.

Value
'.html'

Store recently normalized template identifiers and their loader paths.

Value
OrderedDict()
_PATH_CACHE_LOCK = (source)

Synchronization primitive controlling access to path cache lock.

Value
Lock()
_PATH_CACHE_MAX: int = (source)

Path cache max value used by engine.

Value
1024
_TEMPLATE_WORKERS = (source)

Template workers used by engine.

Value
BoundedExecutor(2,
                max_pending=64, name='orionis-template')