Skip to main content

osprey-optimizer

The OSPREY optimizer service: Xopt-driven tuning runs against a control system, with every write going through an OSPREY connector, so the write switch, channel limits and max_step apply to each one. An optimization environment is a YAML file of setpoint/readback channels and observables; Python environments register on the osprey.optimizer.environments entry-point group and are opt-in: the service loads only those named in OPTIMIZER_PLUGINS (comma-separated). A plugin must reach the machine through ConnectorInterface; that is not yet enforced for plugin code.

Install

pip install osprey-optimizer             # models and environment files only
pip install "osprey-optimizer[service]"  # the engine and its HTTP service

The base install is what the OSPREY framework imports: the request, config and status models, and the environment-file format. It does not load the search stack. The service extra adds Xopt, PyTorch, BoTorch, Redis and FastAPI, and is what the optimizer's container image installs. For a CPU-only PyTorch, add --extra-index-url https://download.pytorch.org/whl/cpu.

The service app is osprey_optimizer.api.main:app.

Metadata

Release files for osprey-optimizer 2026.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for osprey-optimizer 2026.11.1
File Size Uploaded Provenance Actions
osprey_optimizer-2026.11.1.tar.gz 150.0 kB With provenance Details for osprey_optimizer-2026.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for osprey-optimizer 2026.11.1
File Interpreter ABI Platform Actions
osprey_optimizer-2026.11.1-py3-none-any.whl Python 3 none any Details for osprey_optimizer-2026.11.1-py3-none-any.whl

Total release size: 337.5 kB

Release files / osprey_optimizer-2026.11.1.tar.gz

Download URL osprey_optimizer-2026.11.1.tar.gz
Size 150.0 kB
Tags Source
SHA-256 checksum
How to use checksums
891fd482f672d82391e58dd87ca3f5d41336ed6b25ead435c8e5fb29f4fe9a84
BLAKE2b-256 checksum
How to use checksums
dfab5e71f4334a2f908f87969f8d7b1a746581448785ba41f2da8ceba9fa7135
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / osprey_optimizer-2026.11.1-py3-none-any.whl

Download URL osprey_optimizer-2026.11.1-py3-none-any.whl
Size 187.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80e5eca398ff9bd13440ea24f6377bfac453c0710cac5ff48cf442328a42d2b1
BLAKE2b-256 checksum
How to use checksums
4b79215bc22c5ce54f34e4871ab825d1a0943035e1bfc105a79676abe7952995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for osprey-optimizer 2026.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for osprey_optimizer-2026.11.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page