/symplyphysics

Physics laws implemented as code

Primary LanguagePythonMIT LicenseMIT

Description

Physics laws implemented as code. Based on SymPy Python library.

Sample generated plots

Carnot Cycle Floating Body

How to install

pip install .

Install with matplotlib for plotting support:

pip install .[plots]

NOTE: for Windows users Python/Scripts folder should be added to the PATH environment variable

How to install for development (local installation)

pip install -e .[dev,plots]

How to run

Install symplyphysics and run:

cd examples/force_from_acceleration
python3 main.py

How to test

Install with pytest:

pip install .[dev]

Run tests:

pytest