{ "info": { "author": "Andrew Tolmie", "author_email": "andytheseeker@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "===============================\npyusbiss\n===============================\n\nA Python API module for interfacing with USB-ISS multifunction USB\nCommunication Module.\n\nFrom the `USB-ISS's webpage`_:\n\n The USB-ISS Multifunction USB Communications Module provides a complete\n interface between your PC and the I2C bus, SPI bus, a Serial port and general\n purpose Analogue Input or Digital I/O.\n The module is powered from the USB.\n Operating voltage is selectable between 3.3v and 5v and can supply up to\n 80mA at 5v for external circuitry from a standard 100mA USB port.\n\n* Python 3 (2 TODO)\n* Requires pyserial_\n* Free software: MIT license\n* Documentation: https://pyusbiss.readthedocs.io.\n\nFeatures\n--------\n\nPlanned features\n****************\n\n* Configure USB-ISS to different operating modes; I2C, SPI, I/O and serial\n\n * For each mode, the API will mimic the popular APIs such as `py-spidev`_ for\n SPI by having same method and properties names. These names will be used in\n duck typing.\n This will ensure miminal adaption of applications wishing to use USB-ISS\n for prototyping and testing.\n\n* Query status of USB-ISS\n* Send bytes to and read from components via USB-ISS\n\nCurrent features\n\n* Functional USBISS driver\n* Functional SPI driver\n* Other modes are not implemented.\n\nInstallation\n------------\n\n::\n\n pip install pyusbiss\n\nUsage\n-----\n\n* USBISS only\n\nConnect to your USB-ISS and get information about your USB-ISS.\n\n::\n\n from usbiss.usbiss import USBISS\n\n port = 'COM4' # Windows\n port = '/dev/ttyACM0' # Linux\n\n cxn = USBISS(port)\n print(repr(cxn)))\n\n* SPI mode\n\nInitiate USB-ISS with SPI mode and open a port.\n\n::\n\n from usbiss.spi import SPI\n\n spi = SPI(port)\n\n spi.mode = 1\n spi.max_speed_hz = 500000\n\n print(repr(spi._usbiss))\n\n # SPI transaction\n\n response = spi.xfer([0x00, 0x00])\n\n* I2C mode\n\n TODO\n\n* I/O mode\n\n TODO\n\n* Serial mode\n\n TODO\n\nMore Information\n----------------\n\n* `USB-ISS'S webpage`_\n\nApplications\n------------\n\n* Alphasense OPC via dhhagan's py-opc_ module using the SPI protocol.\n\nCredits\n-------\n\nThe project was developed during a NERC's placement at University of Leeds.\n\nThis package was created with Cookiecutter_ and the\n`audreyr/cookiecutter-pypackage`_ project template.\n\nInspired by `Waggle's alphasense.py`_, where most of USB-ISS functions were\ncopied over.\n\n.. _`USB-ISS's webpage`: https://www.robot-electronics.co.uk/htm/usb_iss_tech.htm\n.. _pyserial: https://pypi.python.org/pypi/pyserial\n.. _py-spidev: https://pypi.python.org/pypi/spidev\n.. _py-opc: https://pypi.python.org/pypi/py-opc\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n.. _`Waggle's alphasense.py`: https://github.com/waggle-sensor/waggle\n\n\n=======\nHistory\n=======\n\n0.1.0 (2016-09-02)\n------------------\n\n* Initialised project\n\n0.1.1 (2018-03-08)\n------------------\n\n* functional usbiss control and spi control.\n\n\n0.1.2 (2018-03-08)\n------------------\n\n* Changed SPI mode scheme to official SPI scheme rather than USB-ISS scheme.\n* Clarifies project mission in README.rst\n\n0.2.0 (2018-03-10)\n------------------\n\n* Refactored the codebase so that each protocol can be controlled by its own\n class. This means a breaking change in the interface.\n* SPI and USBISS support only in this release with updated usage.\n* Added SPI tests.\n* Updated README.rst with new interface.\n\n0.2.1 (2018-05-05)\n------------------\n\n* Refactored USB-ISS driver using property decorator\n* Updated SPI driver to use updated USBISS driver\n* Fully documented SPI driver\n* Some fixes\n\n0.2.2 (2018-05-05)\n------------------\n\n* Tidied up README.md\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/DancingQuanta/pyusbiss", "keywords": "pyusbiss,USB-ISS,SPI,I2C,serial", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "pyusbiss", "package_url": "https://pypi.org/project/pyusbiss/", "platform": "", "project_url": "https://pypi.org/project/pyusbiss/", "project_urls": { "Homepage": "https://github.com/DancingQuanta/pyusbiss" }, "release_url": "https://pypi.org/project/pyusbiss/0.2.2/", "requires_dist": [ "pyserial" ], "requires_python": "", "summary": "A Python module for interfacing with USB-ISS multifunction USB Communication Module", "version": "0.2.2" }, "last_serial": 3837100, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "0b1d642b14f4d19e44c4b4d0efeb2639", "sha256": "28eadb3679ee8a1cb0afd9ff20b7f164578295fd14541763db79c6c6e828d4f2" }, "downloads": -1, "filename": "pyusbiss-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0b1d642b14f4d19e44c4b4d0efeb2639", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9285, "upload_time": "2018-03-10T20:17:42", "url": "https://files.pythonhosted.org/packages/4a/31/c98b72c3f344dc7b0a29957ef29e21d4f968cfc6353a890dd5ce275f8a5d/pyusbiss-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "24a8289823ec5a9c125f9abfcbe40f9c", "sha256": "73560cb116b485588bdb54a843ea2b2e03a7d7e508c72cb629ada8524a694415" }, "downloads": -1, "filename": "pyusbiss-0.2.0.tar.gz", "has_sig": false, "md5_digest": "24a8289823ec5a9c125f9abfcbe40f9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12493, "upload_time": "2018-03-10T20:17:43", "url": "https://files.pythonhosted.org/packages/48/ee/4b8e74ab76ac5912baf78ba12cfcb140ebf4f7bf244f87e0fca8b5b5bd0e/pyusbiss-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "1ade8e85e418121302d99bd99d1d9e1e", "sha256": "f5f7f2ab2d4bd8e4cb2aaa625bb6580844f89f571f9fe5ab91afdd4da0156ece" }, "downloads": -1, "filename": "pyusbiss-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1ade8e85e418121302d99bd99d1d9e1e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9603, "upload_time": "2018-05-05T15:24:55", "url": "https://files.pythonhosted.org/packages/7b/f2/b903c84b77be4e6b9c221f5c212303d60a59f53562150e5ca989ce0c5ad1/pyusbiss-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a40fb096365009b50eda5f4ca9c94e79", "sha256": "1c73b4208a3a86de7789ec6f407c741f09fe1423db232bb39d44bbb18e4dd5be" }, "downloads": -1, "filename": "pyusbiss-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a40fb096365009b50eda5f4ca9c94e79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14721, "upload_time": "2018-05-05T15:24:56", "url": "https://files.pythonhosted.org/packages/fd/36/90571b5cb0ea6977b0b801b4ce23bbc623efcb8b72f77e51c9b64dde35c1/pyusbiss-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "aaad091eed84bfe74808800dbf63dcb6", "sha256": "82bec6e3eb511ae9ec7639963c53caa1e9803571b503f948bf50967099788431" }, "downloads": -1, "filename": "pyusbiss-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aaad091eed84bfe74808800dbf63dcb6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9396, "upload_time": "2018-05-05T15:46:50", "url": "https://files.pythonhosted.org/packages/4e/e3/7145c8326bf0ce475ad872d390067234f17c396d102b1843eea20f4b3be6/pyusbiss-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "468b29cfaea2d242a4ae874cfcf11004", "sha256": "123b5d751b8272ecb32bd717592933dc81bfd28259e0b768570a3412ae16e5c1" }, "downloads": -1, "filename": "pyusbiss-0.2.2.tar.gz", "has_sig": false, "md5_digest": "468b29cfaea2d242a4ae874cfcf11004", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14605, "upload_time": "2018-05-05T15:46:51", "url": "https://files.pythonhosted.org/packages/17/7f/58374ee218746bbc06b4163b9f9746f0bd5b343278722ac7a316a6fbe00b/pyusbiss-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aaad091eed84bfe74808800dbf63dcb6", "sha256": "82bec6e3eb511ae9ec7639963c53caa1e9803571b503f948bf50967099788431" }, "downloads": -1, "filename": "pyusbiss-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aaad091eed84bfe74808800dbf63dcb6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9396, "upload_time": "2018-05-05T15:46:50", "url": "https://files.pythonhosted.org/packages/4e/e3/7145c8326bf0ce475ad872d390067234f17c396d102b1843eea20f4b3be6/pyusbiss-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "468b29cfaea2d242a4ae874cfcf11004", "sha256": "123b5d751b8272ecb32bd717592933dc81bfd28259e0b768570a3412ae16e5c1" }, "downloads": -1, "filename": "pyusbiss-0.2.2.tar.gz", "has_sig": false, "md5_digest": "468b29cfaea2d242a4ae874cfcf11004", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14605, "upload_time": "2018-05-05T15:46:51", "url": "https://files.pythonhosted.org/packages/17/7f/58374ee218746bbc06b4163b9f9746f0bd5b343278722ac7a316a6fbe00b/pyusbiss-0.2.2.tar.gz" } ] }