semvec/pypi-packages huggingface dataset:
waist 0.1.0
API dispatch in Python
License: MIT
Requires Python: >=3.8

Provide a convenient way to define dispatch depending on outside APIs or other factors.

# Installation

Waist requires Python 3.8 or higher.

```bash
pip install waist
```

# What's This?
Waist helps you define dispatch methods for externally dependent APIs.


```python
from waist import API

import bpy  # 3D software Blender API


# Set the API that we need to support.
api = API(".".join(bpy.app.version))


@api(">4")
def f():
    return "Do something that only works in versions before 4."

@api("==4.0.1")
def f():
    return "Something happened in 4.0.1 that needs specific fix."

@api()
def f():
    return ("Generic or default function that gets called if no suitable version spec is found." 
            "In this case if the version is 4 or above (but not 4.0.1)")

```
headwai 0.1.1
A package for evaluating text correctness.
License: MIT
Requires Python: >=3.10

# Installation

It's recommended to install this package in a virtual environment:

```bash
python3 -m venv venv
source venv/bin/activate
```

Then, install the package:

```bash
pip install headwai
```
OR
```bash
pip install git+https://github.com/richard-headwai/headwai.git
```