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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blueapi-1.15.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blueapi-1.15.0-py3-none-any.whl (90.0 kB view details)

Uploaded Python 3

File details

Details for the file blueapi-1.15.0.tar.gz.

File metadata

  • Download URL: blueapi-1.15.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for blueapi-1.15.0.tar.gz
Algorithm Hash digest
SHA256 d24cc92d7d2035f5c976353127136537b99db5205b1b825d16d332fa90826a8d
MD5 e6e988e57f58af9af986381dbb73f7e9
BLAKE2b-256 cdfce746386b2412a30a86a1d8a2b85692e5585119ba198953b14d1c6a4b536a

See more details on using hashes here.

File details

Details for the file blueapi-1.15.0-py3-none-any.whl.

File metadata

  • Download URL: blueapi-1.15.0-py3-none-any.whl
  • Upload date:
  • Size: 90.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for blueapi-1.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25c77b4491a29dcf9010091c26b45c7ac3787c8ff4779c74a4b90ede5f6c6a7a
MD5 62478c9201a38c7634bed7c2626915a8
BLAKE2b-256 e69a9abb64b95a65b753eff807ef7d858969858dbaade7f20c10ac425f754554

See more details on using hashes here.

Release history Release notifications | RSS feed

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