https://github.com/dharmatech/combine-equations.py
https://github.com/dharmatech/combine-equations.py
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dharmatech/combine-equations.py
- Owner: dharmatech
- Created: 2026-01-04T21:54:46.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2026-02-06T19:56:57.000Z (4 months ago)
- Last Synced: 2026-03-31T06:35:37.124Z (3 months ago)
- Language: Python
- Size: 8.16 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
This is a set of experimental Python modules for solving equations in Sympy.
## `display_equations_`
`display_equations_` shows
- known values in green 🟢
- wanted value in red 🔴
- unknown values in default color

## Interactive equation solver
```
python .\examples\eq-gui\demo_gui_features.py
```

Video demo of the interactive equation editor:
https://youtu.be/O837G7cj5fE?si=wk4sURLNVGvgSIRq
This uses the `tkinter` Python library. So it's a native GUI.
## Interactive equation solver for JupyterLite Notebooks

Video demo:
https://youtu.be/7ysUdxTfKhU?si=KQiYmqjUhq6nNjXn
Notebook used in the demo available here:
https://github.com/dharmatech/github-pages-test
You can try out the interactive equation solver without installing anything as it runs in a browser.
## Examples
Examples from the textbook University Physics are here: [examples/up](examples/up).
## Install from github
```
uv pip install 'git+https://github.com/dharmatech/combine-equations.py'
```
## Install from cloned repository
```bash
git clone https://github.com/dharmatech/combine-equations.py.git
cd combine-equations.py
uv pip install -e .
```
Run examples:
```
python .\examples\eq-gui\demo_gui_features.py
python .\examples\up\ch4\up-example-4.7\up-example-4.7-000.py
```
## Testing
Install dev dependencies and run tests:
```bash
uv pip install -e ".[dev]"
uv run pytest
```