Skip to main content

CI Coverage PyPI License

blueapi

Lightweight bluesky-as-a-service wrapper application. Also usable as a library.

What Where
Source https://github.com/DiamondLightSource/blueapi
PyPI pip install blueapi
Docker docker run ghcr.io/diamondlightsource/blueapi:latest
Documentation https://diamondlightsource.github.io/blueapi
Releases https://github.com/DiamondLightSource/blueapi/releases

This module wraps bluesky plans and devices inside a server and exposes endpoints to send commands/receive data. Useful for installation at labs where multiple people may control equipment, possibly from remote locations.

The main premise of blueapi is to minimize the boilerplate required to get plans and devices up and running by generating an API for your lab out of type-annotated plans. For example, take the following plan:

import bluesky.plans as bp
from blueapi.core import MsgGenerator

def my_plan(foo: str, bar: int) -> MsgGenerator:
    yield from bp.scan(...)

Blueapi's job is to detect this plan and automatically add it to the lab's API so it can be invoked easily with a few REST calls.

See https://diamondlightsource.github.io/blueapi for more detailed documentation.

Metadata

Release files for blueapi 1.21.0

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

Source distribution (sdist)

Source distribution for blueapi 1.21.0
File Size Uploaded Provenance Actions
blueapi-1.21.0.tar.gz 2.9 MB Without provenance Details for blueapi-1.21.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blueapi 1.21.0
File Interpreter ABI Platform Actions
blueapi-1.21.0-py3-none-any.whl Python 3 none any Details for blueapi-1.21.0-py3-none-any.whl

Total release size: 3.0 MB

Release files / blueapi-1.21.0.tar.gz

Download URL blueapi-1.21.0.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
e8bd0580c9ea0a52c0fde7a8834a376a8f7f097a5d81ea79f06916f519f6b150
BLAKE2b-256 checksum
How to use checksums
f83251d636ee95e6d517313b57fa4c495812522c127e94e763577072f246a9dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blueapi-1.21.0-py3-none-any.whl

Download URL blueapi-1.21.0-py3-none-any.whl
Size 96.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57377d38b923eba2157833cfbc7b084b190bcc103a9b03c09a5f5b1070217603
BLAKE2b-256 checksum
How to use checksums
5fd3cd9b5c32bab9c72b014efde63a1ae72afac2ff531c8825845c5b89bcc59e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Security for blueapi 1.21.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

1.21.0 This release

2 release files No provenance

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