Installation

Stable release

Install the latest version from PyPI:

pip install pydysp

(Recommended for most users.)

Install from source

To install the development version directly from GitHub:

git clone https://github.com/dkaramitros/pyDySP.git
cd pyDySP
pip install -e .

This installs pyDySP in editable mode, allowing you to modify the source and immediately see the changes without re-installing.

Optional: Jupyter kernel

If you want to run the example notebooks:

pip install ipykernel
python -m ipykernel install --user --name pydysp-env

(You may choose any kernel name.)

Optional: sdypy (for modal analysis)

The modal identification tools require the sdypy-EMA package:

pip install sdypy-EMA

Environment management

You may wish to use a virtual environment:

venv

python -m venv .venv
source .venv/bin/activate    # macOS / Linux
.venv\Scripts\activate       # Windows
pip install pydysp

Conda / Mamba

mamba create -n pydysp python=3.11 pip
mamba activate pydysp
pip install pydysp