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.3.1 (9, 3, 1)
PyTango compiled with:
    Python : 2.7.15
    Numpy  : 1.16.2
    Tango  : 9.3.3
    Boost  : 1.67.0

PyTango runtime is:
    Python : 2.7.15
    Numpy  : 1.16.2
    Tango  : 9.3.3
    Boost  : 0.0.0

PyTango running on:
('Linux', 'hostname', '4.4.0-131-generic', '#157-Ubuntu SMP Sat Jul 27 06:00:36 UTC 2019', '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.1.tar.gz (3.4 MB view details)

Uploaded Source

Built Distributions

pytango-9.3.1-cp37-cp37m-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.7m Windows x86-64

pytango-9.3.1-cp37-cp37m-win32.whl (2.9 MB view details)

Uploaded CPython 3.7m Windows x86

pytango-9.3.1-cp36-cp36m-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.6m Windows x86-64

pytango-9.3.1-cp36-cp36m-win32.whl (2.9 MB view details)

Uploaded CPython 3.6m Windows x86

pytango-9.3.1-cp27-cp27m-win_amd64.whl (3.8 MB view details)

Uploaded CPython 2.7m Windows x86-64

pytango-9.3.1-cp27-cp27m-win32.whl (2.9 MB view details)

Uploaded CPython 2.7m Windows x86

File details

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

File metadata

  • Download URL: pytango-9.3.1.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.11.1 setuptools/32.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for pytango-9.3.1.tar.gz
Algorithm Hash digest
SHA256 54bdca5091fb351be984f71738ce0e2f8ba90c3ac6a50be20dfc7d4cad054806
MD5 f49e86dae13c5e5d0cba1e0d7c461783
BLAKE2b-256 b90fa631a5b13f7357979c6df2aa238389c3f695598f207c1a5738e16cf54ea5

See more details on using hashes here.

File details

Details for the file pytango-9.3.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pytango-9.3.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.11.1 setuptools/32.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for pytango-9.3.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 8e61617c1ba98d7abecc6c939a3b6bed6ad5ff00d515d29ea030347755a59200
MD5 a901a068f502a949d67f6b9edf8bebd2
BLAKE2b-256 f6de466bd5f0fbfff45d87a28d16591d2c7c5bcffd8cd77850c938b5e94067c4

See more details on using hashes here.

File details

Details for the file pytango-9.3.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: pytango-9.3.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.11.1 setuptools/32.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for pytango-9.3.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 618008d84d9ed34749f61e9e5232d0bbb9c7ad295e79b83407bbb0876c41cd7b
MD5 08b0ee4d1e1e42e307a9a11fb4050848
BLAKE2b-256 50f660a8822839032c854bbf806d2d558f74fc3d36010fa6643b80ebae42edda

See more details on using hashes here.

File details

Details for the file pytango-9.3.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pytango-9.3.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.11.1 setuptools/32.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for pytango-9.3.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 cccf547b34d48cd7ef99aa1279d47784da1c1cb582b6cbc546ca4e280cbd2459
MD5 cf356fd21fe15ea8f32333a63afaa33e
BLAKE2b-256 4759a74803dd95f603be1edf4df877d7738d95e60df159398ab9d31967fd3360

See more details on using hashes here.

File details

Details for the file pytango-9.3.1-cp36-cp36m-win32.whl.

File metadata

  • Download URL: pytango-9.3.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.11.1 setuptools/32.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for pytango-9.3.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 254348ca5f17ed5b79cb653eeb46d87ac3d7347fc17b4b2185c4618fc4c000d7
MD5 5a74f233d83acfcbdd558aa822b94094
BLAKE2b-256 b455b854e98a638a028fb32e5c2007ad86d5d4ff35d24637250c9ecf81a0cf54

See more details on using hashes here.

File details

Details for the file pytango-9.3.1-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: pytango-9.3.1-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.11.1 setuptools/32.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for pytango-9.3.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 de4f7280df1d0c3194be5b59bc2c23aa9b4b84985d696a145073d71a057a6bb9
MD5 d393f5c5e758db273394b68520327395
BLAKE2b-256 245d85918f6acafdc8e410bbd316a4a0d96981bee83d1112362969d4554a2a39

See more details on using hashes here.

File details

Details for the file pytango-9.3.1-cp27-cp27m-win32.whl.

File metadata

  • Download URL: pytango-9.3.1-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.11.1 setuptools/32.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for pytango-9.3.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 89647522eb85e676fbfdf442de28eb8154ea3130cb2be6edfbf13b966ed1aeaa
MD5 b233238d73890a9ae0e364262e1f1732
BLAKE2b-256 4fdade73943ba6673235a0d00e4996ea3c146a94dcda053c10002478f572621f

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