{ "info": { "author": "Henri Dwyer", "author_email": "gardianz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Topic :: Home Automation" ], "description": "PyHomeKit - HomeKit for Python\n==============================\n\n:Author: Henri Dwyer\n\n.. image:: https://api.travis-ci.org/henridwyer/pyhomekit.png\n\t :target: https://travis-ci.org/henridwyer/pyhomekit\n.. image:: http://img.shields.io/pypi/v/pyhomekit.svg\n :target: https://pypi.python.org/pypi/pyhomekit\n :alt: Latest Version\n.. image:: https://img.shields.io/pypi/pyversions/pyhomekit.svg\n :target: https://pypi.python.org/pypi/pyhomekit\n :alt: Python Versions\n\nPyHomeKit is a set of python libraries that let you control HomeKit compatible accessories, both BLE and HTTP.\n\nFor more information about HomeKit, see the `Apple Developper HomeKit `_ page.\n\nBluetooth Low Energy device compatibility is provided by `bluepy `_, which uses bluez.\n\n.. important:: PyHomeKit is currently in pre-alpha. Many features are not yet implemented or broken.\n\nGetting Started\n+++++++++++++++\n\nUsage\n------------------\n\nConnect to a HAP accessory view its HAP characteristics:\n\n.. code-block:: python\n\n import pyhomekit\n\n device_mac = \"aa:aa:aa:aa:aa\"\n device = pyhomekit.ble.HapAccessory(mac=device_mac)\n characteristics = device.discover_characteristics()\n\n print(characteristics)\n\nInteract with HAP characteristics:\n\n.. code-block:: python\n\n # View the value of a characteristic\n device.lock_target_state()\n >>> 0\n\n # Set the value of a characteristic\n device.lock_target_state(value=1)\n\nInstallation\n------------\n\n``pyHomeKit`` is on Pypi, so you can ``pip`` install it:\n\n.. code-block:: shell\n\n pip install pyhomekit\n\nIf you want to install from source, clone the repository:\n\n.. code-block:: shell\n\n git clone git://github.com/henridwyer/pyhomekit.git\n cd pyhomekit\n pip install -r requirements.txt\n pip install -e .\n\nThen you can build the documentation: \n\n.. code-block:: shell\n\n make doc\n\nAnd run the tests:\n\n.. code-block:: shell\n\n make tests\n\nRequirements\n############\n\npyHomeKit is only compatible with python 3.6 for the moment.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/henridwyer/pyhomekit", "keywords": "homekit bluetooth home", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyhomekit", "package_url": "https://pypi.org/project/pyhomekit/", "platform": "", "project_url": "https://pypi.org/project/pyhomekit/", "project_urls": { "Homepage": "https://github.com/henridwyer/pyhomekit" }, "release_url": "https://pypi.org/project/pyhomekit/0.0.1.4/", "requires_dist": null, "requires_python": "", "summary": "Python interface to control HomeKit accessories.", "version": "0.0.1.4" }, "last_serial": 3060579, "releases": { "0.0.1.2": [ { "comment_text": "", "digests": { "md5": "e918c767253ddbb13c11f8490e00f997", "sha256": "177cf7dd288c35ce9d24ee39cd58b845d6283725dd5f0eba8a6c5573f3fd0564" }, "downloads": -1, "filename": "pyhomekit-0.0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e918c767253ddbb13c11f8490e00f997", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8266, "upload_time": "2017-07-24T03:41:55", "url": "https://files.pythonhosted.org/packages/db/a0/220f9cf3973a40dbc5859f7a5aad8288912ac09982633183b276a8c69b4c/pyhomekit-0.0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5c90b7e4775df3daedd11e4b328412d9", "sha256": "31f146317fc43961286ebef8d7b052790044e9aee7778a5e683fa2add24f0270" }, "downloads": -1, "filename": "pyhomekit-0.0.1.2.tar.gz", "has_sig": false, "md5_digest": "5c90b7e4775df3daedd11e4b328412d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7075, "upload_time": "2017-07-24T03:59:25", "url": "https://files.pythonhosted.org/packages/28/6c/14b3c975f6560a7b441d0e6a882aca71a5b23e787638eb6071602ea59e10/pyhomekit-0.0.1.2.tar.gz" } ], "0.0.1.4": [ { "comment_text": "", "digests": { "md5": "b75ab55011a0de1b55c2e84a09c64449", "sha256": "f48873da19dca2c5fe0986d386ffa24c6dfd3a332cf2eae9379608798b5833a1" }, "downloads": -1, "filename": "pyhomekit-0.0.1.4.tar.gz", "has_sig": false, "md5_digest": "b75ab55011a0de1b55c2e84a09c64449", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9403, "upload_time": "2017-07-31T05:27:22", "url": "https://files.pythonhosted.org/packages/fd/3a/4d8b999ab64963c4e70e01c36c91ccd45860d771ef62a6ec31194d38838b/pyhomekit-0.0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b75ab55011a0de1b55c2e84a09c64449", "sha256": "f48873da19dca2c5fe0986d386ffa24c6dfd3a332cf2eae9379608798b5833a1" }, "downloads": -1, "filename": "pyhomekit-0.0.1.4.tar.gz", "has_sig": false, "md5_digest": "b75ab55011a0de1b55c2e84a09c64449", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9403, "upload_time": "2017-07-31T05:27:22", "url": "https://files.pythonhosted.org/packages/fd/3a/4d8b999ab64963c4e70e01c36c91ccd45860d771ef62a6ec31194d38838b/pyhomekit-0.0.1.4.tar.gz" } ] }