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.2.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file syndesi-drivers-0.1.2.tar.gz.

File metadata

  • Download URL: syndesi-drivers-0.1.2.tar.gz
  • Upload date:
  • Size: 5.2 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.2.tar.gz
Algorithm Hash digest
SHA256 13a70eff8aaa68d4d3e40eec7db7a3633ef65ea73f7e45a097d4000d889ed8bd
MD5 ac2119fe7c5cb73b65674188b12a2e55
BLAKE2b-256 2a082254038782578df14c6d8646c2b20ca28568f747a6e14b2a7a280ab8f345

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