Skip to main content

A python binding for the Tango control system

Project description

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

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

Description

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.

Requirements

PyTango is compatible with python 3.6+.

General dependencies:

Python dependencies:

Build dependencies:

Optional dependencies:

Install

PyTango is available on PyPI as pytango:

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

$ python -m pip install .

The installation may take a few minutes if the _tango boost extension has to compile.

Usage

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

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

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

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.

Documentation

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

Uploaded Source

Built Distributions

pytango-9.4.0rc2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (40.0 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pytango-9.4.0rc2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (39.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

pytango-9.4.0rc2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (39.5 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pytango-9.4.0rc2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (40.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pytango-9.4.0rc2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (39.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

pytango-9.4.0rc2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (39.5 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pytango-9.4.0rc2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.9 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pytango-9.4.0rc2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (39.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

pytango-9.4.0rc2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (39.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8 Windows x86

pytango-9.4.0rc2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (40.5 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pytango-9.4.0rc2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (39.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

pytango-9.4.0rc2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (40.0 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

pytango-9.4.0rc2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.2 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

pytango-9.4.0rc2-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (38.5 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

pytango-9.4.0rc2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (38.6 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

pytango-9.4.0rc2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.2 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

pytango-9.4.0rc2-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl (38.5 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ i686

pytango-9.4.0rc2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (38.6 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

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