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.2.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.5 MB view details)

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

yaeos-4.2.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.5 MB view details)

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

yaeos-4.2.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.5 MB view details)

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

yaeos-4.2.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.5 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.2.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-4.2.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 41e3a10df7aa663dda66f23d8c985691e1a06c8a25de1457a42b5f1496b1dc64
MD5 b06b414e2e2dd0bc0fcc76bdb600bc3d
BLAKE2b-256 3f76e3e7f1383b5b92070978a42fab9a79d5a13be718a8a39ca629be95e98fbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-4.2.1-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.2.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-4.2.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 73ff975b8aa89ba02f6193a283cc0956f1b4768501ddaa71c4ed03e174107bf4
MD5 cc12f89865d6d0098b9e876fe9718f6b
BLAKE2b-256 35604bb0f4c2d153dde83152c7804a0e4ae1e6945b56242d85e457243cca7319

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-4.2.1-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.2.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-4.2.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0b8bf7f97dc28a88d5378f3bf8678297680ec99c9faf0dfb607c343fa7c3c553
MD5 b59bf8be797d008a92e098a5d381ca3d
BLAKE2b-256 b5f7662da5d5811b633412ce4017d16de88d6b21d6a6afcd1299c95f208c8093

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-4.2.1-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.2.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-4.2.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7988c6ee7e73170cde60c938fe02dd079d14dd5a3d0ba38d647b8bcced3a7500
MD5 0801683964b5bd278e354527b558557e
BLAKE2b-256 a8cb988c55c66832992078e5c579e4993beec3772b251c4e3bb5d6a42be3592d

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaeos-4.2.1-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