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.26.0.tar.gz (5.4 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.26.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: promptuna_server-1.26.0.tar.gz
  • Upload date:
  • Size: 5.4 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

Hashes for promptuna_server-1.26.0.tar.gz
Algorithm Hash digest
SHA256 240af72f8162ffe00bbaea6ed32d36d8d6c3de0c1a8ffcabb5fc7c8d5dfa5a16
MD5 4db3b310bf43be6bd5674e1c7f592dc9
BLAKE2b-256 a3a434c5a31905a4078e240293af9442ebfba50fc69f1e6d5efa903704752ce7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: promptuna_server-1.26.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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

Hashes for promptuna_server-1.26.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a0c5f124dd6099831fb1c191305f1dbee26808b3c9a257c7a5c0dc176b32542
MD5 a05fdb8cf62e0bc55d623b3f96850f79
BLAKE2b-256 2688c38cd78f1e2b4f7790142a11a52153555c8d854f7c095ae6c4b7fcddc1a1

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