{ "info": { "author": "David Grant", "author_email": "davegravy@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Home Automation" ], "description": "python-gc100\n=============\n\nThis is a Python-based socket client for Global Cache GC100 digital I/O interface\n\nThe global cache GC100 features an array of digital inputs / IR outputs (switchable),\nserial ports, and solid state relays, accessible via a TCP interface.\n\nMore info can be found at the manufaturer's website: https://www.globalcache.com/products/gc-100/\n\npython-gc100 provides a TCP client to interface with a GC100.\n\nCurrently serial port communication and IR functions are not supported. \nDigital input (including notification mode) and changing relay state are supported.\n\n\n\nUsage\n-----\n\nGiven a callback function\n\n >>> def callback_fn(state):\n >>> print(state)\n\nInitialize the connection to the socket server\n\n >>> hostname = 'myserver'\n >>> port = 4998\n >>> gc = gc100.GC100SocketClient(hostname,port)\n\nExample, if you want to read and print the state of module address '4:1':\n\n >>> gc.read_input('4:1', callback_fn)\n\nOr turn the relay on at address '3:2', and confirm its new state:\n\n >>> gc.write_switch('3:2', 1, callback_fn)\n\nTurn it off again:\n\n >>> gc.write_switch('3:2', 0, callback_fn)\n\nIf you want to subscribe to be notified (push) of state changes to digital input '4:3':\n \n >>> gc.subscribe_notify('4:3', callback_fn)\n\nClose the connection\n\n >>> gc.quit()\n \nCompatibility\n------------\n\nThis module is only tested with Python 3.5.2, and will definitely not be compatible with python 2.x\n\nAuthor and License\n------------------\n\nThis software is (c) 2017 David Grant \n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation, either version 3 of the License, or (at your option) any later\nversion.\n\nGC100 is a trademark of Global Cache, with whom the author of this software is not\naffiliated in any way other than using some of the their hardware", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/davegravy/python-gc100", "keywords": "development gc100 home-automation", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "python-gc100", "package_url": "https://pypi.org/project/python-gc100/", "platform": "", "project_url": "https://pypi.org/project/python-gc100/", "project_urls": { "Homepage": "https://github.com/davegravy/python-gc100" }, "release_url": "https://pypi.org/project/python-gc100/1.0.3a0/", "requires_dist": null, "requires_python": "", "summary": "A Python-based socket client for Global Cache GC100 digital I/O interface", "version": "1.0.3a0" }, "last_serial": 3756122, "releases": { "1.0.0a0": [ { "comment_text": "", "digests": { "md5": "18cd819dfaa6e13f213c0b4651bee4af", "sha256": "cc7333800ae483accac18f94de43e19f76e939ddbda7eee577fc00e86b2250b0" }, "downloads": -1, "filename": "python_gc100-1.0.0a0-py3-none-any.whl", "has_sig": false, "md5_digest": "18cd819dfaa6e13f213c0b4651bee4af", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5665, "upload_time": "2017-10-24T14:20:51", "url": "https://files.pythonhosted.org/packages/b6/e1/7bec3d144402256564cb668e02b256142cad2f14409d96c168af1d354f9f/python_gc100-1.0.0a0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "48d4b7f9f3df12a8ed519967166002b2", "sha256": "bcc377d810f58dd035837b31123aa453891843b76fd6780ec719ccb48b95183d" }, "downloads": -1, "filename": "python-gc100-1.0.0a0.tar.gz", "has_sig": false, "md5_digest": "48d4b7f9f3df12a8ed519967166002b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4766, "upload_time": "2017-10-24T14:20:53", "url": "https://files.pythonhosted.org/packages/1b/d2/a5cb3cf0de52bd4366521d05242c2ab0aa7e622a4bf144bac1973e0a4de5/python-gc100-1.0.0a0.tar.gz" } ], "1.0.1a0": [ { "comment_text": "", "digests": { "md5": "02103605f998fe86c974a39165360b46", "sha256": "8b799a42ec81fa6c067a5853538b03b3e6e5938b7eb015b2138d565a82e82c81" }, "downloads": -1, "filename": "python_gc100-1.0.1a0-py3-none-any.whl", "has_sig": false, "md5_digest": "02103605f998fe86c974a39165360b46", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5701, "upload_time": "2018-04-11T17:40:03", "url": "https://files.pythonhosted.org/packages/92/fe/ad81ed78bed72292135bc457a582dfb79c68ae871e54f355e593e47a4313/python_gc100-1.0.1a0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a2c9e084d09653d3690358ee1599deda", "sha256": "c7e9744674bc38fb3002c926a78dc13d4a859e91c7b5ee89b1a49e2e2a12f418" }, "downloads": -1, "filename": "python-gc100-1.0.1a0.tar.gz", "has_sig": false, "md5_digest": "a2c9e084d09653d3690358ee1599deda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4803, "upload_time": "2017-10-25T14:31:57", "url": "https://files.pythonhosted.org/packages/6a/b9/82ea95b197a7fc32c11b313fb165100d7cd8d1ed523bfa35625b640b9a12/python-gc100-1.0.1a0.tar.gz" } ], "1.0.2a0": [ { "comment_text": "", "digests": { "md5": "0cf1f270c854e18031b8f87e6ee371a3", "sha256": "50dd6543b1bdb8c972703780825e3b8e05532c545ca5f4c4c5392fc0b4b108c6" }, "downloads": -1, "filename": "python-gc100-1.0.2a0.tar.gz", "has_sig": false, "md5_digest": "0cf1f270c854e18031b8f87e6ee371a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4954, "upload_time": "2017-11-07T18:19:09", "url": "https://files.pythonhosted.org/packages/37/fc/b3831e8307bfee604ee8120dbeb21970f6f4b063fed441e12776fec7d0ed/python-gc100-1.0.2a0.tar.gz" } ], "1.0.3a0": [ { "comment_text": "", "digests": { "md5": "0d4c88bc20cb35ac8513c1da2db94ac5", "sha256": "87c11f4b245d2f2b48fda8ea488e3e5b4860b0692f729d0ce902a40e7317985f" }, "downloads": -1, "filename": "python_gc100-1.0.3a0-py2-none-any.whl", "has_sig": false, "md5_digest": "0d4c88bc20cb35ac8513c1da2db94ac5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6161, "upload_time": "2018-04-11T17:40:04", "url": "https://files.pythonhosted.org/packages/c6/6c/e9b3d549a3e6b6d40309c0526ac61bc08b804d1b4cf3f2cc4f71c8f03d67/python_gc100-1.0.3a0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a843291d2e6f29c28907520eb9974ff", "sha256": "130a0541e04577ec616900c26770973679faca6e79a7d63fa537cc53132b767c" }, "downloads": -1, "filename": "python_gc100-1.0.3a0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4a843291d2e6f29c28907520eb9974ff", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6166, "upload_time": "2018-04-11T17:40:05", "url": "https://files.pythonhosted.org/packages/1b/06/9d1143a907fba5c0edfd626a46d589debeea5f1ba36bd082217e21d24c1a/python_gc100-1.0.3a0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b1e46476f73b33677a469a81761ae2ca", "sha256": "b61b8098951ccd3a4acbfc99b95a866372b77f28a6c363d6feb1a2ca2edbc02e" }, "downloads": -1, "filename": "python-gc100-1.0.3a0.tar.gz", "has_sig": false, "md5_digest": "b1e46476f73b33677a469a81761ae2ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5158, "upload_time": "2017-11-09T14:25:10", "url": "https://files.pythonhosted.org/packages/4f/e3/bdee12ea9145460faeb0759cf71d9ab0c55550ca4ef25ecf98aa98618ba2/python-gc100-1.0.3a0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0d4c88bc20cb35ac8513c1da2db94ac5", "sha256": "87c11f4b245d2f2b48fda8ea488e3e5b4860b0692f729d0ce902a40e7317985f" }, "downloads": -1, "filename": "python_gc100-1.0.3a0-py2-none-any.whl", "has_sig": false, "md5_digest": "0d4c88bc20cb35ac8513c1da2db94ac5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6161, "upload_time": "2018-04-11T17:40:04", "url": "https://files.pythonhosted.org/packages/c6/6c/e9b3d549a3e6b6d40309c0526ac61bc08b804d1b4cf3f2cc4f71c8f03d67/python_gc100-1.0.3a0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a843291d2e6f29c28907520eb9974ff", "sha256": "130a0541e04577ec616900c26770973679faca6e79a7d63fa537cc53132b767c" }, "downloads": -1, "filename": "python_gc100-1.0.3a0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4a843291d2e6f29c28907520eb9974ff", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6166, "upload_time": "2018-04-11T17:40:05", "url": "https://files.pythonhosted.org/packages/1b/06/9d1143a907fba5c0edfd626a46d589debeea5f1ba36bd082217e21d24c1a/python_gc100-1.0.3a0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b1e46476f73b33677a469a81761ae2ca", "sha256": "b61b8098951ccd3a4acbfc99b95a866372b77f28a6c363d6feb1a2ca2edbc02e" }, "downloads": -1, "filename": "python-gc100-1.0.3a0.tar.gz", "has_sig": false, "md5_digest": "b1e46476f73b33677a469a81761ae2ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5158, "upload_time": "2017-11-09T14:25:10", "url": "https://files.pythonhosted.org/packages/4f/e3/bdee12ea9145460faeb0759cf71d9ab0c55550ca4ef25ecf98aa98618ba2/python-gc100-1.0.3a0.tar.gz" } ] }