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 capabilities:

  • 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 3.6+.

General dependencies:

Python dependencies:

Build dependencies:

Optional dependencies:


PyTango is available on PyPI as pytango, with pre-built binaries for some platforms (you need pip>=19.3, so upgrade first if necessary):

$ python -m pip install --upgrade pip
$ python -m pip install pytango

Alternatively, pre-built PyTango binaries can be installed from Conda Forge_:

$ conda install -c conda-forge pytango

For the very latest code, or for development purposes, PyTango can be built and installed from the sources. This is complicated by the dependencies - see the Getting Started section in the documentation.


To test the installation, import tango and check

>>> import tango
>>> print(
PyTango 9.4.0 (9, 4, 0)
PyTango compiled with:
    Python : 3.10.6
    Numpy  : 1.23.4
    Tango  : 9.4.1
    Boost  : 1.80.0

PyTango runtime is:
    Python : 3.10.6
    Numpy  : 1.23.4
    Tango  : 9.4.1

PyTango running on:
uname_result(system='Linux', node='624986bbd0fe', release='5.10.104-linuxkit', version='#1 SMP PREEMPT Thu Mar 17 17:05:54 UTC 2022', machine='x86_64', processor='x86_64')

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


Check out the documentation for more information.

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.4.1.tar.gz (4.9 MB view hashes)

Uploaded source

Built Distributions

pytango-9.4.1-cp38-cp38-win_amd64.whl (3.5 MB view hashes)

Uploaded cp38

pytango-9.4.1-cp38-cp38-win32.whl (3.1 MB view hashes)

Uploaded cp38

pytango-9.4.1-cp37-cp37m-win_amd64.whl (3.4 MB view hashes)

Uploaded cp37

pytango-9.4.1-cp37-cp37m-win32.whl (3.1 MB view hashes)

Uploaded cp37

pytango-9.4.1-cp36-cp36m-win_amd64.whl (3.4 MB view hashes)

Uploaded cp36

pytango-9.4.1-cp36-cp36m-win32.whl (3.1 MB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page