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.2
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.
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
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.
Source Distribution
Built Distributions
Hashes for pytango-9.3.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e61617c1ba98d7abecc6c939a3b6bed6ad5ff00d515d29ea030347755a59200 |
|
MD5 | a901a068f502a949d67f6b9edf8bebd2 |
|
BLAKE2b-256 | f6de466bd5f0fbfff45d87a28d16591d2c7c5bcffd8cd77850c938b5e94067c4 |
Hashes for pytango-9.3.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 618008d84d9ed34749f61e9e5232d0bbb9c7ad295e79b83407bbb0876c41cd7b |
|
MD5 | 08b0ee4d1e1e42e307a9a11fb4050848 |
|
BLAKE2b-256 | 50f660a8822839032c854bbf806d2d558f74fc3d36010fa6643b80ebae42edda |
Hashes for pytango-9.3.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cccf547b34d48cd7ef99aa1279d47784da1c1cb582b6cbc546ca4e280cbd2459 |
|
MD5 | cf356fd21fe15ea8f32333a63afaa33e |
|
BLAKE2b-256 | 4759a74803dd95f603be1edf4df877d7738d95e60df159398ab9d31967fd3360 |
Hashes for pytango-9.3.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 254348ca5f17ed5b79cb653eeb46d87ac3d7347fc17b4b2185c4618fc4c000d7 |
|
MD5 | 5a74f233d83acfcbdd558aa822b94094 |
|
BLAKE2b-256 | b455b854e98a638a028fb32e5c2007ad86d5d4ff35d24637250c9ecf81a0cf54 |
Hashes for pytango-9.3.1-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de4f7280df1d0c3194be5b59bc2c23aa9b4b84985d696a145073d71a057a6bb9 |
|
MD5 | d393f5c5e758db273394b68520327395 |
|
BLAKE2b-256 | 245d85918f6acafdc8e410bbd316a4a0d96981bee83d1112362969d4554a2a39 |
Hashes for pytango-9.3.1-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89647522eb85e676fbfdf442de28eb8154ea3130cb2be6edfbf13b966ed1aeaa |
|
MD5 | b233238d73890a9ae0e364262e1f1732 |
|
BLAKE2b-256 | 4fdade73943ba6673235a0d00e4996ea3c146a94dcda053c10002478f572621f |