Skip to main content

Python bindings for the cppTango library; part of the Tango Distributed Control System toolkit

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.9+.

General dependencies:

Python dependencies:

Build dependencies:

Optional dependencies (test):

Install

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.

Usage

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

>>> import tango
>>> print(tango.utils.info())
PyTango 9.5.0.dev0 (9, 5, 0, 'dev', 0)
PyTango compiled with:
    Python : 3.11.4
    Numpy  : 1.23.2
    Tango  : 9.5.0
    Boost  : 1.82.0

PyTango runtime is:
    Python : 3.11.4
    Numpy  : 1.26.0
    Tango  : 9.5.0

PyTango running on:
uname_result(system='Darwin', node='osloxf01', release='22.6.0', version='Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000', machine='arm64')

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

Uploaded Source

Built Distributions

pytango-9.5.0rc1-cp312-cp312-win_amd64.whl (5.1 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

pytango-9.5.0rc1-cp312-cp312-win32.whl (4.6 MB view hashes)

Uploaded CPython 3.12 Windows x86

pytango-9.5.0rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.1 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pytango-9.5.0rc1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (12.5 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

pytango-9.5.0rc1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.5 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

pytango-9.5.0rc1-cp312-cp312-macosx_11_0_arm64.whl (9.8 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pytango-9.5.0rc1-cp312-cp312-macosx_10_9_x86_64.whl (10.3 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pytango-9.5.0rc1-cp311-cp311-win_amd64.whl (5.1 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

pytango-9.5.0rc1-cp311-cp311-win32.whl (4.6 MB view hashes)

Uploaded CPython 3.11 Windows x86

pytango-9.5.0rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pytango-9.5.0rc1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (12.6 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

pytango-9.5.0rc1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.7 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pytango-9.5.0rc1-cp311-cp311-macosx_11_0_arm64.whl (9.8 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pytango-9.5.0rc1-cp311-cp311-macosx_10_9_x86_64.whl (10.2 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pytango-9.5.0rc1-cp310-cp310-win_amd64.whl (5.1 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

pytango-9.5.0rc1-cp310-cp310-win32.whl (4.6 MB view hashes)

Uploaded CPython 3.10 Windows x86

pytango-9.5.0rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pytango-9.5.0rc1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (12.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

pytango-9.5.0rc1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pytango-9.5.0rc1-cp310-cp310-macosx_11_0_arm64.whl (9.8 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pytango-9.5.0rc1-cp310-cp310-macosx_10_9_x86_64.whl (10.2 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pytango-9.5.0rc1-cp39-cp39-win_amd64.whl (5.1 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

pytango-9.5.0rc1-cp39-cp39-win32.whl (4.6 MB view hashes)

Uploaded CPython 3.9 Windows x86

pytango-9.5.0rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pytango-9.5.0rc1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (12.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

pytango-9.5.0rc1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

pytango-9.5.0rc1-cp39-cp39-macosx_11_0_arm64.whl (9.8 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pytango-9.5.0rc1-cp39-cp39-macosx_10_9_x86_64.whl (10.2 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

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