semvec/pypi-packages huggingface dataset:
kintsugi-python 0.1.8
Python SDK to access Kintsugi Voice API V2.
License: MIT
Requires Python: >=3.8.0

# Kintsugi Python SDK
Python SDK to access Kintsugi Voice API V2.

## Installation

```
pip install kintsugi-python
```

## Code Example
```
import os,time
from kintsugi.api import Api


if __name__ == '__main__':
    # Configuration Parameters
    x_api_key = os.environ['X_API_KEY']
    user_id = os.environ['USER_ID']

    # Arguments
    audio_file_1 = open('/Users/jackson/Downloads/test_audio.wav', 'rb')
    audio_file_2 = open('/Users/jackson/Downloads/test_audio.wav', 'rb')
    allowed_sample_rate = 44100
    metadata = {
        'age': 39,
        'gender': 'male'
    }

    # API instantiation
    api = Api(x_api_key=x_api_key)

    # Prediction using all arguments
    api.prediction().predict(
        user_id,
        audio_file_1,
        metadata=metadata,
        allowed_sample_rate=allowed_sample_rate,
    )

    # Prediction using fewer arguments
    session_id = api.prediction().predict(user_id, audio_file_2)

    # Get prediction by session
    prediction_response = api.prediction().get_prediction_by_session(session_id)
    while prediction_response.status == "processing":
      time.sleep(5)
      prediction_response = api.prediction().get_prediction_by_session(session_id)

    print(f'Score for depression: {prediction_response.get_score("depression")}')
    print(f'Score for anxiety: {prediction_response.get_score("anxiety")}')

    # Get predictions by user
    predictions_user = api.prediction().get_prediction_by_user(user_id)

    # Depression feedback
    api.feedback().depression(session_id, 'false')

    # PHQ-2 feedback
    api.feedback().phq_2(session_id, [1, 2])

    # PHQ-9 feedback
    api.feedback().phq_9(session_id, [1, 2, 1, 2, 1, 2, 3, 1, 2])

    # GAD-7 feedback
    api.feedback().gad_7(session_id, [1, 2, 1, 2, 1, 2, 3])

    print('Done.')
```
my_test_pypi_www 0.0.4
A test package for PyPI publishing
License: MIT
Requires Python: >=3.13
Keywords: 3Wtoolkit, example, pypi

# my_test_pypi_www

A test package for PyPI publishing demonstration.

## Installation

```bash
pip install my_test_pypi_www
```

## Usage

```python
from my_test_pypi_www import my_func

my_func()
```

## Development

To install in development mode:

```bash
pip install -e .
```

## Building and Publishing

1. Build the package:
```bash
python -m build
```

2. Upload to PyPI (you'll need to create an account first):
```bash
python -m twine upload dist/*
```

## License

MIT License