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 : 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)
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.2.1.tar.gz
(28.2 kB
view details)
Built Distribution
File details
Details for the file syndesi-drivers-0.2.1.tar.gz
.
File metadata
- Download URL: syndesi-drivers-0.2.1.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21ee8c9ab7a2c953df43f5f2bc9f8c702e03bc560c15d9488ee3040a009aba08 |
|
MD5 | 6984ee30d4c3924a5268c232978ab188 |
|
BLAKE2b-256 | d0bb5506fafd44ed8210e33156ef8c738e81749277cfab1234271a0870fe4bd9 |
File details
Details for the file syndesi_drivers-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: syndesi_drivers-0.2.1-py3-none-any.whl
- Upload date:
- Size: 35.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 | ca3a62b04d89f09163be39d068473ddc6fc94a9c0782d3304c24d47afc076bc0 |
|
MD5 | 6d0db4eb966f4048f4ec936782996f13 |
|
BLAKE2b-256 | fda05718f1f4b86cb9a880d07b76e08c76bcd8ca8b994ef84927c11ded171a1b |