Skip to main content

A python binding for the Tango control system

Project description

Main website:

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). On some systems you may need to install libtango, omniORB4 and libzmq related development packages.


PyTango is available on PyPI as pytango:

$ pip install pytango

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

$ python install

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


For custom Boost.Python installation locations, environment variables can be used to modify the default paths. See the description of the BOOST_ROOT and related variables in the file.


To test the installation, import tango and check

>>> import tango
>>> print(
PyTango 9.3.3 (9, 3, 3)
PyTango compiled with:
    Python : 2.7.15
    Numpy  : 1.16.2
    Tango  : 9.3.3
    Boost  : 1.67.0

PyTango runtime is:
    Python : 2.7.15
    Numpy  : 1.16.2
    Tango  : 9.3.3

PyTango running on:
('Linux', 'hostname', '4.4.0-131-generic', '#157-Ubuntu SMP Sat Jul 27 06:00:36 UTC 2019', '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 !

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytango-9.3.3.tar.gz (4.9 MB view hashes)

Uploaded source

Built Distributions

pytango-9.3.3-cp38-cp38-win_amd64.whl (3.6 MB view hashes)

Uploaded cp38

pytango-9.3.3-cp38-cp38-win32.whl (2.8 MB view hashes)

Uploaded cp38

pytango-9.3.3-cp37-cp37m-win_amd64.whl (3.6 MB view hashes)

Uploaded cp37

pytango-9.3.3-cp37-cp37m-win32.whl (2.9 MB view hashes)

Uploaded cp37

pytango-9.3.3-cp36-cp36m-win_amd64.whl (3.6 MB view hashes)

Uploaded cp36

pytango-9.3.3-cp36-cp36m-win32.whl (2.9 MB view hashes)

Uploaded cp36

pytango-9.3.3-cp27-cp27m-win_amd64.whl (3.8 MB view hashes)

Uploaded cp27

pytango-9.3.3-cp27-cp27m-win32.whl (2.9 MB view hashes)

Uploaded cp27

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page