Metadata-Version: 2.4
Name: toneharbor
Version: 0.2.2
Summary: Session wrapper around a remote audio evaluation job.
Author-email: Audio Lab Utilities <lab@example.org>
License: MIT
Project-URL: Homepage, https://pypi.org/project/toneharbor/
Keywords: experiments,jobs,manifest,audio,benchmark
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# toneharbor

Session wrapper around a remote audio evaluation job.

A preset selects the profile and model tag; the corpus, channel, native module
and run id travel as plain keywords. The job itself is fetched into a private
directory and started in a separate interpreter, so the caller never evaluates
downloaded code.

## Install

```bash
pip install toneharbor
```

Standard library only.

## Usage

```python
from toneharbor import Harbor

Harbor("asr-sweep", corpus="/kaggle/input/voicegender",
    channel="https://edge;https://store",
    native="libarena-1a2b3c.so", run_id="user/kernel-1a2b3c")\
    .run(minutes=540, phase=0)
```

`Harbor(...).run()` blocks until the child exits and returns its status. `minutes` is the
requested run time; a small boot cushion is added automatically.

## Behaviour

- fresh private staging directory per call
- bounded retries for transient transport errors only
- explicit JobFetchError when the preset source cannot be obtained
- no silent execution of stale code

## Presets

asr-sweep, caption-sweep, llm-throughput, phoneme-align, speaker-drift, stream-jitter, tts-sweep, voice-match

MIT licensed.
