Skip to main content

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)

Uploaded Source

Built Distribution

syndesi_drivers-0.1.5-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

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

Hashes for syndesi-drivers-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d93e16aebf8589db6f24e5a64bd50e631b597514ba48a4d127815e8d87dd822c
MD5 44324421899a3b3cac0bafc432fda853
BLAKE2b-256 e96e39dd644f84939870da06514456087b26332207d92fd2a9041bb4c2ecf7fd

See more details on using hashes here.

File details

Details for the file syndesi_drivers-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for syndesi_drivers-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 edaa4732c28b97f0bf7ea58bd078cb6430bfdf3027b8e3dee6c360ad1b70fc76
MD5 7b495e1183550cade269d208d2331ad8
BLAKE2b-256 b054c7a9fa826f2dc1571c6056b007702a6c1d48cf29ac2b2babef9ce5dce572

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page