Syndesi drivers
Project description
Syndesi drivers Python package
This package contains all the official Syndesi Drivers
Driver structure
class DeviceName(Interfaces):
def __init__(self, adapter : IAdapter) -> 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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
syndesi-drivers-0.1.4.tar.gz
(18.1 kB
view details)
Built Distribution
File details
Details for the file syndesi-drivers-0.1.4.tar.gz
.
File metadata
- Download URL: syndesi-drivers-0.1.4.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aec49fa6c23d730f6dbace35aa3c00a7f31697e4684763abdafe067296d00a09 |
|
MD5 | 7a028ba005c00d53f82f90b894c8a80f |
|
BLAKE2b-256 | ea36d8973b891f57fcccf62399b6928d4c610f5203e7aaa50ae56891def2e973 |
File details
Details for the file syndesi_drivers-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: syndesi_drivers-0.1.4-py3-none-any.whl
- Upload date:
- Size: 27.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e798b979aefe3323b184278a121f634b6254150acef93778e617abc8c73b2df |
|
MD5 | f5defc2f00fb1cf5a460311cac59fdee |
|
BLAKE2b-256 | 50004534d4ae28e5f1538b754df3d53857213550a171f91fb1b664362bb44f02 |