Syndesi drivers Python package
This package contains all the official Syndesi Drivers
Driver structure
class DeviceName(Interfaces):
def __init__(self, adapter : Adapter) -> None:
"""
Device description
"""
super().__init__()
# Check the adapter type here
assert isinstance(adapter, ...), "Invalid adapter"
# Use a protocol
self._prot = SCPI(adapter)
#self._prot = Raw(adapter)
# Declare a method
def my_method(self) -> int:
"""
Method description
"""
self._prot.write('...')
data = self._prot.read('...')
return int(data)
Release files for syndesi-drivers 0.2.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 | |
|---|---|---|---|
| syndesi-drivers-0.2.1.tar.gz | 28.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| syndesi_drivers-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.5 kB
Release files / syndesi-drivers-0.2.1.tar.gz
| Download URL | syndesi-drivers-0.2.1.tar.gz |
|---|---|
| Size | 28.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21ee8c9ab7a2c953df43f5f2bc9f8c702e03bc560c15d9488ee3040a009aba08
|
|
BLAKE2b-256 checksum How to use checksums |
d0bb5506fafd44ed8210e33156ef8c738e81749277cfab1234271a0870fe4bd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / syndesi_drivers-0.2.1-py3-none-any.whl
| Download URL | syndesi_drivers-0.2.1-py3-none-any.whl |
|---|---|
| Size | 35.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca3a62b04d89f09163be39d068473ddc6fc94a9c0782d3304c24d47afc076bc0
|
|
BLAKE2b-256 checksum How to use checksums |
fda05718f1f4b86cb9a880d07b76e08c76bcd8ca8b994ef84927c11ded171a1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|