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.5.tar.gz
(18.4 kB
view details)
Built Distribution
File details
Details for the file syndesi-drivers-0.1.5.tar.gz
.
File metadata
- Download URL: syndesi-drivers-0.1.5.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d93e16aebf8589db6f24e5a64bd50e631b597514ba48a4d127815e8d87dd822c |
|
MD5 | 44324421899a3b3cac0bafc432fda853 |
|
BLAKE2b-256 | e96e39dd644f84939870da06514456087b26332207d92fd2a9041bb4c2ecf7fd |
File details
Details for the file syndesi_drivers-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: syndesi_drivers-0.1.5-py3-none-any.whl
- Upload date:
- Size: 27.4 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 | edaa4732c28b97f0bf7ea58bd078cb6430bfdf3027b8e3dee6c360ad1b70fc76 |
|
MD5 | 7b495e1183550cade269d208d2331ad8 |
|
BLAKE2b-256 | b054c7a9fa826f2dc1571c6056b007702a6c1d48cf29ac2b2babef9ce5dce572 |