Python Tooling

Run Python 3.13 programs with Elide

Elide 1.5.0 includes a Python 3.13 runtime and standard library. A separate CPython installation is not required for scripts that use the included modules.

Python support remains less complete than Elide’s JavaScript support. Check the Compatibility Matrix before adopting it for an existing application.

Run a script

Elide detects Python from the .py extension:

elide app.py
elide run app.py

The Python-shaped command also works:

elide python app.py
elide python -c 'print("Hello from Python")'
elide python -m json.tool input.json

Arguments after the script become sys.argv entries:

elide python cli.py --name Elide --count 2

The python command supports script, -c, and -m module execution.

Inspect the runtime included in your build:

elide python -c 'import sys; print(sys.version)'

Third-party packages

Elide 1.5.0 does not include a PyPI installer. elide install --ecosystems=pypi reports that the ecosystem is unavailable.

Packages already installed into a virtual environment can be made available by setting VIRTUAL_ENV before running Elide:

export VIRTUAL_ENV=/path/to/venv
elide python app.py

The package must still be compatible with Elide’s Python runtime and the current platform. Packages requiring unsupported native extensions may not load.

See Elide and Python for runtime APIs and inter-language examples.