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

Uploaded Source

Built Distribution

syndesi_drivers-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: syndesi-drivers-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for syndesi-drivers-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e976156025bea7b163eb19660bf75c4f1470974a4c45caf9d70c5a98aa785b20
MD5 feccb4132972feb9d71fa5bcac1db7cc
BLAKE2b-256 c9c7106ac14d64b675850777069567aee6c030b30f58049f3b08899cdce47194

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for syndesi_drivers-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 025583df2b73c73397de1efe2ec98d57e7b1f6459f8ef5359d31d8e5f98ce0a1
MD5 f6bf621fbb5cbdb8c9b8b849a2dc0205
BLAKE2b-256 3f77023fd7a17075740efda58e26374975c02bcd7de102c8d21dff18a898ec9a

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