Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

yaeos-4.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

yaeos-4.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

yaeos-4.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

yaeos-4.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file yaeos-4.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-4.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0cd54bb680350bb6ef5b9cf677ef6efc73cafa3b4eb2cd40092c8f1562e076e4
MD5 2972ba34c79c191659cec306941a7ced
BLAKE2b-256 4ae2e4f79be47bbbccb141efb902d8ea598ee17fd7ca3c44a6aa5215f757ee90

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-4.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: CI.yml on ipqa-research/yaeos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yaeos-4.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-4.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b482795eb9df9c9f556f1673c2feeb34b664f23b8c921904da247396bd3eee5
MD5 727443838fe3a6e9b803d9cb00dd053c
BLAKE2b-256 a0c7c57ae05e2f855947cd1a64591c7437ce71fec48da82ed9469d0afb3e6260

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-4.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: CI.yml on ipqa-research/yaeos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yaeos-4.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-4.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cba7effac0b026eb7244385df4d8755defb379acccdef7d0a72694d8b2bc49d0
MD5 8962833708e506cbb3da741580ae6f36
BLAKE2b-256 05fb0fe6a3dfc0109b0ec54ff60429baf6686651f9a486e44d188200d126b949

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-4.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: CI.yml on ipqa-research/yaeos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yaeos-4.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-4.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4a20a823ce24314fc9cd89e17299564590267b90aa01f6088e9651dad902b93c
MD5 b6eb77c79935ecb09b6c3c45da79bf2f
BLAKE2b-256 914e825d0298b68e62fdb8b2524d17c10542c7a57a2da19b0813d1f2940f91da

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-4.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: CI.yml on ipqa-research/yaeos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page