asyncua
Pure Python OPC-UA client and server library
Decision gist · record as of 2026-08-14
Yes. asyncua is actively maintained, has low install friction, no known vulnerabilities, and fills a genuine need for OPC UA support in Python. The library is mature enough for production use (Beta status, 95%+ test coverage) and offers both high-level convenience and low-level protocol access. The copyleft license is standard for industrial software and poses no barrier to most use cases. Install it if you need to integrate with OPC UA systems or build OPC UA services in Python.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and an OPC UA server endpoint to connect to; asyncio and async/await syntax knowledge assumed.
- Low install friction with a pure-Python wheel distribution.
- Active maintenance with a recent release 46 days ago and 1457 repository stars.
License · maintenance · safety
copyleft license (copyleft) — Licensed under GNU Lesser General Public License v3 or later (copyleft). You may use and modify the library freely, but derivative works must be distributed under the same or compatible license terms.
last release 2026-06-29 (46 days) · last repo commit 2026-08-09 · 1,457 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 713,641 downloads/mo, #5,251 on PyPI
Alternatives
Verify before relying
import asyncio
from asyncua import Client
async def main():
async with Client(url='opc.tcp://localhost:4840/freeopcua/server/') as client:
node = client.get_node('i=85')
value = await node.read_value()
print(value)
asyncio.run(main())- Performance characteristics and scalability limits for high-frequency subscriptions or large address spaces.
- Compatibility matrix with specific OPC UA server implementations beyond those mentioned in the description.
- Current state of unimplemented features (WebSocket, XML protocol, automatic reconnection, alarms).
What it is and what it does
asyncua provides a pure-Python implementation of the OPC UA protocol (IEC 62541) for building industrial automation clients and servers. It offers both high-level APIs for common tasks like connecting to servers, reading/writing node values, and managing subscriptions, as well as low-level access to OPC UA structures. The library is built on asyncio, enabling concurrent operations without explicit threading and reducing the need for locks in multi-operation scenarios.
The package includes a synchronous wrapper for use in non-async code, command-line tools for discovery and node browsing, and extensive test coverage. It supports encryption, certificate-based authentication, history reading, and event subscriptions. The implementation has been tested against multiple OPC UA stacks including Prosys, Kepware, and Beckhoff servers.
Use it for
- Connect to industrial PLC or SCADA systems to read sensor data and write control commands via OPC UA protocol.
- Build an OPC UA server to expose local data or device state to enterprise monitoring and control systems.
- Create async Python applications that monitor multiple OPC UA nodes concurrently without blocking.
- Integrate manufacturing equipment or building automation systems into Python-based data pipelines.
- Develop command-line tools for OPC UA network discovery, node browsing, and attribute manipulation.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
asyncua is actively maintained, has low install friction, no known vulnerabilities, and fills a genuine need for OPC UA support in Python. The library is mature enough for production use (Beta status, 95%+ test coverage) and offers both high-level convenience and low-level protocol access. The copyleft license is standard for industrial software and poses no barrier to most use cases. Install it if you need to integrate with OPC UA systems or build OPC UA services in Python.
Install
asyncua on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release 46 days ago and 1457 repository stars. Requires Python 3.10 or later and nine runtime dependencies including cryptography and pyopenssl for secure communication.
Requires Python 3.10 or later and an OPC UA server endpoint to connect to; asyncio and async/await syntax knowledge assumed.
License in practice
Licensed under GNU Lesser General Public License v3 or later (copyleft). You may use and modify the library freely, but derivative works must be distributed under the same or compatible license terms.
Quickstart
import asyncio
from asyncua import Client
async def main():
async with Client(url='opc.tcp://localhost:4840/freeopcua/server/') as client:
node = client.get_node('i=85')
value = await node.read_value()
print(value)
asyncio.run(main())
Verify before relying
- Performance characteristics and scalability limits for high-frequency subscriptions or large address spaces.
- Compatibility matrix with specific OPC UA server implementations beyond those mentioned in the description.
- Current state of unimplemented features (WebSocket, XML protocol, automatic reconnection, alarms).
Package facts
| License | copyleft license copyleft |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagesaiosqliteanyiocryptographypyopensslpython-dateutilpytzsortedcontainerstyping-extensionswait-for2 |
| Maintenance | Actively maintained 46 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 713,641 / month, #5,251 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)Operating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: asyncua-2.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “OPC UA client server library”
- asyncuaasyncua is an asyncio-based OPC UA client and server library…
- ua-parser-rsProvides a Rust-accelerated user-agent parser that integrates as a…
- ua-parserParses user-agent strings to extract browser, operating system, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pyisy · homeassistant · adafruit-circuitpython-requests · aiopulse · pyserial-asyncio · RPi.GPIO · async-modbus · aiounifi · pymodbus · python-hwpx