Client library for the LUCIDAC analog digital hybrid computer
Project description
An Synchronous Hybrid Controller Python Client for REDAC/LUCIDAC
This is a minimal python client, making simple things simple. That means things like device managament is capable of the python REPL without headache:
shell> python
> from simplehc import HybridController
> hc = HybridController("192.168.68.60", 5732)
INFO:simplehc:Connecting to TCP 192.168.68.60:5732...
> hc.query("status")
{'dist': {'OEM': 'anabrid',
'OEM_MODEL_NAME': 'LUCIDAC',
'OEM_HARDWARE_REVISION': 'LUCIDAC-v1.2.3',
'BUILD_SYSTEM_NAME': 'pio',
'BUILD_SYSTEM_BOARD': 'teensy41',
'BUILD_SYSTEM_BOARD_MCU': 'imxrt1062',
'BUILD_SYSTEM_BOARD_F_CPU': '600000000',
'BUILD_SYSTEM_BUILD_TYPE': 'release',
'BUILD_SYSTEM_UPLOAD_PROTOCOL': 'teensy-cli',
'BUILD_FLAGS': '-DANABRID_DEBUG_INIT -DANABRID_UNSAFE_INTERNET -DANABRID_ENABLE_GLOBAL_PLUGIN_LOADER',
'DEVICE_SERIAL_NUMBER': '123',
'SENSITIVE_FIELDS': 'DEVICE_SERIAL_UUID DEVICE_SERIAL_REGISTRATION_LINK DEFAULT_ADMIN_PASSWORD',
'FIRMWARE_VERSION': '0.0.0+g0d3e361',
'FIRMWARE_DATE': 'unavailable',
'PROTOCOL_VERSION': '0.0.1',
'PROTOCOL_DATE': 'unavailable'},
'flashimage': {'size': 316416,
'sha256sum': 'cd2f35648aba6a95dc1b32f88a0e3bf36346a5dc1977acbe6edbd2cdf42432d3'},
'auth': {'enabled': False, 'users': []},
'ethernet': {'interfaceStatus': True,
'mac': '04-E9-E5-0D-CB-93',
'ip': {'local': [192, 168, 68, 60],
'broadcast': [192, 168, 68, 255],
'gateway': [192, 168, 68, 1]},
'dhcp': {'active': True, 'enabled': True},
'link': {'state': True,
'speed': 100,
'isCrossover': True,
'isFullDuplex': True}}}
>
The repo also contains an Over-The-Air demo updater client.
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
lucipy-0.1.0.tar.gz
(14.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lucipy-0.1.0-py3-none-any.whl
(15.0 kB
view details)
File details
Details for the file lucipy-0.1.0.tar.gz.
File metadata
- Download URL: lucipy-0.1.0.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
840d5254eb8b04b3fad356c1ddb67248772f7650cbe570566c2b0aada7f4e1f3
|
|
| MD5 |
635ba31c3f8d9c2a6d645704a6b11886
|
|
| BLAKE2b-256 |
73cf6fc9152efd7945d81d1f14914679f2a0710921c37a05976652d6875216a0
|
File details
Details for the file lucipy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lucipy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35b53cfa71629099b7592b479850ec9807ee9c03005bb3686412f4981c5de4c7
|
|
| MD5 |
ab22451afc547991c14624a95919921d
|
|
| BLAKE2b-256 |
ada03d6c36bd250827aa799f07188aad58da512a94ae4b59ec50369fa72258b0
|