Skip to main content
Version: 0.2.2

Installation

Requirements

  • Python 3.10 or newer
  • pip or uv (recommended)

Install from PyPI

pip install synapsys
uv add synapsys

Install from source

git clone https://github.com/synapsys-lab/synapsys.git
cd synapsys
uv sync --extra dev

Optional dependencies

ExtraCommandWhat it adds
devuv sync --extra devpytest, ruff, mypy, matplotlib
mlpip install synapsys torchPyTorch for Neural-LQR and RL controller examples
vizpip install synapsys pyvista imageioPyVista 3D visualisation and GIF export (quadcopter example)
note

ml and viz are not packaged as PyPI extras because their wheel sizes and platform support vary widely. Install them separately as shown above.

Verify installation

import synapsys
print(synapsys.__version__)