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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| osprey_optimizer-2026.11.0.tar.gz | 146.4 kB | With provenance | Details for osprey_optimizer-2026.11.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| osprey_optimizer-2026.11.0-py3-none-any.whl | Python 3 | none | any | Details for osprey_optimizer-2026.11.0-py3-none-any.whl |
Total release size: 330.3 kB
Release files / osprey_optimizer-2026.11.0.tar.gz
| Download URL | osprey_optimizer-2026.11.0.tar.gz |
|---|---|
| Size | 146.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
162761910b2468889473364a4bc69f0ec1a703aff998e582d0fc730a3a34973c
|
|
BLAKE2b-256 checksum How to use checksums |
02c03d217c08f6b001f2506ee83e4500d3b51a06ea01e92621c191827866661a
|
| 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 15, 2026.
Transparency logRelease files / osprey_optimizer-2026.11.0-py3-none-any.whl
| Download URL | osprey_optimizer-2026.11.0-py3-none-any.whl |
|---|---|
| Size | 183.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
379a742181c3d5a752644ba6c1c92f5f8523fabe27e9140572aaadbd00ae59fb
|
|
BLAKE2b-256 checksum How to use checksums |
b07049a976a9ae4f2360a39bbdc65fee4d84bc3db698f7c5726a0dcfd58a7351
|
| 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 15, 2026.
Transparency logSecurity for osprey-optimizer 2026.11.0
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.
Attestation for osprey_optimizer-2026.11.0.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 15, 2026.
Transparency logA 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.