Skip to main content

URML

A small, opinionated, human-readable language for describing robot intent.

urml.dev


urml-opcua-runtime

Industrial-automation reference runtime for URML — OpcUaAdapter for OPC UA Robotics cells, via asyncua.

OPC UA Robotics is the universal factory-floor / PLC companion spec. This adapter is the industrial-automation analog of the PX4/marine no-ROS proof and mirrors BlueRovAdapter: lazy asyncua, no ROS 2 dependency, a lazily-opened cached client, failures returned not raised. It hits the manufacturer / federal-procurement wedge (RFC-0007) and complements the shipped industrial-arm family + RFC-0013 primitives. Built against the frozen substrate Protocol per RFC-0014.

Method coverage

URML primitive v0.1
move_to / hover call the configured per-location OPC UA method node
dock call the configured station-service method — the path RFC-0013 swap_tool rides, preserved
grasp / release call the configured manipulation method
wait hold (success)
measure / wait_for read the configured variable node
report structured record to a local sink (no cloud)
scan documented not-supported result: no area-scan controller (a scan is waypoints plus a capture at each one)

detect, capture, speak, listen return not_supported_on_opcua_cell (pair a vision/HMI companion). The drone trio returns not_applicable_opcua.

Spec gaps (RFC-0014 protocol)

This runtime surfaced two genuinely inexpressible needs — filed as RFC-0015 (ControlProgram/PLC-method invocation) and RFC-0016 (real-time/cyclic manifest block), both Draft, maintainer-decided. They are not silently bolted on. See SPEC-GAPS.md, which also flags the asyncua LGPL-3.0 optional-dependency posture for maintainer ratification.

Install / use

pip install -e reference/opcua-runtime[opcua]   # installs asyncua
from urml_opcua_runtime import OpcUaAdapter, OpcUaConfig
from urml_opcua_runtime.adapter import MethodTarget
cfg = OpcUaConfig(location_to_method={"pick_bin": MethodTarget(method="ns=2;s=MoveTo", args=["pick_bin"])})
with OpcUaAdapter(cfg) as cell:
    assert cell.send_navigation_goal(location="pick_bin").success

Status

v0.1 (this release):

  • OpcUaAdapter + OpcUaConfig (asyncua, no ROS). opcua_cell US-provenance manifest + conformance/fixtures/industrial/07_opcua_cell_positive.yaml (RFC-0013 pick_from/place_at) verified through the runner (hermetic against MockROSAdapter; adapter-agnostic against OpcUaAdapter).
  • Hermetic unit tests: nav (configured + unmapped), dock/swap_tool, grasp, measure, scan (not supported), lifecycle, the unconfigured / not-supported / not-applicable sentinels, the missing-[opcua]-extra error, the conformance hook; no asyncua install required.
  • Gated .github/workflows/opcua-integration.yml: opcua-smoke (real asyncua), opcua-arm64-build (the Jetson-class QEMU signal), opcua-server-e2e against a local asyncua server (first run is a calibration run by design — the established px4/ros2/marine convention).

Follow-ups (not yet): RFC-0015/0016 outcomes; a bundled asyncua demo server for the e2e.

Core Commitment

Business Source License 1.1: free for non-production use, commercial license for production (see LICENSING.md). No vendor coupling, no cloud dependency. asyncua is an LGPL-3.0 optional dependency — see SPEC-GAPS.md.

Metadata

Release files for urml-opcua-runtime 0.5.2

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

Source distribution (sdist)

Source distribution for urml-opcua-runtime 0.5.2
File Size Uploaded Provenance Actions
urml_opcua_runtime-0.5.2.tar.gz 12.7 kB Without provenance Details for urml_opcua_runtime-0.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for urml-opcua-runtime 0.5.2
File Interpreter ABI Platform Actions
urml_opcua_runtime-0.5.2-py3-none-any.whl Python 3 none any Details for urml_opcua_runtime-0.5.2-py3-none-any.whl

Total release size: 22.6 kB

Release files / urml_opcua_runtime-0.5.2.tar.gz

Download URL urml_opcua_runtime-0.5.2.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b35cc43e914f48d0768fbdc61c4b1ac15ea0aee3ce5870ad3384786e2fe85505
BLAKE2b-256 checksum
How to use checksums
b90bb05fcfc2ad152ad428a87566a49620cb1d3d3cf85b3262a537cf91998c47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / urml_opcua_runtime-0.5.2-py3-none-any.whl

Download URL urml_opcua_runtime-0.5.2-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3a41645bd0ffba27941f08834ed7366038a9e364df4f18e058f96372cad5457
BLAKE2b-256 checksum
How to use checksums
9d61bf74258a60a21b6616776eafb24452845c35a24366023e28d39434ab7800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for urml-opcua-runtime 0.5.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files No provenance

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