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.
Release files for daq-queuing-service 0.1.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| daq_queuing_service-0.1.16.tar.gz | 614.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| daq_queuing_service-0.1.16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 654.1 kB
Release files / daq_queuing_service-0.1.16.tar.gz
| Download URL | daq_queuing_service-0.1.16.tar.gz |
|---|---|
| Size | 614.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6b3d04fe3b1e0339a208dbcaa6cf208c522a06933da6b329526619ce5fc27ab
|
|
BLAKE2b-256 checksum How to use checksums |
68eb715d9bc4010a816d20fbc1b84cc07e726162b9a716273a3dac3b8a78c72c
|
| 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.16-py3-none-any.whl
| Download URL | daq_queuing_service-0.1.16-py3-none-any.whl |
|---|---|
| Size | 39.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37ae33b9c5bff3e6ba73354ce73c99d6c2d67d3f60210a1a82d064194156d956
|
|
BLAKE2b-256 checksum How to use checksums |
e537f2bc471db4021da300f8e49dab401ce0ce67b257a05c0e7390aeab7656f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|