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-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

yaeos-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

yaeos-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

Details for the file yaeos-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b20ffb76e7aee8fe3c9c4392cf4a2e628e0e0b827627efbbc44759a4a034d2a2
MD5 39e0d628912ce917021875e64dafe7c2
BLAKE2b-256 1fdbe65ec35839c6975c8e1c57115c455ead1092f0b5d494b52ae4f3ac40b13b

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_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-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 32c4fc1c3dfa1f626340305307d105a0eaec485cd350dc84f85a3e2adffd425d
MD5 4d5612bd95edea9b44eac5197b3388fd
BLAKE2b-256 b58c3b8f59541be796145fea4f24f320c313207bbd1b7af0f0b2162724e9ad7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_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-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c6efd265c4fb45202507997986d508d9bf63ab34eb07cd5f3c6033c64b620d3
MD5 038a24cfc2b1c0df82475fcf68f0f96b
BLAKE2b-256 236bfddb59cedc0ba8c059d973a2892f4507107a0eb55b08ad7ee9e24a2742df

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_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