Python Property Tables Library - proptables
proptables is a Python library designed to provide quick access to property tables for R134a and water, primarily aimed at engineers and researchers needing fluid property data in thermodynamic calculations.
Features
- Provides easy-to-access property data for R134a and water.
- Useful for thermodynamics, refrigeration, and heating applications.
- Simplifies accessing and calculating fluid properties programmatically.
proptables: User Manual
Installation
To install the proptables library, run the following command in your terminal or command prompt:
pip install proptables
Example Output (Google Colab):
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting proptables
Downloading proptables-0.0.7-py3-none-any.whl (32 kB)
Installing collected packages: proptables
Successfully installed proptables-0.0.7
Importing Components
To use the library, import the required components as follows:
from proptables import R134a, water
Using Water Tables
The water function can be used for various thermodynamic properties. Example usages:
By Pressure
water(Pressure=200)
By Pressure and Enthalpy
water(Pressure=200, Enthalpy=1500)
By Temperature
water(Temperature=54)
By Temperature and Entropy
water(Temperature=54, Entropy=5)
Example with Superheated Property
water(Pressure=4000, Superheated=True)
Using R134a Tables
The R134a function supports similar property queries. Example usages:
By Temperature
R134a(Temperature=36)
By Temperature and Enthalpy
R134a(Temperature=34, Enthalpy=112)
By Pressure
R134a(Pressure=600)
Example with Superheated Property
R134a(Pressure=1200, Superheated=True)
Data Tables
The library provides detailed thermodynamic tables for water and R134a. Below are some examples:
Water Table (Pressure-based)
| MPa | degC | vf | vg | uf | ug | hf | hfg | hg | sf | sfg | sg |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 25 | 0.2 | 0.001061 | 0.8857 | 504.5 | 2529.1 | 504.7 | 2201.5 | 2706.2 | 1.5302 | 5.5967 | 7.1269 |
R134a Table (Temperature-based)
| degC | kPa | vf | vg | uf | ug | hf | hfg | hg | sf | sfg | sg |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 36.0 | 0.00086 | 0.0224 | 101.55 | 249.1 | 102.33 | 167.17 | 269.5 | 0.3761 | 0.5407 | 0.9168 |
Reporting Issues
If you encounter any errors or issues, please report them on the library's GitHub page.
Thank you for using proptables!
Metadata
Release files for proptables 0.1.1
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 | |
|---|---|---|---|---|
| proptables-0.1.1.tar.gz | 22.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| proptables-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.5 kB
Release files / proptables-0.1.1.tar.gz
| Download URL | proptables-0.1.1.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6f13dd9dc865e51e1db9526d346ad095f312c73fa046b42942601a7c6d4f99c
|
|
BLAKE2b-256 checksum How to use checksums |
44247fddd0eebbe5940d40d2e17684f1605a201a9c1bec8f3704185aa762708b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Release files / proptables-0.1.1-py3-none-any.whl
| Download URL | proptables-0.1.1-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aea834c7f6cfad43e8529c49f7830187f4a0557e3cdef28c34fc679f474d2263
|
|
BLAKE2b-256 checksum How to use checksums |
ca397810f70379fd5ca423b91f9dd3a1ffa6a75520e88bb808fd548b64417624
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Security for proptables 0.1.1
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.