semvec/pypi-packages huggingface dataset:
eraUQ 0.0.1.dev1
This package provides the base software used by the Engineering Risk Analysis group of TUM
License: MIT
Requires Python: >=3.8
Keywords: Risk, Reliability


# DEV Instructions
## Installation
First, ensure the repository is cloned and you are on the right branch

The following commands assume that you are **inside the root directory of the package**
(i.e. the directory containing `pyproject.toml`).

```bash
git checkout <branch-name>
pip install -e .
```
Alternatively, a command with the absolute path can be used:

```bash
py -m pip install -e <absolute/path/to/repo/root/directory>
```

or

```bash
pip install -e <absolute/path/to/repo/root/directory>
```

### Example Notebooks

### [**<img src="https://colab.research.google.com/img/colab_favicon_256px.png" alt="Colab Logo" width="28" style="vertical-align: middle;"/> Usage Overview Notebook**](https://colab.research.google.com/github/theresa-hefele/eradist/blob/dev_library_theresa/notebooks/demonstrate_usage_overview.ipynb)
pvtlib 1.14.1
A library containing various tools in the categories of thermodynamics, fluid mechanics, metering etc.
License: MIT
Requires Python: >=3.9
Keywords: thermodynamics fluid-mechanics metering aga8

<img src="https://raw.githubusercontent.com/equinor/pvtlib/main/images/pvtlib_klab.png" alt="pvtlib logo" width="600"/>

`pvtlib` is a Python library that provides various tools in the categories of thermodynamics, fluid mechanics, metering and various process equipment. The library includes functions for calculating flow rates, gas properties, and other related calculations.

## Installation

You can install the library using `pip`:

```sh
pip install pvtlib
```

## Usage

Here is an example of how to use the library:

```py
from pvtlib.metering import differential_pressure_flowmeters

# Example usage of the calculate_flow_venturi function
result = differential_pressure_flowmeters.calculate_flow_venturi(D=0.1, d=0.05, dP=200, rho1=1000)
print(result)
```

More examples are provided in the examples folder: https://github.com/equinor/pvtlib/tree/main/examples

## Features

- **Thermodynamics**: Thermodynamic functions
- **Fluid Mechanics**: Fluid mechanic functions
- **Metering**: Metering functions
- **aga8**: Equations for calculating gas properties (GERG-2008 and DETAIL) using the Rust port (https://crates.io/crates/aga8) of NIST's AGA8 code (https://github.com/usnistgov/AGA8)
- **Unit converters**: Functions to convert between different units of measure

### Handling of invalid input
This library is used for analyzing large amounts of data, as well as in live applications. In these applications it is desired that the functions return "nan" (using numpy nan) when invalid input are provided, or in case of certain errors (such as "divide by zero" errors). 

## License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/equinor/pvtlib/blob/main/LICENSE) file for details.

## Contact

For any questions or suggestions, feel free to open an issue or contact the author at chaagen2013@gmail.com.