Thermodynamic modelling with Equation of State
Project description
yaeos Python bindings
The yaeos Python API is on and early stage of development. So the API will
change with time.
Supported operative systems
- Linux
Supported Python versions
- Python >= 3.10, < 3.13
Installation
To install the last version of yaeos Python API, you can use pip:
pip install yaeos
For developers, the editable installation is done by
cd python
pip install -r requirements-build.txt
pip install -e . --no-build-isolation
Building from source
To build yaeos from source you can clone the repository and install it with
pip. The system dependencies are:
- LAPACK
- Fortran compiler
To build and install do:
git clone https://github.com/ipqa-research/yaeos.git
cd yaeos/python
pip install .
Setting a Google Colab to use yaeos
To install yaeos on Google Colab you can do the following command to install
the last version uploaded to PyPI:
%pip install yaeos
To check if the installation worked correctly:
from yaeos import PengRobinson76
import numpy as np
model = PengRobinson76(
np.array([320, 375]),
np.array([30, 45]),
np.array([0.0123, 0.045])
)
model.lnphi_vt(np.array([5.0, 4.0]), 2.0, 303.15)
You will get:
array([0.47647471, 0.35338115])
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 Distributions
Built Distributions
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 yaeos-4.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: yaeos-4.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5794fb6febbf4d7732837707c83df9f749e524e896307cd286ac0220086ed4e5
|
|
| MD5 |
882e0634ea6fcf59165d2993994367b5
|
|
| BLAKE2b-256 |
8a785dc2566a0144ea300d0f581372388db1346d3590e59cc0a5e97c68193ba0
|
Provenance
The following attestation bundles were made for yaeos-4.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
CI.yml on ipqa-research/yaeos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yaeos-4.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
5794fb6febbf4d7732837707c83df9f749e524e896307cd286ac0220086ed4e5 - Sigstore transparency entry: 278909614
- Sigstore integration time:
-
Permalink:
ipqa-research/yaeos@4fbbd995e41d247a343377e9f19c7d16956d6991 -
Branch / Tag:
refs/tags/v4.2.0 - Owner: https://github.com/ipqa-research
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@4fbbd995e41d247a343377e9f19c7d16956d6991 -
Trigger Event:
release
-
Statement type:
File details
Details for the file yaeos-4.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: yaeos-4.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1f9430f531ac6d544d5bbbbcc6072782f2e4569c8165e889006ccf492f99abd
|
|
| MD5 |
f48b256f34415edf7f622af2afc456f6
|
|
| BLAKE2b-256 |
5dc7de01bbb663fdbdd9ba3dd765bb3421a9bef01d3092d4d47cec48b0ef9e12
|
Provenance
The following attestation bundles were made for yaeos-4.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
CI.yml on ipqa-research/yaeos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yaeos-4.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
b1f9430f531ac6d544d5bbbbcc6072782f2e4569c8165e889006ccf492f99abd - Sigstore transparency entry: 278909640
- Sigstore integration time:
-
Permalink:
ipqa-research/yaeos@4fbbd995e41d247a343377e9f19c7d16956d6991 -
Branch / Tag:
refs/tags/v4.2.0 - Owner: https://github.com/ipqa-research
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@4fbbd995e41d247a343377e9f19c7d16956d6991 -
Trigger Event:
release
-
Statement type:
File details
Details for the file yaeos-4.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: yaeos-4.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56581c6a1d4cc7887409babd72e4efa57a1f9f5e0df2eac24416eb0657f9c2e8
|
|
| MD5 |
7136151a098cbd3da3598ed16586c596
|
|
| BLAKE2b-256 |
40ea2da993ecbfdb30e128197599991e90c93afd7ada1e40af9c88e31e62f56a
|
Provenance
The following attestation bundles were made for yaeos-4.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
CI.yml on ipqa-research/yaeos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yaeos-4.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
56581c6a1d4cc7887409babd72e4efa57a1f9f5e0df2eac24416eb0657f9c2e8 - Sigstore transparency entry: 278909538
- Sigstore integration time:
-
Permalink:
ipqa-research/yaeos@4fbbd995e41d247a343377e9f19c7d16956d6991 -
Branch / Tag:
refs/tags/v4.2.0 - Owner: https://github.com/ipqa-research
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@4fbbd995e41d247a343377e9f19c7d16956d6991 -
Trigger Event:
release
-
Statement type:
File details
Details for the file yaeos-4.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: yaeos-4.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0d64d2255bc1de27ececf6951458b8aa02096cf1bed2160fafa58ff032ef008
|
|
| MD5 |
da2a214c13c22fe850e73eaa81aa0899
|
|
| BLAKE2b-256 |
5c9e0c97642957511a5be03c2f981bdb186619f717514523e3460ede7f8d0dce
|
Provenance
The following attestation bundles were made for yaeos-4.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
CI.yml on ipqa-research/yaeos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yaeos-4.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
d0d64d2255bc1de27ececf6951458b8aa02096cf1bed2160fafa58ff032ef008 - Sigstore transparency entry: 278909382
- Sigstore integration time:
-
Permalink:
ipqa-research/yaeos@4fbbd995e41d247a343377e9f19c7d16956d6991 -
Branch / Tag:
refs/tags/v4.2.0 - Owner: https://github.com/ipqa-research
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI.yml@4fbbd995e41d247a343377e9f19c7d16956d6991 -
Trigger Event:
release
-
Statement type: