{ "info": { "author": "Joakim Plate", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: Plugins", "Framework :: AsyncIO", "License :: OSI Approved :: MIT License" ], "description": "********************************\nNibe Uplink Communciation Module\n********************************\n\n\nModule\n======\n\n\nThe module is an asyncio driven interface to nibe uplink public API. It is throttled to one http request every 4 seconds so\ntry to make the most of your requests by batching requests.\n\nStatus\n______\n.. image:: https://travis-ci.org/elupus/nibeuplink.svg?branch=master\n :target: https://travis-ci.org/elupus/nibeuplink\n\n.. image:: https://coveralls.io/repos/github/elupus/nibeuplink/badge.svg?branch=master\n :target: https://coveralls.io/github/elupus/nibeuplink?branch=master\n\n\nExample\n_______\n\n.. code-block:: python\n\n\n def token_read():\n return None\n\n def token_write(token):\n pass\n\n async def run():\n async with nibeuplink.Uplink(client_id = 'XXX',\n client_secret = 'YYY',\n redirect_uri = 'ZZZ',\n access_data = token_read(),\n access_data_write = token_write,\n scope = 'READSYSTEM') as uplink:\n\n if not uplink.access_data:\n auth_uri = uplink.get_authorize_url()\n print(auth_uri)\n result = input('Enter full redirect url: ')\n await uplink.get_access_token(uplink.get_code_from_url(result))\n\n # Request all systems\n print(uplink.get_systems())\n\n\n # Request data for specific system\n print(uplink.get_system(12345))\n\n # Request data for parameters. Note request them in paralell using gather semantics\n # that way, the module with batch up the requests into a single request to api \n print(await asyncio.gather(uplink.get_parameter(12345, 11111),\n uplink.get_parameter(12345, 22222)))\n\n\n\n\n loop = asyncio.get_event_loop()\n loop.run_until_complete (run())\n\n\n\n\nConsole\n=======\n\nThe module contains a commandline utility to test and request data from Nibe Uplink called ``nibeuplink``, it will store token information in a file in the current directory called nibeuplink.json\n\nExample\n_______\n\nHelp for utility\n\n.. code-block:: bash\n\n nibeuplink -h\n\nRequest all systems\n\n.. code-block:: bash\n\n nibeuplink --client_id 'XXX' --client_secret 'YYY' --redirect_uri 'ZZZ'\n\n\nRequest data for specific system\n\n.. code-block:: bash\n\n nibeuplink --client_id 'XXX' --client_secret 'YYY' --redirect_uri 'ZZZ' --system 12345\n\nRequest data for parameters\n\n.. code-block:: bash\n\n nibeuplink --client_id 'XXX' --client_secret 'YYY' --redirect_uri 'ZZZ' --system 12345 --parameter 11111 22222", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/elupus/nibeuplink", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "nibeuplink", "package_url": "https://pypi.org/project/nibeuplink/", "platform": "", "project_url": "https://pypi.org/project/nibeuplink/", "project_urls": { "Homepage": "https://github.com/elupus/nibeuplink" }, "release_url": "https://pypi.org/project/nibeuplink/0.9.1/", "requires_dist": null, "requires_python": ">3.5", "summary": "A python wrapper around Nibe Uplink REST API", "version": "0.9.1" }, "last_serial": 5288831, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "376f0ac639162400722cae3b7a814e14", "sha256": "f416b0a1ebf8a1ffa2142cf5968b6f3cbeedc4213b3319e8a87ebd6aae3199c8" }, "downloads": -1, "filename": "nibeuplink-0.3.1.tar.gz", "has_sig": false, "md5_digest": "376f0ac639162400722cae3b7a814e14", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 5666, "upload_time": "2018-06-10T09:52:37", "url": "https://files.pythonhosted.org/packages/6a/0d/b7e9edc6e15e544340c7adbef56fedf97dc2d810664b94883fc47d8318be/nibeuplink-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "9efd3b473679e7ab31fe7c7818b26ce9", "sha256": "262495c0c7365d0c5b54c6721d228714c888a879d61511909dbdac04a090256b" }, "downloads": -1, "filename": "nibeuplink-0.3.2.tar.gz", "has_sig": false, "md5_digest": "9efd3b473679e7ab31fe7c7818b26ce9", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 5637, "upload_time": "2018-06-16T12:18:09", "url": "https://files.pythonhosted.org/packages/32/d4/7c30454b4175c4dbc1f3a2f1748a009123e7387ac5a142cdb27a5b3b91bf/nibeuplink-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "0437c73f22879223b604b9129b845489", "sha256": "7d55944df9515e2d603745f28bd88367abd2ceec1fe52d4d2ebae0c30b69381b" }, "downloads": -1, "filename": "nibeuplink-0.4.0.tar.gz", "has_sig": false, "md5_digest": "0437c73f22879223b604b9129b845489", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 5764, "upload_time": "2018-06-27T23:21:06", "url": "https://files.pythonhosted.org/packages/a1/db/e1425d56a0929084a3f3619e8d2ef7b80b31f823c2a1dcc6f3ae92c970fe/nibeuplink-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "7388f205b36a95343f29280f42a4094f", "sha256": "3012918237bb33b71f95cae644e99a3c2f97b8953a5b3eb07ccfc85153de7bba" }, "downloads": -1, "filename": "nibeuplink-0.4.1.tar.gz", "has_sig": false, "md5_digest": "7388f205b36a95343f29280f42a4094f", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 5758, "upload_time": "2018-06-30T10:13:36", "url": "https://files.pythonhosted.org/packages/1d/49/9b5bb4310e544df0bd646e2088c2f83e9511826946aae239da9db72eefb9/nibeuplink-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "86b5ce28a15e5bfd5135a54c94ca534c", "sha256": "37bd89e57e16571ac7941e36049fdd1a3cb62c502ac0f829c1a3dc31acd0660f" }, "downloads": -1, "filename": "nibeuplink-0.4.2.tar.gz", "has_sig": false, "md5_digest": "86b5ce28a15e5bfd5135a54c94ca534c", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 6493, "upload_time": "2018-07-02T20:15:42", "url": "https://files.pythonhosted.org/packages/3a/bc/1aa764850b9af1939440fc0be5987f6776bd75bd38dc1a6ebb1829290848/nibeuplink-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "1df194a532d960d7c47ba6d10b38bd94", "sha256": "c74a87a921b291226e82ba075e5bf67766749bdfee4d904690063545f176b72b" }, "downloads": -1, "filename": "nibeuplink-0.4.3.tar.gz", "has_sig": false, "md5_digest": "1df194a532d960d7c47ba6d10b38bd94", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 6517, "upload_time": "2018-07-02T22:02:51", "url": "https://files.pythonhosted.org/packages/8f/e7/e04b8746f5e6b85f2bb080b9c417ffb69bf1ea97c9172c583ff48f08ca44/nibeuplink-0.4.3.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "827b6ff34bf47cdbaeb929f2e01b5302", "sha256": "4f6930c57369751eebe0adc0f03f7f047e320520c28c9c12aced4fdf2d14bf51" }, "downloads": -1, "filename": "nibeuplink-0.5.0.tar.gz", "has_sig": false, "md5_digest": "827b6ff34bf47cdbaeb929f2e01b5302", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 7287, "upload_time": "2019-02-22T16:37:09", "url": "https://files.pythonhosted.org/packages/d6/71/12612933543b6afcc8d918cf6732ffdd4c1d56901c425576f10d8c673d94/nibeuplink-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "b4520e29430cf143e1060fcf3112bb30", "sha256": "fb154b57ed1d012d9c705003cfbe2ccfc40961a1d5dcbc80f64738997431a42a" }, "downloads": -1, "filename": "nibeuplink-0.6.0.tar.gz", "has_sig": false, "md5_digest": "b4520e29430cf143e1060fcf3112bb30", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 8144, "upload_time": "2019-03-01T13:12:50", "url": "https://files.pythonhosted.org/packages/2b/ab/ebbee906124f1915e2f476a19769dbb4fbff62815f5ba5ed1fe5ef24a8ad/nibeuplink-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "700318c6341046bc439782694145770a", "sha256": "554fb58f4c39e7e98339e50a53f0614bd0d68d89b2dbe555ac3d546a23ae003c" }, "downloads": -1, "filename": "nibeuplink-0.6.1.tar.gz", "has_sig": false, "md5_digest": "700318c6341046bc439782694145770a", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 8149, "upload_time": "2019-03-08T17:44:24", "url": "https://files.pythonhosted.org/packages/3b/5c/cb366c026ee99823ce226fc897272e69a9c1593492a8feb17f90be624920/nibeuplink-0.6.1.tar.gz" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "1622756ffb4382cc2387290e1b83df3b", "sha256": "3a07546f5e078f0c3714dbe16ed298eefd36a8b97f064aeff2cc456c16efb737" }, "downloads": -1, "filename": "nibeuplink-0.6.2.tar.gz", "has_sig": false, "md5_digest": "1622756ffb4382cc2387290e1b83df3b", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 10494, "upload_time": "2019-04-10T09:44:29", "url": "https://files.pythonhosted.org/packages/3b/aa/1c3baa0dc88aee5e3f84dd49fca58452aaa7d91130182c69af7b434a9633/nibeuplink-0.6.2.tar.gz" } ], "0.6.3": [ { "comment_text": "", "digests": { "md5": "09a1c70ccd55dc26b1e73646f345a51b", "sha256": "56a9083609af71233504b61d996deb6103b986436dbdb5c02a862c2d0201cb36" }, "downloads": -1, "filename": "nibeuplink-0.6.3.tar.gz", "has_sig": false, "md5_digest": "09a1c70ccd55dc26b1e73646f345a51b", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 10560, "upload_time": "2019-04-16T09:34:59", "url": "https://files.pythonhosted.org/packages/45/96/37db25a2010835a2f5cb69f0d0ba396c8911f112be4779f7bccfb7d434e7/nibeuplink-0.6.3.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "30e893ad8acb0121d99e89be8a9fa754", "sha256": "223a6016c8eebdfd29a7777bac2839a85c28b3d6947ed7498c2d9eaace8d82b3" }, "downloads": -1, "filename": "nibeuplink-0.7.0.tar.gz", "has_sig": false, "md5_digest": "30e893ad8acb0121d99e89be8a9fa754", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 10714, "upload_time": "2019-04-25T10:33:19", "url": "https://files.pythonhosted.org/packages/ed/4b/f2aef8b6dbfd0847665d9d8c9985348afc7e5fe728a3a7aebdcb56409463/nibeuplink-0.7.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "89d21a51c39ee1abeb4e1021a5fb798c", "sha256": "9831ddff7596650af34a6bc9e602bed6ffb2462725fc90f8358d02d2bfec29a3" }, "downloads": -1, "filename": "nibeuplink-0.7.1.tar.gz", "has_sig": false, "md5_digest": "89d21a51c39ee1abeb4e1021a5fb798c", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 10718, "upload_time": "2019-04-25T11:02:32", "url": "https://files.pythonhosted.org/packages/72/4d/d0b4f67ecbd53985baabe3c0b98964fa0a51343a4245b6632614def75265/nibeuplink-0.7.1.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "a6cddaa0d4a7827cb9622f5364130f15", "sha256": "9f6964d6ffc851375703619c957f1035ae2803e41490a6f421bb385611f1c489" }, "downloads": -1, "filename": "nibeuplink-0.8.0.tar.gz", "has_sig": false, "md5_digest": "a6cddaa0d4a7827cb9622f5364130f15", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 12232, "upload_time": "2019-05-11T16:46:34", "url": "https://files.pythonhosted.org/packages/70/da/98241ed2c25c4059b90a088980da5d95e365b043db1d315a4fec7e83a797/nibeuplink-0.8.0.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "d912952267b8b59482868270dca2149e", "sha256": "5488e774f6a9b84b4e1a7a240145ab7c02bb9352795684841126f6593a1d93c9" }, "downloads": -1, "filename": "nibeuplink-0.9.0.tar.gz", "has_sig": false, "md5_digest": "d912952267b8b59482868270dca2149e", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 12623, "upload_time": "2019-05-13T09:44:09", "url": "https://files.pythonhosted.org/packages/8e/56/e509b6c87415c70da9c2e2c7b1f4d9b8264fef909bc8881fa9b87c2d9bfe/nibeuplink-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "51e37a994c32b714dd7ebd8818352f95", "sha256": "9b8be9677e006bb9d5a12e0d8ab5ab721af6b8f5fff687ee3529e891fb25477d" }, "downloads": -1, "filename": "nibeuplink-0.9.1.tar.gz", "has_sig": false, "md5_digest": "51e37a994c32b714dd7ebd8818352f95", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 12671, "upload_time": "2019-05-19T17:06:32", "url": "https://files.pythonhosted.org/packages/05/05/acea27671eec2abea5a76ed06ed0e03a761c7cb6cf3545e72c85c978ff34/nibeuplink-0.9.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "51e37a994c32b714dd7ebd8818352f95", "sha256": "9b8be9677e006bb9d5a12e0d8ab5ab721af6b8f5fff687ee3529e891fb25477d" }, "downloads": -1, "filename": "nibeuplink-0.9.1.tar.gz", "has_sig": false, "md5_digest": "51e37a994c32b714dd7ebd8818352f95", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.5", "size": 12671, "upload_time": "2019-05-19T17:06:32", "url": "https://files.pythonhosted.org/packages/05/05/acea27671eec2abea5a76ed06ed0e03a761c7cb6cf3545e72c85c978ff34/nibeuplink-0.9.1.tar.gz" } ] }