ophyd-async
Asynchronous Bluesky hardware abstraction code, compatible with control systems like EPICS and Tango
What it is and what it does
ophyd-async is a Python library that abstracts hardware control for scientific experiments, designed to work with the Bluesky Run Engine. It replaces the synchronous ophyd library with an asynchronous approach, allowing multiple hardware signals to be controlled and read in parallel without the complexity of threading. The library supports multiple control systems—EPICS CA, EPICS PVA, and Tango—making it suitable for diverse beamline and lab environments.
The package was built specifically to enable fly scanning and other advanced experiment patterns where coordinating multiple devices in parallel is essential. It separates device logic from hardware interfaces, reducing class hierarchy complexity. Devices written in ophyd-async can coexist with older synchronous ophyd devices in the same experiment, enabling gradual migration of hardware control code.
Use it for:
- Orchestrating parallel hardware control in fly-scanning experiments where multiple PVs must be coordinated asynchronously.
- Migrating existing ophyd device code to async one device at a time while maintaining compatibility with legacy synchronous devices.
- Interfacing with EPICS PVA or Tango control systems in addition to traditional EPICS CA for multi-protocol beamline setups.
- Building custom device abstractions that separate experiment logic from hardware-specific details without deep class hierarchies.
- Implementing complex scanning patterns like those used with PandABox or Delta Tau PMAC controllers that require precise timing.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
ophyd-async provides asynchronous hardware abstraction for experiment orchestration and data acquisition, supporting EPICS PVA, EPICS CA, and Tango control systems alongside the Bluesky Run Engine.
Yes, if you are building or migrating experiment orchestration code for scientific hardware with Bluesky. The async design and multi-protocol support (EPICS PVA, EPICS CA, Tango) make it well-suited for modern beamline and lab automation. The package is actively maintained, has low install friction, and carries a permissive BSD license. However, it is still in Alpha status, so evaluate stability requirements for production use.
Install
ophyd-async on PyPI
pip
pip install ophyd-asyncuv
uv add ophyd-asyncpoetry
poetry add ophyd-asyncInstalling ophyd-async
Before you install
Low install friction with a pure-Python wheel. Active maintenance with a release 10 days ago. Requires Python 3.11 or later and depends on 10 runtime packages including bluesky, numpy, and pydantic.
License in practice
BSD 3-Clause License (permissive). You may use, modify, and distribute this software freely in commercial or private projects, provided you retain the copyright notice and disclaimer.
Quickstart
pip install ophyd-async
import ophyd_async
from bluesky import RunEngine
from ophyd_async.core import Device
# Define and use async devices with RunEngine
Requires Python 3.11 or later. Intended for use with Bluesky Run Engine in experiment orchestration workflows.
Verify before relying
- Specific EPICS PVA and Tango version compatibility requirements not listed in fact sheet.
- Performance characteristics of parallel signal access compared to threaded approaches.
- Maturity level beyond 'Alpha' classification and production readiness guarantees.
Package facts
| License | BSD 3-Clause License Copyright (c) 2014, Brookhaven National Laboratory Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — numpy, bluesky, event-model, pyyaml, colorlog, pydantic, pydantic-numpy, stamina, scanspec, velocity-profile |
| Maintenance | actively maintained — 10 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 92,502/month — #13,449 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ophyd_async-0.21.1-py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
ophydOphyd provides a Python abstraction layer for…
permissive · top 15,000 on PyPI
epik8s-toolsAutomates project structure, Helm chart, and…
permissive · top 15,000 on PyPI
blueskyBluesky is an experiment control and scientific…
permissive · top 15,000 on PyPI
epicscorelibsProvides compiled EPICS Core libraries and…
unclear · top 15,000 on PyPI
event-modelDefines and validates the formal data model for…
permissive · top 15,000 on PyPI
qcodesQCoDeS is a Python data acquisition and control…
permissive · top 15,000 on PyPI
pyserial-asyncioAdds async/await support to pyserial for…
permissive · top 15,000 on PyPI
pyadi-iiopyadi-iio provides Python classes that wrap…
permissive · top 15,000 on PyPI