Thermodiff
thermodiff is a lightweight Python package designed to simplify the symbolic differentiation and manipulation of thermodynamic expressions using SymPy.
It was created to streamline everyday thermodynamic derivations with a clean and straightforward syntax tailored to practical research workflows.
While the package currently focuses on core, simple utility functions, suggestions and improvements are always welcome! If you have ideas for simple features that could be useful, feel free to open an issue or submit a pull request
Installation
pip install git+https://github.com/SalvadorBrandolin/thermodiff
Tutorial
On the tutorial you can check all the basics functionalities of this tool and an example of use.
Model files
Models can also be described in a small declarative .model file and
compiled into a Fortran module with the function and all its derivatives:
thermodiff-model model.model -o model.f90
See the model files documentation and the corresponding tutorial.
Graphical front-end
An optional Streamlit application builds the model with buttons, editable tables and menus, compiling as you edit. It shows the generated Fortran module and a typeset preview of every derivative:
pip install 'thermodiff[gui]'
thermodiff-gui
See the GUI documentation.
Metadata
Release files for thermodiff 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thermodiff-1.6.0.tar.gz | 44.9 kB | With provenance | Details for thermodiff-1.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thermodiff-1.6.0-py3-none-any.whl | Python 3 | none | any | Details for thermodiff-1.6.0-py3-none-any.whl |
Total release size: 96.3 kB
Release files / thermodiff-1.6.0.tar.gz
| Download URL | thermodiff-1.6.0.tar.gz |
|---|---|
| Size | 44.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
333eabaa25b17667ef4bdfdedcd56789386f4e399691732c0fe688db5fc3965f
|
|
BLAKE2b-256 checksum How to use checksums |
1463bf3064df718dea44d495cbed8bf931e8d2fe60c2c333f0fa71e801763047
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / thermodiff-1.6.0-py3-none-any.whl
| Download URL | thermodiff-1.6.0-py3-none-any.whl |
|---|---|
| Size | 51.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9051a1366d3e7714a325a15b532a1009f0d7f1f4dde207519e3db7a6172a8ca
|
|
BLAKE2b-256 checksum How to use checksums |
3cb48e46796e2bba6e52b8261102abd3445eb7626e5f8f142a26a357d9f3e455
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for thermodiff 1.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for thermodiff-1.6.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.