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

Remove generated optimization artifacts from the application.

Class OptimizeClearCommand Remove generated optimization artifacts from the application.
Constant _ACTIVE_VENV_BASENAME Active venv basename used by optimize_clear.
Constant _BUILD_DIR_NAMES Build dir names definitions used by optimize_clear.
Constant _BYTECODE_SUFFIXES Bytecode suffixes used by optimize_clear.
Constant _COMPILED_CACHE_FILES Compiled cache files definitions used by optimize_clear.
Constant _VENV_DIR_NAMES Venv dir names used by optimize_clear.
Variable _SKIP_DIRS Skip dirs used by optimize_clear.
_ACTIVE_VENV_BASENAME: str = (source)

Active venv basename used by optimize_clear.

Value
Path(sys.prefix).name if sys.prefix != sys.base_prefix else ''
_BUILD_DIR_NAMES: tuple[str, ...] = (source)

Build dir names definitions used by optimize_clear.

Value
('build', 'dist')
_BYTECODE_SUFFIXES: frozenset[str] = (source)

Bytecode suffixes used by optimize_clear.

Value
frozenset(set(['.pyc', '.pyo']))
_COMPILED_CACHE_FILES: tuple[str, ...] = (source)

Compiled cache files definitions used by optimize_clear.

Value
('config', 'commands', 'routes')
_VENV_DIR_NAMES: frozenset[str] = (source)

Venv dir names used by optimize_clear.

Value
frozenset(set(['.venv', 'venv', 'env', '.env', 'virtualenv']))

Skip dirs used by optimize_clear.