Skip to main content

CI Coverage PyPI License

daq_queuing_service

A service to queue DAQ experiments and chain BlueAPI calls

The service combines a queue with a worker that consumes items in the queue and sends them to blueapi. A REST API is exposed to interact with the queue, allowing users to add, move, cancel, and get information about, items in the queue, and pause/unpause the queue.

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

The server is build with FastAPI. For development and testing, it may be useful to have blueapi and the queue service running locally. To get started, install dependencies into a virtual environment and run the app:

uv sync --group dev
source .venv/bin/activate
podman-compose -f tests/system_tests/compose.yaml up             # Local rabbitmq
blueapi --config tests/test_data/test_blueapi_config.yaml serve  # Local blueapi
daq-queuing-service -p 8001 --dev                                # Local queue service

To instead run the i15-1 setup in a development environment first clone crystallography-bluesky. Then run:

uv sync --group dev
source .venv/bin/activate
uv pip install -e `PATH_TO_CRYSTALLOGRAPHY_BLUESKY`
podman-compose -f tests/system_tests/compose.yaml up                                            # Local rabbitmq
blueapi --config tests/test_data/i15_1/test_blueapi_config.yaml serve                           # Local blueapi pointing at i15-1 plans
daq-queuing-service --config tests/test_data/i15_1/test_daq_queue_config.yaml -p 8001 --dev     # Local queue service pointing at i15-1 converters

See https://diamondlightsource.github.io/daq-queuing-service for more detailed documentation.

Metadata

Release files for daq-queuing-service 0.1.19

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

Source distribution (sdist)

Source distribution for daq-queuing-service 0.1.19
File Size Uploaded
daq_queuing_service-0.1.19.tar.gz 760.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for daq-queuing-service 0.1.19
File Interpreter ABI Platform
daq_queuing_service-0.1.19-py3-none-any.whl Python 3 none any Details

Total release size: 804.4 kB

Release files / daq_queuing_service-0.1.19.tar.gz

Download URL daq_queuing_service-0.1.19.tar.gz
Size 760.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c91c50cff3b2e6dc5ecb8ebda20aced559297964dbda4a5123eb3b8880867a00
BLAKE2b-256 checksum
How to use checksums
dd8d2c4ee85d97c2a7bc3b5ad560bae82e40aad0bab96034b8a6846740555142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / daq_queuing_service-0.1.19-py3-none-any.whl

Download URL daq_queuing_service-0.1.19-py3-none-any.whl
Size 44.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f78acffb61a73258dabdec5f6af43fa92a114d26cd67e670fbf5d60c09e7eebb
BLAKE2b-256 checksum
How to use checksums
cfd601237962a1aa5e4e5429a8cb6154e37190735e2aa4f586cd77b9ca478266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14
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