Thermo-Flux
Tools for flux balance anlysis with thermodynamic constraints.
Full documentation on ReadTheDocs (https://thermo-flux.readthedocs.io/en/latest/) and accompanying protocol at doi:10.1101/2025.11.20.689566.
Installation
Requirements
- Python >= 3.11
- Gurobi 11.0
-
To avoid dependency conflicts it is reccomended to use a python environment e.g:
conda create -n thermoflux python=3.11conda activate thermoflux
Installation using pip
2a. Now thermo_flux can be safely installed using pip..
python -m pip install thermo-flux
Local installation
2b. Otherwise thermo_flux can be installed locally, from a cloned repository. Clone the thermo_flux repository and navigate to the thermo_flux directory:
```git clone https://github.com/molecular-systems-biology/thermo-flux```
```cd thermo_flux```
3b. Run the installation command below - for development use the -e flag (for an editable install) :
```python -m pip install -e .```
Getting gurobi optimizer
-
For thermodynamic optimisations, ensure a Gurobi license is installed correctly (free for academics):
conda install -c gurobi gurobi
Examples
Example usage notebooks can be found in the examples directory.
Cite us
If you use Thermo-Flux please cite our protocol paper at:
Smith EN, Fargier N, Pedro J & Heinemann M (2025) Thermo-Flux: generation and analysis of comprehensive thermodynamic-stoichiometric metabolic network models. 2025.11.20.689566 doi:10.1101/2025.11.20.689566 [PREPRINT]
Thermo-Flux relies on eQuilibrator for underlying thermodynamic calculations so please also cite the eQuilibrator database:
M. E. Beber, M. G. Gollub, D. Mozaffari, K. M. Shebek, A. I. Flamholz, R. Milo, and E. Noor, eQuilibrator 3.0: a database solution for thermodynamic constant estimation Nucleic Acids Research (2021), DOI:10.1093/nar/gkab1106
Acknowledgments
Thanks to Yusuke Himeoka, Moritz Beber, Elad Noor and Mattia Gollub for helpful discussions and advice.
Metadata
Release files for thermo-flux 0.0.2
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 |
|---|---|---|---|---|
| thermo_flux-0.0.2.tar.gz | 89.5 kB | Without provenance | Details for thermo_flux-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thermo_flux-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for thermo_flux-0.0.2-py3-none-any.whl |
Total release size: 186.2 kB
Release files / thermo_flux-0.0.2.tar.gz
| Download URL | thermo_flux-0.0.2.tar.gz |
|---|---|
| Size | 89.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf285e95907a5baf8b747081bb483f2f3573a173bb19fb0ac540e20fb24ee6a9
|
|
BLAKE2b-256 checksum How to use checksums |
7a07de17b8d351c09aa8b71d285eba1f6633ef8746781b90b9d52848dd6513df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / thermo_flux-0.0.2-py3-none-any.whl
| Download URL | thermo_flux-0.0.2-py3-none-any.whl |
|---|---|
| Size | 96.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42ea1033b5353ed820ebeb44de7f2d0c364941e7cf2c3397e10287d8c37e3b8b
|
|
BLAKE2b-256 checksum How to use checksums |
134d483e978bca0c1ca19cc01fd0a69750ce9176490794ba02e497ac51f6d9d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for thermo-flux 0.0.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.