Asyncio (or sans-i/o) TwinCAT AMS/ADS testing server in pure Python.
… and maybe a prototype client, too.
Requirements
Python 3.9+
(Optional) pytmc (for loading .tmc files in the server)
Server Functionality
Reference asyncio implementation.
Loads .tmc files for symbol information (basic types only).
Supports read, write, read/write of symbols (by handle or name).
Supports ‘sum up’ bulk reads (by way of read_write).
Pretends to create/delete notifications (not yet working)
Client Functionality
Preliminary symbol, handle, and notification support
LOGGER port message decoding
Shortcuts for common information (project/application/task names, task count)
Ability to easily prune unknown notification handles
Automatic reconnection
Log system configuration
Installation
$ git clone git@github.com:pcdshub/ads-async $ cd ads-async $ pip install .
Running the Tests
$ pip install pytest $ pytest -vv ads_async/tests
Metadata
Release files for ads-async 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ads-async-0.3.1.tar.gz | 109.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ads_async-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 219.5 kB
Release files / ads-async-0.3.1.tar.gz
| Download URL | ads-async-0.3.1.tar.gz |
|---|---|
| Size | 109.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0a6593ad8af7b89a3b8c8f9e2f66696ba9ceb85165194773a8777e02fc26777
|
|
BLAKE2b-256 checksum How to use checksums |
f585e1e9c62b7585d1517f2515cdaa6d89f302d6ee62fb88541657ec9fff7396
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / ads_async-0.3.1-py3-none-any.whl
| Download URL | ads_async-0.3.1-py3-none-any.whl |
|---|---|
| Size | 110.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
756a1f01b63b027a43bd594f48c0243f3448f3a94eaff6145b6029da1aeb9478
|
|
BLAKE2b-256 checksum How to use checksums |
6500585a5e68b2811e9c3e28b6b3040eb4dbd342241983537cc954ce2b19a7b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|