A Python thermodynamic property wrapper for fluids and mixtures.
Project description
ThermoProp
ThermoProp is a Python thermodynamic property wrapper for fluids, mixtures, and ideal gases.
It provides a clean interface around:
- CoolProp
- PYroMat
- NumPy
- SciPy
Installation
pip install thermoprop
Pure Fluid Example
from thermoprop import Fluid
water = Fluid("water", pressure=101325, temperature=300)
print(water.density)
print(water.enthalpy)
print(water.phase)
Mixture Example
from thermoprop import Fluid
air_like = Fluid(
{"nitrogen": 0.79, "oxygen": 0.21},
basis="mole",
pressure=101325,
temperature=300,
)
print(air_like.density)
print(air_like.specific_heat_cp)
Ideal Gas Example
from thermoprop import IdealGas
nitrogen = IdealGas("gn2", pressure=101325, temperature=300)
print(nitrogen.density)
print(nitrogen.specific_heat_ratio)
print(nitrogen.speed_of_sound)
Source Code
https://github.com/saakethramoju/ThermoProp
License
ThermoProp is released under the GNU General Public License v3.0.
See LICENSE and THIRD_PARTY_LICENSES.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file thermoprop-0.1.3.tar.gz.
File metadata
- Download URL: thermoprop-0.1.3.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a9405a66aa557c95d7a8c1e136467ff5ea6edadc544e7c4e7b5152664796201
|
|
| MD5 |
bd3cb0cc2f2e1fc8184cdfffe2546f64
|
|
| BLAKE2b-256 |
940bab6563bd67fdb791f2195396cfc6d78770fff3e5005e53e750ca70500959
|
File details
Details for the file thermoprop-0.1.3-py3-none-any.whl.
File metadata
- Download URL: thermoprop-0.1.3-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
678e3b46f58e54441fecfc8ab5550153b74a39d120eb50d9523e67f7e24daf4f
|
|
| MD5 |
83998fbf66fc0a44aeb1e8655da64932
|
|
| BLAKE2b-256 |
0fa09279f8f9ab2de10cf3eee64462b3a3276e102f917c613f8dc521464fbf77
|