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

Uploaded Source

Built Distribution

syndesi_drivers-0.1.3-1-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syndesi-drivers-0.1.3.tar.gz
  • Upload date:
  • Size: 13.1 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.3.tar.gz
Algorithm Hash digest
SHA256 bd9b1ff73864ca4c7803eee8ef4ba2f44c5a5ba480a8b49ee3554e239a0c3419
MD5 634e7ae26ddd290b71e3380a49f0dca5
BLAKE2b-256 83226072414c7dba659d1e0f4678f6f8895d842f2b4420377bf11e757ec6f724

See more details on using hashes here.

File details

Details for the file syndesi_drivers-0.1.3-1-py3-none-any.whl.

File metadata

File hashes

Hashes for syndesi_drivers-0.1.3-1-py3-none-any.whl
Algorithm Hash digest
SHA256 9db56b961b3896ceb1eefc81ce1cb2b4a5bdc6e5f41f0a14970ae5dc6626a37b
MD5 659c9d52ec3634f98f63c56aeffb7780
BLAKE2b-256 6794a12c185653ee10a01ae02e266eb39d420259639e1de6ef48f78e513b4a4c

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