{ "info": { "author": "Shubham Dipt", "author_email": "shubham.dipt@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Copyright (c) 2019 Dr. Shubham Dipt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nDescription: # tuyasmartapi\n An api for handling Tuya Smart devices.\n \n ## Dependencies\n Python3\n \n pip install -r requirements.txt\n \n \n ## Usage\n \n Create a config.ini file with the following contents.\n \n [TUYA]\n username = \n password = \n location = EU\n device = \n \n ## Installation\n \n pip install tuyasmartapi\n \n ### Example\n \n >>>from tuya.devices import TuyaSmartSwitch\n >>>device = TuyaSmartSwitch(username=CONFIG[\"TUYA\"][\"username\"], password=CONFIG[\"TUYA\"][\"password\"], location=CONFIG[\"TUYA\"][\"location\"], device=CONFIG[\"TUYA\"][\"device\"])\n >>>print(device.get_status())\n \nPlatform: any\nClassifier: Programming Language :: Python :: 3\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Operating System :: OS Independent\nDescription-Content-Type: text/markdown\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shubhamdipt/tuyasmartapi", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "tuyasmartapi", "package_url": "https://pypi.org/project/tuyasmartapi/", "platform": "", "project_url": "https://pypi.org/project/tuyasmartapi/", "project_urls": { "Homepage": "https://github.com/shubhamdipt/tuyasmartapi" }, "release_url": "https://pypi.org/project/tuyasmartapi/0.1.2/", "requires_dist": [ "certifi (==2019.9.11)", "chardet (==3.0.4)", "idna (==2.8)", "requests (==2.22.0)", "tuyapy (==0.1.3)", "urllib3 (==1.25.5)" ], "requires_python": "", "summary": "A python client for Tuya Smart devices.", "version": "0.1.2" }, "last_serial": 5869296, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "d63a8228ce1efc228b0b4012daeb0ee8", "sha256": "75ae55a8f2c360547562b017f198a17e35331e8b48978c831f9e3f3bee88e416" }, "downloads": -1, "filename": "tuyasmartapi-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d63a8228ce1efc228b0b4012daeb0ee8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3329, "upload_time": "2019-09-22T13:55:57", "url": "https://files.pythonhosted.org/packages/e6/f6/960f3025204912892111efd9b895681137d87c00a1b4a55f2e451712ce47/tuyasmartapi-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5867788aa0dbbf2cf91bf2e47c5f23a7", "sha256": "d90102268595f9931d0cc181b72ec3255b61c0709e283eedcf4cf5dd2bca20c0" }, "downloads": -1, "filename": "tuyasmartapi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5867788aa0dbbf2cf91bf2e47c5f23a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2533, "upload_time": "2019-09-22T13:56:00", "url": "https://files.pythonhosted.org/packages/ab/9e/056c083e722bc3ba28022b1f21941647ad2305b78d226f1ba34d04a01fba/tuyasmartapi-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ff415a2f10b867242df28538bb4c5b9b", "sha256": "948a86c2e769dc1076f07645417f01686156288218c0aac222fe31c0cbbe7834" }, "downloads": -1, "filename": "tuyasmartapi-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ff415a2f10b867242df28538bb4c5b9b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3587, "upload_time": "2019-09-22T14:28:17", "url": "https://files.pythonhosted.org/packages/59/6b/66ab18c9460c5283615cec09f6d309b6c733d4c335a4cfdbc8abcaffdcce/tuyasmartapi-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "def414dd1144ec692f2264208fe34972", "sha256": "645b2c1a018c03690a9ee0c842522f47aba8f2dcc85f6b213fbdbad2e124dc64" }, "downloads": -1, "filename": "tuyasmartapi-0.1.2.tar.gz", "has_sig": false, "md5_digest": "def414dd1144ec692f2264208fe34972", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2602, "upload_time": "2019-09-22T14:28:19", "url": "https://files.pythonhosted.org/packages/2a/11/8b44d85481fde2f074cd18558a6b8e0adc1108d94a53d7ad10096844b0f5/tuyasmartapi-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ff415a2f10b867242df28538bb4c5b9b", "sha256": "948a86c2e769dc1076f07645417f01686156288218c0aac222fe31c0cbbe7834" }, "downloads": -1, "filename": "tuyasmartapi-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ff415a2f10b867242df28538bb4c5b9b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3587, "upload_time": "2019-09-22T14:28:17", "url": "https://files.pythonhosted.org/packages/59/6b/66ab18c9460c5283615cec09f6d309b6c733d4c335a4cfdbc8abcaffdcce/tuyasmartapi-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "def414dd1144ec692f2264208fe34972", "sha256": "645b2c1a018c03690a9ee0c842522f47aba8f2dcc85f6b213fbdbad2e124dc64" }, "downloads": -1, "filename": "tuyasmartapi-0.1.2.tar.gz", "has_sig": false, "md5_digest": "def414dd1144ec692f2264208fe34972", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2602, "upload_time": "2019-09-22T14:28:19", "url": "https://files.pythonhosted.org/packages/2a/11/8b44d85481fde2f074cd18558a6b8e0adc1108d94a53d7ad10096844b0f5/tuyasmartapi-0.1.2.tar.gz" } ] }