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.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 blueapi 1.21.1
File Size Uploaded Provenance Actions
blueapi-1.21.1.tar.gz 2.9 MB Without provenance Details for blueapi-1.21.1.tar.gz

Built distribution (wheel)

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

Total release size: 3.0 MB

Release files / blueapi-1.21.1.tar.gz

Download URL blueapi-1.21.1.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
5cd9da1e55e0eff3dca8eb8c5bfcdc6b9328f6a226c74215de19e4461e9ea254
BLAKE2b-256 checksum
How to use checksums
0a0e3980ee2d4549d8072b0f5ccff44b9775114ba3c6159117bda5eb9f542547
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL blueapi-1.21.1-py3-none-any.whl
Size 97.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1b4f1c3587ea6d805954800f8d1366ccca7c5e62034e6336f3ce5c924c84ddd
BLAKE2b-256 checksum
How to use checksums
39f27b1f350bc57094b0a74f258b32dbdff4826f728872722a3fbd53e29ca334
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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

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.1 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