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:
- libtango >= 9.3, and its dependencies: omniORB4 and libzmq
- Boost.Python >= 1.33
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.
Note
For custom Boost.Python installation locations, environment variables can be used to modify the default paths. See the description of the BOOST_ROOT and related variables in the setup.py file.
Usage
To test the installation, import tango and check tango.utils.info():
>>> import tango >>> print(tango.utils.info()) PyTango 9.3.3 (9, 3, 3) 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 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pytango-9.3.3-cp27-cp27m-win32.whl (2.9 MB) | File type Wheel | Python version cp27 | Upload date | Hashes View |
Filename, size pytango-9.3.3-cp27-cp27m-win_amd64.whl (3.8 MB) | File type Wheel | Python version cp27 | Upload date | Hashes View |
Filename, size pytango-9.3.3-cp36-cp36m-win32.whl (2.9 MB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size pytango-9.3.3-cp36-cp36m-win_amd64.whl (3.6 MB) | File type Wheel | Python version cp36 | Upload date | Hashes View |
Filename, size pytango-9.3.3-cp37-cp37m-win32.whl (2.9 MB) | File type Wheel | Python version cp37 | Upload date | Hashes View |
Filename, size pytango-9.3.3-cp37-cp37m-win_amd64.whl (3.6 MB) | File type Wheel | Python version cp37 | Upload date | Hashes View |
Filename, size pytango-9.3.3-cp38-cp38-win32.whl (2.8 MB) | File type Wheel | Python version cp38 | Upload date | Hashes View |
Filename, size pytango-9.3.3-cp38-cp38-win_amd64.whl (3.6 MB) | File type Wheel | Python version cp38 | Upload date | Hashes View |
Filename, size pytango-9.3.3.tar.gz (4.9 MB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for pytango-9.3.3-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c481628c0b7b0cda737adbf6194d0d143f66352e04e310912c9bae236ed2e482 |
|
MD5 | d911fe19df4c349d064e2f5b6b8db0cb |
|
BLAKE2-256 | bfe467af6c185ad067edabef0b2eabfefb94e6873ef0ae9563bac3c81edf655d |
Hashes for pytango-9.3.3-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | beeab13f0ce32c5d226da2c9b33dc07eb92b4c7a320164c34ff2666b2ea583a3 |
|
MD5 | d7010b9881fc2eeee6f70cd0915f7f67 |
|
BLAKE2-256 | d0218b725bd38632d6b9b07dbc89b48ae1eb2e632e3b0441956f0f216e0e5047 |
Hashes for pytango-9.3.3-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d566fe6f091b12032d5ad90465f3770f02ccc7e8bd7345543074936676eb3d9 |
|
MD5 | 3619bf5f0dc6062743b75a549d354b24 |
|
BLAKE2-256 | b913e7a3ab9deca1b2da690a24b7026c0eaa8a7d0cdc0c3360520c36f946d508 |
Hashes for pytango-9.3.3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0627968afbc3bfc6d5f81c8d2094a823f57e489853704493b85b1628423c7e0 |
|
MD5 | 74dc6044f0963e0c4e8cdff4b81b0136 |
|
BLAKE2-256 | 47d4b3f39a10ec8f09e620f29ece39f33875631645ff0e6b2d157f0983f894e5 |
Hashes for pytango-9.3.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c70dd4c634b8514b6022641d02512f7d275f80e226d39765954d0f91b003c5e |
|
MD5 | b3d712baabad79328e91ca2a1d695ceb |
|
BLAKE2-256 | 1ec9050ffe0e7b710f35bc01f31fbbf30a2242338092ee22e5029c7bf9492e26 |
Hashes for pytango-9.3.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eef2db112050c04ade0b3d2fc1540b8f8ff2f9029034ddc8806afc0053b404da |
|
MD5 | 0c75a0573de7b4568a00daeaad5ce18a |
|
BLAKE2-256 | 79848409a32aafda49ec92b1e9ba35bfd2abe97380b8790e3a775bc0f0534ee7 |
Hashes for pytango-9.3.3-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e166d1e887488f368144caabb1afd4b0026a1a5a190ea76c52e92d7420429d9 |
|
MD5 | fa5f11f32c75e7d7d43613dda291f478 |
|
BLAKE2-256 | 22ea1c30f283dd6f1ef62213e273c65e0973f25d1404e0928e6257becfce74d5 |
Hashes for pytango-9.3.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 133efb1b70c95a24ae129941c76c9485e8ebdc5cd3edac803257f30091f2bb61 |
|
MD5 | 249096a909930e1601b73cdb2bff3923 |
|
BLAKE2-256 | 6b9a8e68b29bddea8b3dc56fdaf69d3a0377bb5a0d1df73553d45b6056aa402a |