pytango
Python bindings for the cppTango library; part of the Tango Distributed Control System toolkit
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 pytangouv
uv add pytangopoetry
poetry add pytangoInstalling 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
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
pybind11-globalA header-only C++ library that generates Python…
permissive · top 15,000 on PyPI
pybind11pybind11 is a header-only C++ library that…
permissive · top 1,000 on PyPI
pytest-djangopytest-django integrates Django with pytest,…
permissive · top 1,000 on PyPI
nanobindnanobind exposes C++ types in Python and vice…
permissive · top 5,000 on PyPI
shiboken2Shiboken2 provides Python access to metadata…
copyleft · top 15,000 on PyPI
pylibfdtProvides Python bindings to libfdt, the device…
unclear · top 15,000 on PyPI
mpi4pympi4py provides Python bindings for the Message…
permissive · top 5,000 on PyPI
scikit-buildscikit-build bridges setuptools and CMake to…
permissive · top 5,000 on PyPI
ophyd-asyncophyd-async provides asynchronous hardware…
permissive · top 15,000 on PyPI