syndesi-drivers


Namesyndesi-drivers JSON
Version 0.2.1 PyPI version JSON
download
home_pageNone
SummarySyndesi drivers
upload_time2024-06-28 05:14:12
maintainerNone
docs_urlNone
authorSebastien Deriaz
requires_pythonNone
licenseNone
keywords python syndesi drivers
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Syndesi drivers Python package

This package contains all the official Syndesi Drivers

## Driver structure

```python
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)
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "syndesi-drivers",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, syndesi, drivers",
    "author": "Sebastien Deriaz",
    "author_email": "sebastien.deriaz1@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d0/bb/5506fafd44ed8210e33156ef8c738e81749277cfab1234271a0870fe4bd9/syndesi-drivers-0.2.1.tar.gz",
    "platform": null,
    "description": "# Syndesi drivers Python package\n\nThis package contains all the official Syndesi Drivers\n\n## Driver structure\n\n```python\nclass DeviceName(Interfaces):\n    def __init__(self, adapter : Adapter) -> None:\n        \"\"\"\n        Device description\n        \"\"\"\n        super().__init__()\n\n        # Check the adapter type here\n        assert isinstance(adapter, ...), \"Invalid adapter\"\n\n        # Use a protocol\n        self._prot = SCPI(adapter)\n        #self._prot = Raw(adapter)\n\n    # Declare a method\n    def my_method(self) -> int:\n        \"\"\"\n        Method description\n        \"\"\"\n        self._prot.write('...')\n        data = self._prot.read('...')\n        return int(data)\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Syndesi drivers",
    "version": "0.2.1",
    "project_urls": null,
    "split_keywords": [
        "python",
        " syndesi",
        " drivers"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fda05718f1f4b86cb9a880d07b76e08c76bcd8ca8b994ef84927c11ded171a1b",
                "md5": "6d0db4eb966f4048f4ec936782996f13",
                "sha256": "ca3a62b04d89f09163be39d068473ddc6fc94a9c0782d3304c24d47afc076bc0"
            },
            "downloads": -1,
            "filename": "syndesi_drivers-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6d0db4eb966f4048f4ec936782996f13",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 35388,
            "upload_time": "2024-06-28T05:14:10",
            "upload_time_iso_8601": "2024-06-28T05:14:10.193692Z",
            "url": "https://files.pythonhosted.org/packages/fd/a0/5718f1f4b86cb9a880d07b76e08c76bcd8ca8b994ef84927c11ded171a1b/syndesi_drivers-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0bb5506fafd44ed8210e33156ef8c738e81749277cfab1234271a0870fe4bd9",
                "md5": "6984ee30d4c3924a5268c232978ab188",
                "sha256": "21ee8c9ab7a2c953df43f5f2bc9f8c702e03bc560c15d9488ee3040a009aba08"
            },
            "downloads": -1,
            "filename": "syndesi-drivers-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6984ee30d4c3924a5268c232978ab188",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 28157,
            "upload_time": "2024-06-28T05:14:12",
            "upload_time_iso_8601": "2024-06-28T05:14:12.037196Z",
            "url": "https://files.pythonhosted.org/packages/d0/bb/5506fafd44ed8210e33156ef8c738e81749277cfab1234271a0870fe4bd9/syndesi-drivers-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-28 05:14:12",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "syndesi-drivers"
}
        
Elapsed time: 0.25996s