A python binding for the Tango control system

Tango, CORBA, binding, python
pip install PyTango==9.2.5



Codacy Badge

Main website: http://pytango.readthedocs.io

Python binding for Tango, a library dedicated to distributed control systems.


PyTango exposes the complete Tango C++ API through the tango python module. It also adds a bit of abstraction by taking advantage of the Python capabilites:

  • tango.client provides a client access to device servers and databases.
  • tango.server provides base classes to declare and run device servers.


PyTango is compatible with python 2 and python 3.

General dependencies:

Python dependencies:

Build dependencies:

Optional dependencies:


As a general rule, libtango and pytango should share the same major and minor version (for a version X.Y.Z, X and Y should match)


PyTango is available on PyPI as pytango:

$ pip install pytango

Alternatively, PyTango can be built and installed from the sources:

$ python setup.py install

In both cases, the installation takes a few minutes since the _tango boost extension has to compile.


To test the installation, import tango and check tango.utils.info():

>>> import tango
>>> print(tango.utils.info())
PyTango 9.2.6 (9, 2, 6, 'dev', 0)
PyTango compiled with:
    Python : 2.7.15
    Numpy  : 1.15.4
    Tango  : 9.2.5
    Boost  : 1.67.0

PyTango runtime is:
    Python : 2.7.15
    Numpy  : 1.15.4
    Tango  : 9.2.5
    Boost  : 0.0.0

PyTango running on:
('Linux', 'hostname', '4.4.0-131-generic', '#157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018', 'x86_64', 'x86_64')

For an interactive use, consider using ITango, a tango IPython profile.


Check out the documentation for more informations.

Support and contribution

You can get support from the Tango forums, for both Tango and PyTango questions.

All contributions, PR and bug reports are welcome, please see: How to Contribute !