Metadata-Version: 2.1
Name: tango-serial
Version: 0.1.2
Summary: ALBA Python Serial with tango DeviceServer
Home-page: https://github.com/catunlock/tango_serial
Author: Alberto López Sánchez
Author-email: ctbeamlines@cells.es
License: GNU General Public License v3
Keywords: tango_serial
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: gevent
Provides-Extra: all
Requires-Dist: pytango ; extra == 'all'
Provides-Extra: tango
Requires-Dist: pytango ; extra == 'tango'

# ALBA Python Serial DeviceServer


[![ALBA Python Serial DeviceServer](https://img.shields.io/pypi/v/tango_serial.svg)](https://pypi.python.org/pypi/tango_serial)


[![ALBA Python Serial DeviceServer updates](https://pyup.io/repos/github/catunlock/tango_serial/shield.svg)](https://pyup.io/repos/github/catunlock/tango_serial/)


ALBA Python Serial device server for tango. with the aim to be API compatible
with the C++ Tango Serial device server extending its functionality.

This device server internally uses [pyserial](https://pythonhosted.org/pyserial/) meaning that supports the same serial protocols, like rfc2217:// socket:// loop:// hwgrep:// spy:// alt://

## Installation

From within your favorite python environment type:

`$ pip install tango_serial`


### Tango server

Register a Serial tango server in the tango database:
```
$ tangoctl server add -s Serial/test -d Serial test/tango_serial/1
$ tangoctl device property write -d test/tango_serial/1 -p serialline -v "rfc2217://192.168.123:5000"
```

(the above example uses [tangoctl](https://pypi.org/project/tangoctl/). You would need
to install it with `pip install tangoctl` before using it. You are free to use any other
tango tool like [fandango](https://pypi.org/project/fandango/) or Jive)

Launch the server with:

```terminal
$ Serial test
```


## Credits

### Development Lead

* Alberto López Sánchez <alopez@cells.es>
* CTBeamlines (ctbeamlines@cells.es)

### Contributors

None yet. Why not be the first?


## History

### 0.1.0 (2020-12-15)

* First release on PyPI.


