Skip to main content

FastAPI server for streaming promptuna run / evaluate / optimize jobs

Project description

promptuna-server

Server surface for the promptuna evaluation 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

promptuna_server-1.25.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

promptuna_server-1.25.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file promptuna_server-1.25.0.tar.gz.

File metadata

  • Download URL: promptuna_server-1.25.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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

Hashes for promptuna_server-1.25.0.tar.gz
Algorithm Hash digest
SHA256 ccb39269a4a8c32a571bf61ed217b86bcbd3fc97f7b11d8913c379d00539e9d4
MD5 d01b2cf72dbb32cc96c6b82a13c9c091
BLAKE2b-256 6ced8302eaa43e9b996e5fdf411b376fbaa3652a9d51c798b7408b34499aa09a

See more details on using hashes here.

File details

Details for the file promptuna_server-1.25.0-py3-none-any.whl.

File metadata

  • Download URL: promptuna_server-1.25.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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

Hashes for promptuna_server-1.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c78131a9fde8b71d548083d0195cc347b9c2a0801f7b2e6d7eb8fc21db83458b
MD5 274b154b22c8efafc586d03ab05869c7
BLAKE2b-256 cb264e4b70c1510c3aef688a411e95b4adeaea2869342184a0aa690d86d8d759

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page