{
"info": {
"author": "Erik Johansson",
"author_email": "erik@ejohansson.se",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Home Automation",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "Python wrapper for Telldus Core\n===============================\n\n.. image:: https://badge.fury.io/py/tellcore-py.png\n :target: https://pypi.python.org/pypi/tellcore-py/\n\n.. image:: https://secure.travis-ci.org/erijo/tellcore-py.png?branch=master\n :target: http://travis-ci.org/erijo/tellcore-py\n\ntellcore-py is a Python wrapper for `Telldus' `_ home\nautomation library `Telldus Core `_.\n\n* Documentation: https://tellcore-py.readthedocs.org/\n* Official home page: https://github.com/erijo/tellcore-py\n* Python package index: https://pypi.python.org/pypi/tellcore-py\n\nPlease report any problem as a `GitHub issue report\n`_.\n\nFeatures\n--------\n\n* Wraps the C-interface with a python interface (with classes and exceptions).\n* Automatically frees memory for returned strings.\n* Throws an exception (TelldusError) in case a library function returns an\n error.\n* Supports python 3 with automatic handling of strings (i.e. converting between\n bytes used by the C-library and strings as used by python).\n* Takes care of making callbacks from the library thread-safe.\n* Unit tested.\n* Besides being useful with the regular Python implementation (a.k.a. `CPython\n `_), it also works with `pypy\n `_.\n* Open source (`GPLv3+\n `_).\n* Works on Linux, Mac OS X and Windows.\n\nRequirements\n------------\n\n* Python 2.7, 3.2+ or pypy\n* `Telldus Core library `_\n\nInstallation\n------------\n\n.. code-block:: bash\n\n $ pip install tellcore-py\n\nCan also be installed by cloning the `GIP repository\n`_ or downloading the `ZIP archive\n`_ from GitHub and\nunpacking it. Then change directory to tellcore-py and run:\n\n.. code-block:: bash\n\n $ python setup.py install\n\nUsers\n-----\n\n* `Home Assistant `_ - Open-source home automation\n platform running on Python 3\n* `Tellprox `_ - A local server to\n use in place of Telldus Live\n* `tellive-py `_ - A Python wrapper for\n Telldus Live\n\nExample\n-------\n\nA simple example for adding a new \"lamp\" device, turning it on and then turning\nall devices off.\n\n.. code-block:: python\n\n from tellcore.telldus import TelldusCore\n\n core = TelldusCore()\n lamp = core.add_device(\"lamp\", \"arctech\", \"selflearning-switch\", house=12345, unit=1)\n lamp.turn_on()\n\n for device in core.devices():\n device.turn_off()\n\nMore examples can be found in the `bin\n`_ directory.\n\nInternals\n---------\n\nAt the bottom there is the Library class which is a `ctypes\n`_ wrapper and closely matches the\nAPI of the underlying Telldus Core library. The library class takes care of\nfreeing memory returned from the base library and converts errors returned to\nTelldusException. The library class is not intended to be used directly.\n\nInstead, the TelldusCore class provides a more python-ish API on top of the\nlibrary class. This class is used for e.g. adding new devices, or enumerating\nthe existing devices, sensors and/or controllers. E.g. calling the devices()\nmethod returns a list of Device instances. The Device class in turn has methods\nfor turning the device on, off, etc.\n\n\nChangelog\n=========\n\n1.1.3 (2016-11-22)\n------------------\n\n* Added datetime attribute to ``SensorValue``.\n\n* Fixed strange problem in ``Library`` where the class itself could\n sometimes be None in ``__del__``.\n\n\n1.1.2 (2015-06-24)\n------------------\n\n* Added option to ``Library`` to make it possible to select if strings should\n be decoded or not.\n\n* Made tellcore_tool not decode strings (i.e. convert to unicode) when running\n under Python 2.x to avoid unicode errors when printing non ascii characters.\n\n\n1.1.1 (2015-05-01)\n------------------\n\n* Fixed a bug that made tellcore_tool not work with Python 3.x.\n\n\n1.1.0 (2014-11-19)\n------------------\n\n* The callback dispatcher is no longer global, but tied to a ``Library``\n instance. Applications wishing to use callbacks must now pass an explicit\n dispatcher instance to the ``TelldusCore`` constructor.\n\n\n1.0.4 (2014-11-05)\n------------------\n\n* Made ``last_sent_value`` return an int instead of string.\n\n\n1.0.3 (2014-02-02)\n------------------\n\n* Work around crash in Telldus Core (< v2.1.2) when re-initalizing the library\n after ``tdClose``.\n\n\n1.0.2 (2014-01-28)\n------------------\n\n* Packaging fixes.\n\n\n1.0.1 (2014-01-26)\n------------------\n\n* Added ``AsyncioCallbackDispatcher`` class for integrating callbacks with the\n new event loop available in Python 3.4 (asyncio).\n\n* Include tools from bin/ when installing.\n\n\n1.0.0 (2014-01-09)\n------------------\n\n* Added high level support for device groups in the form of the new class\n ``DeviceGroup``.\n\n* More complete documentation.\n\n* Removed the methods process_callback and process_pending_callbacks from\n ``TelldusCore``. Instead, callback_dispatcher is now a public attribute of\n ``TelldusCore`` and the default callback dispatcher\n ``QueuedCallbackDispatcher`` implements the two methods instead.\n\n\n0.9.0 (2014-01-03)\n------------------\n\n* Telldus functions that used to return bool (``tdSetName``, ``tdSetProtocol``,\n ``tdSetModel``, ``tdSetDeviceParameter`` and ``tdRemoveDevice``) now raise an\n exception instead of returning False.\n\n* Support for rain- and windsensors.\n\n* Include data type in ``SensorValue``.\n\n\n0.8.0 (2013-08-11)\n------------------\n\n* Improved callback handling to simplify integration with different event\n loops. Parameter conversion is now done in the library code and the\n adaptation to different event loops is done by a simple callback dispatch\n class. The default dispatcher (when using ``TelldusCore``) is still done\n using a queue.\n\n* New documentation for parts of the package. Can be read online at\n https://tellcore-py.readthedocs.org/.\n\n* Fix problem with strings and python 3 (issue #2).\n\n\n0.1.0 (2013-06-26)\n------------------\n\n* First release.\n",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/erijo/tellcore-py",
"keywords": "",
"license": "GPLv3+",
"maintainer": "",
"maintainer_email": "",
"name": "tellcore-py",
"package_url": "https://pypi.org/project/tellcore-py/",
"platform": "",
"project_url": "https://pypi.org/project/tellcore-py/",
"project_urls": {
"Homepage": "https://github.com/erijo/tellcore-py"
},
"release_url": "https://pypi.org/project/tellcore-py/1.1.3/",
"requires_dist": null,
"requires_python": "",
"summary": "Python wrapper for Telldus' home automation library",
"version": "1.1.3"
},
"last_serial": 2477134,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "5f4f8104647dd4127f60a2d9704d588a",
"sha256": "b9de4938119c6b2813375ed300a78164c154d69d835793d3db25fa43088990d5"
},
"downloads": -1,
"filename": "tellcore-py-0.1.0.tar.gz",
"has_sig": true,
"md5_digest": "5f4f8104647dd4127f60a2d9704d588a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25082,
"upload_time": "2013-06-26T19:15:07",
"url": "https://files.pythonhosted.org/packages/00/05/7748a40da777dd25f1992e7921498e4725c70948a76245cc6385682e0cde/tellcore-py-0.1.0.tar.gz"
}
],
"0.8.0": [
{
"comment_text": "",
"digests": {
"md5": "0daafcc29b8484ad4f001c8ca8ecb810",
"sha256": "989c9b4001f634cf8f44bd329492d1faa67ca9a8dfdf836d99499071cafb93fc"
},
"downloads": -1,
"filename": "tellcore-py-0.8.0.tar.gz",
"has_sig": false,
"md5_digest": "0daafcc29b8484ad4f001c8ca8ecb810",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 26593,
"upload_time": "2013-08-11T18:41:35",
"url": "https://files.pythonhosted.org/packages/e0/2d/3331646f821aed781df04f8de6eb04bc64a412e78ddc4bee1b1667513bc4/tellcore-py-0.8.0.tar.gz"
}
],
"0.9.0": [
{
"comment_text": "",
"digests": {
"md5": "584199ca26f496312185f73023afdfdb",
"sha256": "c91e385bf52020087664fc1101e6deef53fe31912f8440be7d52ecc8f9c01231"
},
"downloads": -1,
"filename": "tellcore-py-0.9.0.tar.gz",
"has_sig": false,
"md5_digest": "584199ca26f496312185f73023afdfdb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 34505,
"upload_time": "2014-01-03T21:12:57",
"url": "https://files.pythonhosted.org/packages/cb/b8/00b61071a92c56c927e871364f460cd8abbd0d602b40200fae522b8d7d60/tellcore-py-0.9.0.tar.gz"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "52992d0fe8f1bf22e621c2445bdeeee9",
"sha256": "41686313406f14a1e4828d2cc516685feeadd842365282de365a82a6a263ae8d"
},
"downloads": -1,
"filename": "tellcore-py-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "52992d0fe8f1bf22e621c2445bdeeee9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 38263,
"upload_time": "2014-01-09T20:26:13",
"url": "https://files.pythonhosted.org/packages/ec/f6/9df807f727467b82aabd38848df47ed27f5344edd38d99494a09e30a6f05/tellcore-py-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "2addc4bddb2d0e0872dee62769bbb8c6",
"sha256": "0987e6e4092ebc21377bb0129fab9a9284cd31c1a4830b5d4f982479105856c1"
},
"downloads": -1,
"filename": "tellcore-py-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "2addc4bddb2d0e0872dee62769bbb8c6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 38817,
"upload_time": "2014-01-26T19:25:37",
"url": "https://files.pythonhosted.org/packages/0f/60/dadf1f8f0fdb78aa731b0700a5bc527877d7e1a4b383745009f7b9a5a85a/tellcore-py-1.0.1.tar.gz"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "d2006e853db511cdd5f71b74270576aa",
"sha256": "465e91d68a2b16f5b89cc4eebcfeb08422c5fc7469f21e2ed072f84baa603fe1"
},
"downloads": -1,
"filename": "tellcore-py-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "d2006e853db511cdd5f71b74270576aa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 40625,
"upload_time": "2014-01-28T21:42:09",
"url": "https://files.pythonhosted.org/packages/44/59/b80c405a85852cd38bf2cfe13b89aa584cc30f4c50ad7290698abb5a0e79/tellcore-py-1.0.2.tar.gz"
}
],
"1.0.3": [
{
"comment_text": "",
"digests": {
"md5": "b281b39719cc1a38ff2a548b7ec630f0",
"sha256": "ded9dba212a4039ffaa45c275a0684a3dfcc5b7e3ca024690673742a50eeebd5"
},
"downloads": -1,
"filename": "tellcore-py-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "b281b39719cc1a38ff2a548b7ec630f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 40852,
"upload_time": "2014-02-02T20:42:56",
"url": "https://files.pythonhosted.org/packages/82/ec/c461dc949939e1472f15ed8ceb3e6b50f5bc7dc80df326a2b1af16d073e8/tellcore-py-1.0.3.tar.gz"
}
],
"1.0.4": [
{
"comment_text": "",
"digests": {
"md5": "0fd699c071a2ba2cb1f0d29026a4c7f8",
"sha256": "e698a90716b43624d0f2a551cd97b7c10b060815b9591f0796bcb9c404490556"
},
"downloads": -1,
"filename": "tellcore-py-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "0fd699c071a2ba2cb1f0d29026a4c7f8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 40973,
"upload_time": "2014-11-05T19:33:16",
"url": "https://files.pythonhosted.org/packages/51/d0/2c5213f63a3457899e04724a54801e6b5b770d996d95381abcec967413e9/tellcore-py-1.0.4.tar.gz"
}
],
"1.1.0": [
{
"comment_text": "",
"digests": {
"md5": "0694d3ea292f53df0384f0df91e9dc87",
"sha256": "fb93c024c821d02e9025e5f865b42a0c2b16351aed0ff538a9aeccad2960f194"
},
"downloads": -1,
"filename": "tellcore-py-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "0694d3ea292f53df0384f0df91e9dc87",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41119,
"upload_time": "2014-11-19T19:38:50",
"url": "https://files.pythonhosted.org/packages/cb/62/534af09ad913eb025e962e0b3fdaa45d872840f96d10543532141b63c573/tellcore-py-1.1.0.tar.gz"
}
],
"1.1.1": [
{
"comment_text": "",
"digests": {
"md5": "a2c1b886ab27eece02b5ea3d532304c9",
"sha256": "c342be0d27b1bd4dbb0d9309763c229b3e3e6d7a4c764500d880d8d4802680c9"
},
"downloads": -1,
"filename": "tellcore-py-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "a2c1b886ab27eece02b5ea3d532304c9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41221,
"upload_time": "2015-05-01T17:53:28",
"url": "https://files.pythonhosted.org/packages/01/48/e10a6c25f865bc630e070a839c50d820f48b12973542d6a68711b1d1d723/tellcore-py-1.1.1.tar.gz"
}
],
"1.1.2": [
{
"comment_text": "",
"digests": {
"md5": "0c77fe952f2d06e8f07e700b21b7f158",
"sha256": "06caf49f6922c36f5138db782a4c50c2be8ade135e58b5ba6aade1130b4a0cda"
},
"downloads": -1,
"filename": "tellcore-py-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "0c77fe952f2d06e8f07e700b21b7f158",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41517,
"upload_time": "2015-06-24T18:18:16",
"url": "https://files.pythonhosted.org/packages/f4/e1/d3b72948f6b5a3b6394c4e42e07709dda90ab71314c18f73e7b45cd9aeaa/tellcore-py-1.1.2.tar.gz"
}
],
"1.1.3": [
{
"comment_text": "",
"digests": {
"md5": "355e7c662aff1a6bf9253186d8447d0b",
"sha256": "403d8e9d4f8ad95bda4c681f4d897c7633b48d25ee85b5bf39f30a362a49b122"
},
"downloads": -1,
"filename": "tellcore-py-1.1.3.tar.gz",
"has_sig": false,
"md5_digest": "355e7c662aff1a6bf9253186d8447d0b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41788,
"upload_time": "2016-11-22T19:46:09",
"url": "https://files.pythonhosted.org/packages/08/cc/dc921d15f77b54b7a4b7a20c6f1747d6e132d33e69b1f6d100bacf9b4156/tellcore-py-1.1.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "355e7c662aff1a6bf9253186d8447d0b",
"sha256": "403d8e9d4f8ad95bda4c681f4d897c7633b48d25ee85b5bf39f30a362a49b122"
},
"downloads": -1,
"filename": "tellcore-py-1.1.3.tar.gz",
"has_sig": false,
"md5_digest": "355e7c662aff1a6bf9253186d8447d0b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 41788,
"upload_time": "2016-11-22T19:46:09",
"url": "https://files.pythonhosted.org/packages/08/cc/dc921d15f77b54b7a4b7a20c6f1747d6e132d33e69b1f6d100bacf9b4156/tellcore-py-1.1.3.tar.gz"
}
]
}