$npx skillfedfor your agent

asyncua

Pure Python OPC-UA client and server library

Worth itPyPI Python ModulesReleased Jun 2026713.6K downloads / mocopyleft licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — asyncua-2.0.1-py3-none-any.whl
v2.0.1 · released 2026-06-29 · Python >=3.10 · 9 runtime deps: aiosqlite, anyio, cryptography, pyopenssl, python-dateutil, pytz, sortedcontainers, typing-extensions

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

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).
Same gist for agents: .md · .json

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.

Worth 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

Licensecopyleft license copyleft
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
aiosqliteanyiocryptographypyopensslpython-dateutilpytzsortedcontainerstyping-extensionswait-for2
MaintenanceActively maintained 46 days since the last release
Last repo commit
First released
Downloads713,641 / month, #5,251 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
OPC UA client server libraryasyncio industrial automationIEC 62541 protocol implementationOPC UA async Pythonindustrial IoT communicationSCADA protocol clientmanufacturing device integration
Topics
industrial-automationopc-uaasyncio

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

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

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…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pyisy · homeassistant · adafruit-circuitpython-requests · aiopulse · pyserial-asyncio · RPi.GPIO · async-modbus · aiounifi · pymodbus · python-hwpx