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

  • 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 2 and python 3.

General dependencies:

Python dependencies:

Build dependencies:

Optional dependencies:

Install

PyTango is available on PyPI as pytango:

$ pip install pytango

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

$ python setup.py install

In both cases, the installation takes a few minutes since 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.2.6 (9, 2, 6, 'dev', 0)
PyTango compiled with:
    Python : 2.7.15
    Numpy  : 1.15.4
    Tango  : 9.2.5
    Boost  : 1.67.0

PyTango runtime is:
    Python : 2.7.15
    Numpy  : 1.15.4
    Tango  : 9.2.5
    Boost  : 0.0.0

PyTango running on:
('Linux', 'hostname', '4.4.0-131-generic', '#157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018', 'x86_64', 'x86_64')

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

Documentation

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

Uploaded Source

File details

Details for the file pytango-9.3.0.tar.gz.

File metadata

  • Download URL: pytango-9.3.0.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

File hashes

Hashes for pytango-9.3.0.tar.gz
Algorithm Hash digest
SHA256 fb12b25eff490cab48667f66af7fdfa2200bb71ea4d12f39455062eeac4ac9a1
MD5 c58e5278a0d9328275342a4648b267b5
BLAKE2b-256 c75b7277ff884d6dd8e50053b60e2e31e724d61a8f8933271ff6ae01fa389bc3

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