FastAPI server for streaming promptuna run / evaluate / optimize jobs
Project description
promptuna-server
Server surface for the
promptunaevaluation harness. See the main project README for the full overview, library API, and usage surfaces.
HTTP + SSE transport for promptuna jobs (run, evaluate, optimize).
This package is transport only. It does not define evaluation logic — that lives in the core promptuna library. On-disk projects are resolved via promptuna.projects; user projects do not belong in this directory.
Development
From the repository root:
just server
Uses bundled samples/ by default. Override the projects root:
PROMPTUNA_PROJECTS_ROOT=/path/to/projects just server
API listens on port 6969. Job progress streams at GET /jobs/{job_id}/events (SSE).
Completed jobs are persisted under <projects_root>/jobs/<job_id>/ as manifest.json, append-only events.jsonl, and a terminal summary.json.
GET /catalog lists project and artifact names under the active projects root so clients can build job selectors. The response includes projects_root plus, for each project, name lists for programs, metrics, prompts, and datasets.
A future promptuna serve command will wrap uvicorn and accept --projects-root explicitly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file promptuna_server-1.25.1.tar.gz.
File metadata
- Download URL: promptuna_server-1.25.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90d607516019696cc716f74fbe19fc5ae30bfdfeb2229e9047218e8f37bde5d6
|
|
| MD5 |
22d303ee555a74fc279d087a3ca9339e
|
|
| BLAKE2b-256 |
8a0d588427b5c73e4de2588fc1aaf50d4a70c2985fcaec9115d72f8c591ac7a3
|
File details
Details for the file promptuna_server-1.25.1-py3-none-any.whl.
File metadata
- Download URL: promptuna_server-1.25.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08db24a175ab992d80d2797c9567cb963703a016d11bb879a9a006c3e971be75
|
|
| MD5 |
03b2c2b33a5e6c3f61896fade15621a3
|
|
| BLAKE2b-256 |
401974a3865ebbf61f23e96d762a938522301c77ce48e5d773a47b3eb0dcd437
|