Skip to content

Command line from the Python package

The Python package includes the command-line interface. You do not need to write a Python script or use a notebook.

Install the package

Follow Python setup for the package and environment. The same installation provides both import edi and python -m edi.

Run a command

Activate the environment containing the package, then check the command:

edi --help
python -m edi --help

Pass a saved project directly:

edi fit path/to/project --output fitted-project
python -m edi fit path/to/project --output fitted-project

The Python package's command line also provides calc, export, undo, collection, report and the data and tutorial downloads, plus live fit progress. Use Run a fit for the options, or Run an example to try a complete case.