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

Validate application Python sources without writing bytecode.

Class OptimizeCommand Validate application Python sources without writing bytecode.
Constant _ACTIVE_VENV_BASENAME Active venv basename used by optimize.
Constant _VENV_DIR_NAMES Venv dir names used by optimize.
Variable _SKIP_DIRS Skip dirs used by optimize.
_ACTIVE_VENV_BASENAME: str = (source)

Active venv basename used by optimize.

Value
Path(sys.prefix).name if sys.prefix != sys.base_prefix else ''
_VENV_DIR_NAMES: frozenset[str] = (source)

Venv dir names used by optimize.

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

Skip dirs used by optimize.