{ "info": { "author": "Johann Kellerman", "author_email": "kellerza@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "pyqwikswitch library\n====================\n\n[![CircleCI](https://circleci.com/gh/kellerza/pyqwikswitch.svg?style=svg)](https://circleci.com/gh/kellerza/pyqwikswitch)\nQwikSwitch USB Modem library for Python 3\n\n See http://www.qwikswitch.co.za for more information on the Qwikswitch devices.\n\n The library contains threaded and async interfaces and supports relays, buttons, LED dimmers and decoding of various [sensors](https://github.com/kellerza/pyqwikswitch/blob/master/pyqwikswitch/qwikswitch.py#L277)\n\n## QSUsb class\n\n* Get a list of all devices & values. *(http://localhost:2020/&device)*\n\n `QSUsb.devices()`\n\n ```\n [{\"id\": \"@0c26e0\",\"name\": \"buitelig\",\"type\": \"rel\",\"val\": \"ON\",\n \"time\": \"1460146507\",\"rssi\": \"45%\"},\n .....]\n ```\n\n* Long poll *(http://localhost:8080/&listen)* for device changes and\n button presses. This is non-blocking and should be stopped manually (`.stop()`)\n\n `QSUsb.listen(callback)`\n\n\n* Set a specific device according to ID. (dim 5%) or 100 (on) *(http://localhost:8080/@0ac2f0=5)*\n\n `QSUsb.set(id, value)`\n\n Dimmers values can be adjusted to get a more linear behaviour by setting `dim_adj` between 1 - 2\n\n\n## Example usage\n\nSee [example.py](./example.py) for a basic usage and tests though the synchronous interface", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/kellerza/pyqwikswitch/tarball/0.94", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kellerza/pyqwikswitch", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyqwikswitch", "package_url": "https://pypi.org/project/pyqwikswitch/", "platform": "", "project_url": "https://pypi.org/project/pyqwikswitch/", "project_urls": { "Download": "https://github.com/kellerza/pyqwikswitch/tarball/0.94", "Homepage": "https://github.com/kellerza/pyqwikswitch" }, "release_url": "https://pypi.org/project/pyqwikswitch/0.94/", "requires_dist": null, "requires_python": "", "summary": "Library to interface Qwikswitch USB Hub", "version": "0.94" }, "last_serial": 5700121, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "9acbf2c7d108640d7811f112373dd359", "sha256": "855ffd18bfca6543fb0ba446f2cf20b1f1fe762ed68bf512298747d2ccc0a216" }, "downloads": -1, "filename": "pyqwikswitch-0.4.tar.gz", "has_sig": false, "md5_digest": "9acbf2c7d108640d7811f112373dd359", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3980, "upload_time": "2016-12-29T07:53:43", "url": "https://files.pythonhosted.org/packages/a3/b9/59b2c8bb73062d0aee9285fd96c06d074b90d2df85072302cb0eeccdcaa9/pyqwikswitch-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "aff4f7eda8f81eff602e4705d060382c", "sha256": "056c8abcd3e260d4c0a35b5c3457fcfb2428454f11160a29592a915ce5cfc005" }, "downloads": -1, "filename": "pyqwikswitch-0.5.tar.gz", "has_sig": false, "md5_digest": "aff4f7eda8f81eff602e4705d060382c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5141, "upload_time": "2018-02-24T20:13:57", "url": "https://files.pythonhosted.org/packages/d0/6a/c1add454de705143538b29f8050375d07e0f7b20f2f56f179db9b4069b86/pyqwikswitch-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "7789b6abaec9ab3fd9b0765184862504", "sha256": "13ddbb356de9cbe11add2d95b2125e69acf760e00a392670b1123a7ed78f997b" }, "downloads": -1, "filename": "pyqwikswitch-0.6.tar.gz", "has_sig": false, "md5_digest": "7789b6abaec9ab3fd9b0765184862504", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5266, "upload_time": "2018-03-28T20:20:30", "url": "https://files.pythonhosted.org/packages/ac/00/b711dec27b15b848c7168b58092ec60ebdb7782da987b0997dfeb6b147d1/pyqwikswitch-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "6d601a94bce1ae9422e9cafcded55b81", "sha256": "75386ae889c15d6a5a0a9656f6f852986de825f11afc37f42349685084695233" }, "downloads": -1, "filename": "pyqwikswitch-0.7.tar.gz", "has_sig": false, "md5_digest": "6d601a94bce1ae9422e9cafcded55b81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5632, "upload_time": "2018-04-06T22:49:48", "url": "https://files.pythonhosted.org/packages/e0/47/081a87bfb658d8356b155f9c740dd17313a4c469950e8040e90c3514a043/pyqwikswitch-0.7.tar.gz" } ], "0.71": [ { "comment_text": "", "digests": { "md5": "6004ec9d7a2b6bfe65787d706eb5de48", "sha256": "5cf53f1d801d1ba0352d22eb11521e3f51204efdd936c2e47492c0b019d0088e" }, "downloads": -1, "filename": "pyqwikswitch-0.71.tar.gz", "has_sig": false, "md5_digest": "6004ec9d7a2b6bfe65787d706eb5de48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6849, "upload_time": "2018-04-15T19:23:54", "url": "https://files.pythonhosted.org/packages/26/77/dfda8d252b390f7f94ca3cde41983333e913ede9746b24c90f8648dc0a55/pyqwikswitch-0.71.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "262683103291543e5cf92906a47fdb95", "sha256": "83b12b809a00c9a5591182c40efdfcc6aaef77110f9e55af564584e933641d8c" }, "downloads": -1, "filename": "pyqwikswitch-0.8.tar.gz", "has_sig": false, "md5_digest": "262683103291543e5cf92906a47fdb95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7011, "upload_time": "2018-04-19T21:27:11", "url": "https://files.pythonhosted.org/packages/20/51/129af6bb9232585ccc8d19bbbe4cea1c49048bbb7ed7eb4bc0e926a61561/pyqwikswitch-0.8.tar.gz" } ], "0.91": [ { "comment_text": "", "digests": { "md5": "9e90862462e01c8ae1660ef94e92778d", "sha256": "c8e789088c0e8803c9c3c15167b77c20978f234a354e576d8275c26301c3dbc9" }, "downloads": -1, "filename": "pyqwikswitch-0.91.tar.gz", "has_sig": false, "md5_digest": "9e90862462e01c8ae1660ef94e92778d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7475, "upload_time": "2019-03-31T18:24:03", "url": "https://files.pythonhosted.org/packages/9e/75/1f0428930cc0c06cd9cfd31ab6e2d7ad6e91dbc458b9c2e09c475501ca08/pyqwikswitch-0.91.tar.gz" } ], "0.92": [ { "comment_text": "", "digests": { "md5": "4af8678aa0693c2a878921bf296250d9", "sha256": "4f08e8b322284be5df728b718348f74fea34edd95f0d550afe64969c753d5fd7" }, "downloads": -1, "filename": "pyqwikswitch-0.92.tar.gz", "has_sig": false, "md5_digest": "4af8678aa0693c2a878921bf296250d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7430, "upload_time": "2019-03-31T19:14:10", "url": "https://files.pythonhosted.org/packages/fc/7f/321afdbc4c1041249375e0e10d924da6d3a3be5a6a54cb03856d1b52f5f6/pyqwikswitch-0.92.tar.gz" } ], "0.93": [ { "comment_text": "", "digests": { "md5": "2cbaa43b0d79aabaee9469be836142fa", "sha256": "6ff9e147f109b954d9d84d990c7de54e02da545742339fff07bc8779dfc2d163" }, "downloads": -1, "filename": "pyqwikswitch-0.93.tar.gz", "has_sig": false, "md5_digest": "2cbaa43b0d79aabaee9469be836142fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7448, "upload_time": "2019-04-01T20:23:22", "url": "https://files.pythonhosted.org/packages/06/e6/05622cf9d1a4febdef9a7cd5c8988b83d086be7ea0f4def78aa0541d5a21/pyqwikswitch-0.93.tar.gz" } ], "0.94": [ { "comment_text": "", "digests": { "md5": "4268ac22e312b759270593dc52fc965a", "sha256": "229c96cfedc432bd08fb150b04926106076740734f2483354aa2852e9b338507" }, "downloads": -1, "filename": "pyqwikswitch-0.94.tar.gz", "has_sig": false, "md5_digest": "4268ac22e312b759270593dc52fc965a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7655, "upload_time": "2019-08-19T20:05:11", "url": "https://files.pythonhosted.org/packages/38/5d/903d59a94fdbd6a8f70d9f49c32ac7f332d1ffe995e5cd5a20b39ce5194c/pyqwikswitch-0.94.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4268ac22e312b759270593dc52fc965a", "sha256": "229c96cfedc432bd08fb150b04926106076740734f2483354aa2852e9b338507" }, "downloads": -1, "filename": "pyqwikswitch-0.94.tar.gz", "has_sig": false, "md5_digest": "4268ac22e312b759270593dc52fc965a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7655, "upload_time": "2019-08-19T20:05:11", "url": "https://files.pythonhosted.org/packages/38/5d/903d59a94fdbd6a8f70d9f49c32ac7f332d1ffe995e5cd5a20b39ce5194c/pyqwikswitch-0.94.tar.gz" } ] }