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

Uploaded Source

File details

Details for the file pytango-9.4.0rc1.tar.gz.

File metadata

  • Download URL: pytango-9.4.0rc1.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.15

File hashes

Hashes for pytango-9.4.0rc1.tar.gz
Algorithm Hash digest
SHA256 942906fcf8dbed807139a97c0e21177339383693277e34f92bc8623ad3d16103
MD5 93da292757c299a0938607bf0d74f0e4
BLAKE2b-256 c3fddca535f75bef9a3a76538b04f5825f43b8e31645f929c1b4984a4b51ff4e

See more details on using hashes here.

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