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

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

yaeos-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

yaeos-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

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

File metadata

File hashes

Hashes for yaeos-1.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8fc1253b40a265ce9cdecc1fa9c44fd89c49274f48760f7374338a69120a18ae
MD5 5c7e47f9347cbdb1515b082e7bdac44f
BLAKE2b-256 5d5da8a0b99722381d056a95c9e70d36486ad9e49c1a1f0ebf94e8d205a7e69d

See more details on using hashes here.

File details

Details for the file yaeos-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8f9a2e01fd09559c4a7fb162bcabbf9eb924de87b6a77db6b11403633aa3104c
MD5 95e1b9da719fab968e4dc87d2f73b698
BLAKE2b-256 9b0ae7b007b760b27e4527d4db499c822c4ac2c11aa4aad21a8af23b40f47752

See more details on using hashes here.

File details

Details for the file yaeos-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yaeos-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf2ae89e1e171b90076f98bb6ae54b768623fcdbf08193fe260792afb3188a60
MD5 ec4a257d0475737c7602c5baf88d459a
BLAKE2b-256 b052de65ef034eef4dda8498e383de3eaf460c9490221e683e51f669bc90bd36

See more details on using hashes here.

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