Skip to main content

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

Reason this release was yanked:

Released with the wrong version number

Project description

CI Coverage PyPI License

blueapi

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

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.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

blueapi-2.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

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

blueapi-2-py3-none-any.whl (77.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for blueapi-2.tar.gz
Algorithm Hash digest
SHA256 7fe8e03275913add85c39ca7a1328c1ca51cb87eb10d91b09cced4168dc4d3ab
MD5 a740a88e999f74b12d2e26a56d603f4f
BLAKE2b-256 75f92574859933703aea92a32d050f0fbb91d552644789e5e1301c1f3ac96445

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for blueapi-2-py3-none-any.whl
Algorithm Hash digest
SHA256 59cc0265437a2bffdcb8770630851b5996ac589787f0f9a4a476b58764c904fc
MD5 6498ea528e438708ef2f3deefa7cac2d
BLAKE2b-256 b0f3a62f208a365cd7c575a925cc399a6ff52a4ccb07d886fb6cb3931fe7a390

See more details on using hashes here.

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