skillfed

pytango

Python bindings for the cppTango library; part of the Tango Distributed Control System toolkit

pytango v10.3.1 80.8K downloads/30d#14,270 on PyPI
Copyleft license Active released

What it is and what it does

PyTango is a Python binding for Tango, a middleware framework for distributed control systems. It wraps the cppTango C++ library and exposes its full API through a Python module, allowing developers to build both clients that communicate with device servers and servers that expose devices to the network. The package depends on numpy, psutil, packaging, typing_extensions, and docstring_parser at runtime, and requires system-level installation of cppTango and its dependencies (omniORB4 and libzmq).

The library is organized into two main components: a client module for connecting to and querying device servers and databases, and a server module for implementing device servers with declarative base classes. It supports Python 3.10 and later, with pre-built wheels for recent Python versions on Linux, macOS, and Windows. Optional dependencies enable telemetry and testing.

Use it for:

  • Build a Python client to read and write attributes on remote device servers in a laboratory or industrial automation environment.
  • Implement a custom device server in Python that exposes hardware or software resources to the network.
  • Integrate distributed control into a larger Python application for scientific instrument orchestration.
  • Monitor and log device state and telemetry from multiple servers using the client API.
  • Develop test harnesses for device servers using the server base classes.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

PyTango exposes the complete Tango C++ API through Python, providing client and server interfaces for distributed control systems.

Yes, if you are working within a Tango-based distributed control system ecosystem. The package is actively maintained, has no known vulnerabilities, and provides the official Python binding to cppTango. Medium install friction is acceptable for specialized domains like scientific instrumentation. LGPL copyleft licensing requires care if you plan to distribute derivative works; review your use case before committing.

Install

pytango on PyPI

pip

pip install pytango

uv

uv add pytango

poetry

poetry add pytango

Installing pytango

Before you install

Medium install friction due to compiled dependencies (cppTango, omniORB4, libzmq). Pre-built wheels available for Python 3.10–3.13 on macOS, Linux, and Windows. Maintenance is active with a release 25 days old.

License in practice

Licensed under LGPL (copyleft). Derivative works and modifications must be distributed under compatible terms; static or dynamic linking may trigger disclosure obligations depending on your use case.

Quickstart

pip install pytango
import tango
tango.utils.info()

Requires cppTango and its dependencies (omniORB4, libzmq) to be installed on the system; consult documentation for platform-specific setup.

Verify before relying

  • Whether pre-built wheels cover all target platforms and architectures beyond those listed in friction evidence.
  • Performance characteristics and latency guarantees for device communication over the Tango protocol.
  • Compatibility matrix between PyTango and cppTango versions beyond the stated major.minor requirement.

Package facts

License not declared (copyleft)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 5 — numpy, packaging, psutil, typing_extensions, docstring_parser
Maintenance actively maintained — 25 days since the last release
First released
Downloads 80,797/month — #14,270 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pytango-10.3.1-cp310-cp310-macosx_12_0_arm64.whl; pytango-10.3.1-cp310-cp310-macosx_12_0_x86_64.whl; pytango-10.3.1-cp310-cp310-manylinux_2_28_aarch64.whl; pytango-10.3.1-cp310-cp310-manylinux_2_28_x86_64.whl; pytango-10.3.1-cp310-cp310-win32.whl; pytango-10.3.1-cp310-cp310-win_amd64.whl; pytango-10.3.1-cp311-cp311-macosx_12_0_arm64.whl; pytango-10.3.1-cp311-cp311-macosx_12_0_x86_64.whl; pytango-10.3.1-cp311-cp311-manylinux_2_28_aarch64.whl; pytango-10.3.1-cp311-cp311-manylinux_2_28_x86_64.whl; pytango-10.3.1-cp311-cp311-win32.whl; pytango-10.3.1-cp311-cp311-win_amd64.whl; pytango-10.3.1-cp312-cp312-macosx_12_0_arm64.whl; pytango-10.3.1-cp312-cp312-macosx_12_0_x86_64.whl; pytango-10.3.1-cp312-cp312-manylinux_2_28_aarch64.whl; pytango-10.3.1-cp312-cp312-manylinux_2_28_x86_64.whl; pytango-10.3.1-cp312-cp312-win32.whl; pytango-10.3.1-cp312-cp312-win_amd64.whl; pytango-10.3.1-cp313-cp313-macosx_12_0_arm64.whl; pytango-10.3.1-cp313-cp313-macosx_12_0_x86_64.whl

Development Status :: 5 - Production/StableEnvironment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)Natural Language :: EnglishOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: CProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development :: Libraries

Tags

tango distributed control systemsdevice server python bindingstango c++ python wrapperscientific instrument controldistributed system middlewaredevice communication protocolcontrol system framework
distributed-controldevice-serverscientific-instrumentation

More Libraries packages