Installation

MechanicsDSL supports Python 3.9 and newer. It relies on numpy, scipy, sympy, and matplotlib.

Installing via pip

The easiest way to install MechanicsDSL is via pip:

pip install mechanics-dsl

Dependencies

  • NumPy: Numerical array operations.

  • SciPy: Advanced ODE solvers (LSODA, RK45).

  • SymPy: Symbolic mathematics engine for deriving equations.

  • Matplotlib: Visualization and animation.

Optional Dependencies

  • ffmpeg: Required if you want to save animations as MP4 files.