Metadata-Version: 2.4
Name: melstagen
Version: 0.1.0
Summary: Tiny standard-library loader for remote audio-analysis profiles
License-Expression: MIT
Keywords: audio,dsp,profile,runner,cpu
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
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
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Dynamic: license-file

# Melstagen

A tiny, **standard-library-only** loader for *remote profiles*.

Signal-analysis notebooks spawn tiny one-off workers constantly. Melstagen fetches and runs the current one from your server; nothing else ships in the wheel.

```python
from melstagen import run

run(profile="cpu-eval",
    url="https://example/serve/eval-profile.py",
    budget=43200)
```

## API

| function | description |
|---|---|
| `run(profile, url, **kwargs)` | download the profile, then call its `run(**kwargs)` |
| `load(profile, url)` | same download step, returns the executed module without calling it |

`url` can also be supplied through the `MELSTAGEN_PROFILE` environment
variable. Downloads retry transient CDN/proxy errors and cache the executed
source (under `MELSTAGEN_CACHE`) so it can be inspected afterwards.

## License

MIT
