{ "info": { "author": "Victor Villas", "author_email": "villasv@outlook.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Education", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "===========================================\n|pi| Plug&Pie |qs| |bs| |cc| |rtd| |gitter|\n===========================================\n\n``plugandpie`` was designed to automatically set up sensors with drivers, making the initial\nhardware configuration simpler and faster to implement. It is powered by community contributed\ndrivers and it's flexible enough to work with devices not yet directly supported. The package\nalso aims to provide utilities for monitoring and analyzing sensors, so you can make software-level\npolling and set up complex observation models.\n\n\nDriver Examples\n---------------\n\nBy specifying directly the hardware interface and address, you have an unified access method for\nany register on the device.\n\n.. code:: python\n\n accelerometer = GenericDriver(interface=SMBusAdapter(1), address=0x1D)\n accelerometer.registers[0x2A].set(8) # inactive\n accelerometer.registers[0x0E].set(0) # range = 2g\n accelerometer.registers[0x2A].set(9) # active, 800Hz\n\nBy reading a device configuration file that reflects its datasheet, you can have better namings\nfor your registers.\n\n.. code:: python\n\n # TODO\n\nBy instantiating the correct driver, a standardized API can provide the meaningful data easily.\n\n.. code:: python\n\n accelerometer = MMA8452Q(interface=SMBusAdapter(1), address=0x1D)\n accelerometer.get_ms2()\n\nBy reading a device configuration file, you can initialize all drivers immediately.\n\n.. code:: python\n\n # TODO\n\nCheck out the documentation for examples of basic and advanced usages.\n\nMonitor Examples\n----------------\n\nThe most common uses of sensors is history analysis and real time telemetry. Both should\nseamlessly plug into ``plugandpie`` drivers, so the package includes some utilities for\nthis purpose.\n\n\n\nInstallation: |pipv| |pipstatus| |pipl| |pippyversions| |pipdm|\n----------------------------------------------------------------\n``plugandpie`` requires ``SMBus``, which at this time has no good Python 3 implementation or bindings.\nA workaround can be found at https://procrastinative.ninja/2014/07/21/smbus-for-python34-on-raspberry/\n\nAlso, ``SMBus`` requires repeated starts in the ``i2c`` driver. This is not enabled by default on Raspberry Pi\nand can be fixed with:\n\n.. code::\n\n echo -n 1 > /sys/module/i2c_bcm2708/parameters/combined\n\nThis configuration resets on boot, so make sure to put this in a startup script.\n\n**setup.sh** is a script that contain a fix for both problems, but does so in an intrusive way.\nIt is recommended for inexperienced users to install ``plugandpie`` for the first time,\nbut experienced users should solve those problems individually.\n\n\n.. |pi| image:: https://raw.githubusercontent.com/villasv/plugandpie/master/docs/icon_sm.png\n :width: 30\n.. |qs| image:: https://scrutinizer-ci.com/g/villasv/plugandpie/badges/quality-score.png?b=master\n :target: https://scrutinizer-ci.com/g/villasv/plugandpie/?branch=master\n.. |bs| image:: https://travis-ci.org/villasv/plugandpie.svg?branch=master\n :target: https://travis-ci.org/villasv/plugandpie\n.. |cc| image:: https://coveralls.io/repos/github/villasv/plugandpie/badge.svg?branch=master\n :target: https://coveralls.io/github/villasv/plugandpie?branch=master\n.. |rtd| image:: https://readthedocs.org/projects/plugandpie/badge/?version=latest\n :target: http://plugandpie.readthedocs.io/en/latest/?badge=latest\n.. |gitter| image:: https://badges.gitter.im/villasv/plugandpie.svg\n :target: https://gitter.im/villasv/plugandpie?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge\n\n.. |pipdm| image:: https://img.shields.io/pypi/dm/plugandpie.svg\n :target: https://pypi.python.org/pypi/plugandpie\n.. |pipv| image:: https://img.shields.io/pypi/v/plugandpie.svg\n :target: https://pypi.python.org/pypi/plugandpie\n.. |pipl| image:: https://img.shields.io/pypi/l/plugandpie.svg\n :target: https://pypi.python.org/pypi/plugandpie\n.. |pippyversions| image:: https://img.shields.io/pypi/pyversions/plugandpie.svg\n :target: https://pypi.python.org/pypi/plugandpie\n.. |pipstatus| image:: https://img.shields.io/pypi/status/plugandpie.svg\n :target: https://pypi.python.org/pypi/plugandpie", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/villasv/plugandpie", "keywords": "plugandpie plug and play raspberry pi sensors", "license": "GPLv3+", "maintainer": null, "maintainer_email": null, "name": "plugandpie", "package_url": "https://pypi.org/project/plugandpie/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/plugandpie/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/villasv/plugandpie" }, "release_url": "https://pypi.org/project/plugandpie/0.1a7/", "requires_dist": null, "requires_python": null, "summary": "Device driver and automation for common sensors", "version": "0.1a7" }, "last_serial": 2179653, "releases": { "0.1a1": [ { "comment_text": "", "digests": { "md5": "0d2e35d7b426cbc14d3b502e65b297d0", "sha256": "244da0274525f65811f14d12f69426dd49d20fda78b2c0c277679013003b329e" }, "downloads": -1, "filename": "plugandpie-0.1a1-py3-none-any.whl", "has_sig": false, "md5_digest": "0d2e35d7b426cbc14d3b502e65b297d0", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 12933, "upload_time": "2016-06-09T21:01:28", "url": "https://files.pythonhosted.org/packages/ce/ed/49f0573879601ae3f07beedbc9dad26650010c4f08dbe5cbc162f5bf445f/plugandpie-0.1a1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fb60ae68d653d589a62e36db21d31716", "sha256": "ff7c4403bc5a8404d028db839bbf79fd0b56b1a8f9504ffd4f7ebb88f34d5c1a" }, "downloads": -1, "filename": "plugandpie-0.1a1.zip", "has_sig": false, "md5_digest": "fb60ae68d653d589a62e36db21d31716", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13763, "upload_time": "2016-06-09T21:01:18", "url": "https://files.pythonhosted.org/packages/d1/c2/c99f82ed578dfb677c365fb67bbba375ac5d8fcd752dc3082defbfeb3e65/plugandpie-0.1a1.zip" } ], "0.1a2": [ { "comment_text": "", "digests": { "md5": "742e3a50e030891f94b1f48d5c92f97e", "sha256": "838ef2289a5113de4933479f9b5144cb3efd5d9c0903c89bd7ce26bb6bbca10b" }, "downloads": -1, "filename": "plugandpie-0.1a2-py3-none-any.whl", "has_sig": false, "md5_digest": "742e3a50e030891f94b1f48d5c92f97e", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 12934, "upload_time": "2016-06-09T21:05:31", "url": "https://files.pythonhosted.org/packages/24/a1/c9f5c6c852ae95bdc839d56ebf916641a016b92c16b1d4c4740c9cc222ca/plugandpie-0.1a2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9a7d2efba46852de873ff75b645248ce", "sha256": "c57a141ed64b8c3639726a673182bc4578e8758604f467567f566df24824eb0e" }, "downloads": -1, "filename": "plugandpie-0.1a2.zip", "has_sig": false, "md5_digest": "9a7d2efba46852de873ff75b645248ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13749, "upload_time": "2016-06-09T21:05:22", "url": "https://files.pythonhosted.org/packages/43/2a/64032c462967fb4a22810047f8f3de4662fb0bf141bcb0ba5555cda30251/plugandpie-0.1a2.zip" } ], "0.1a3": [ { "comment_text": "", "digests": { "md5": "a50dbad9d630e69993e56e1de9d205a2", "sha256": "03af2a46a5970e75089ec7b3f64da799bc84f27aee2efe75914bd079e03998fd" }, "downloads": -1, "filename": "plugandpie-0.1a3-py3-none-any.whl", "has_sig": false, "md5_digest": "a50dbad9d630e69993e56e1de9d205a2", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 12918, "upload_time": "2016-06-09T21:09:57", "url": "https://files.pythonhosted.org/packages/7b/b0/634156a208284e459b62851cbcea73d48e9f55f8dde3870159b6a584a1e2/plugandpie-0.1a3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "058b099c769415244434ae3a512465fd", "sha256": "02d3de937d0c54a0e0a1c7b1758614b92a2d94e2104d0ad0b0dcd71f6c3c5aec" }, "downloads": -1, "filename": "plugandpie-0.1a3.zip", "has_sig": false, "md5_digest": "058b099c769415244434ae3a512465fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13735, "upload_time": "2016-06-09T21:09:48", "url": "https://files.pythonhosted.org/packages/3c/23/78cdef7bab196c15aed46fa1d6b4a23c0835468c05d2efd14ae7181215fb/plugandpie-0.1a3.zip" } ], "0.1a4": [ { "comment_text": "", "digests": { "md5": "82d11c6e6b31e8d4f8ec94df83e9baa3", "sha256": "2014218d55f17ff39f10979ab658ddd3484f362186917de81a9267095471df7a" }, "downloads": -1, "filename": "plugandpie-0.1a4-py3-none-any.whl", "has_sig": false, "md5_digest": "82d11c6e6b31e8d4f8ec94df83e9baa3", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 12914, "upload_time": "2016-06-09T21:38:24", "url": "https://files.pythonhosted.org/packages/ee/de/0684b6abfb68443ef77b216e75b98f26d7f00a95ec0dad7064b56197d333/plugandpie-0.1a4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "211efa183d836c50f82fdb3ef5f976d4", "sha256": "b86864d46f9ce2df67214741f353f2db6623260642922b3bbf2ab5597c7bdf79" }, "downloads": -1, "filename": "plugandpie-0.1a4.zip", "has_sig": false, "md5_digest": "211efa183d836c50f82fdb3ef5f976d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13735, "upload_time": "2016-06-09T21:38:18", "url": "https://files.pythonhosted.org/packages/32/4f/7d20db032a0985806306aab5cf5a4b53d671ff1d88087cb6236b5b89ffbc/plugandpie-0.1a4.zip" } ], "0.1a5": [ { "comment_text": "", "digests": { "md5": "31fb1dfad304f8c0cef259ff62555598", "sha256": "3727ad8044c2f4ccc294f78db38917ce60060c1e7abcfa3bea3aa2e9eb4baa4e" }, "downloads": -1, "filename": "plugandpie-0.1a5-py3-none-any.whl", "has_sig": false, "md5_digest": "31fb1dfad304f8c0cef259ff62555598", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 16731, "upload_time": "2016-06-11T02:08:43", "url": "https://files.pythonhosted.org/packages/2a/fd/f116abd749fc61ef04ed6acbff4511df95daf0b248a0e6125f7219227656/plugandpie-0.1a5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5619db91e38fe635183b10ea75f6721b", "sha256": "e699d6766b57e0c55816b4993ef4d45a6ae2acf06f25d80bd251dcc17d1a0f5a" }, "downloads": -1, "filename": "plugandpie-0.1a5.zip", "has_sig": false, "md5_digest": "5619db91e38fe635183b10ea75f6721b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18891, "upload_time": "2016-06-11T02:08:39", "url": "https://files.pythonhosted.org/packages/53/99/78dc9c9d6a9d0ec3edbc1bc168b433f7307d5d08fa45d4f7524d1ae949b0/plugandpie-0.1a5.zip" } ], "0.1a6": [ { "comment_text": "", "digests": { "md5": "19edb92c2440b682296ec0da18c9fd31", "sha256": "2a91bf17d2b566a86dd5aa29efb6644fe5c39006f358acb9747d02b5384a10e1" }, "downloads": -1, "filename": "plugandpie-0.1a6-py3-none-any.whl", "has_sig": false, "md5_digest": "19edb92c2440b682296ec0da18c9fd31", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 26694, "upload_time": "2016-06-13T00:00:53", "url": "https://files.pythonhosted.org/packages/ed/4d/bddc4c9f9dfc7e03fd4db0c49fb270eab52e3b9d08d36cdf3c9258bd3722/plugandpie-0.1a6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "24dba685d50c2b7ad3a19d71aff49296", "sha256": "97b8a87d71bba8cc171272c4bf7c93f7e2e058e803781135d07e8ccfd28e49da" }, "downloads": -1, "filename": "plugandpie-0.1a6.zip", "has_sig": false, "md5_digest": "24dba685d50c2b7ad3a19d71aff49296", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21532, "upload_time": "2016-06-13T00:00:48", "url": "https://files.pythonhosted.org/packages/e0/3c/a0780851984dea835bac7e0267d0c61a73069603408b7a7965e26bcf7286/plugandpie-0.1a6.zip" } ], "0.1a7": [ { "comment_text": "", "digests": { "md5": "7761bdd7f24795b83a909f07a733f412", "sha256": "65006fbacbf10cb206fd1ea6bc73b38f4de63ee504ea6899816e347e45adc9f7" }, "downloads": -1, "filename": "plugandpie-0.1a7-py3-none-any.whl", "has_sig": false, "md5_digest": "7761bdd7f24795b83a909f07a733f412", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 34804, "upload_time": "2016-06-21T20:41:14", "url": "https://files.pythonhosted.org/packages/66/fd/b0c7aaed476c9fa460bdb05154bbb42eb6412473c8803046a60a5fda97a4/plugandpie-0.1a7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a5a9675de24f5c2fdf985c708f693f8", "sha256": "33f08bfec337e1a79a83ac0a4aa0da356e7e2b9f20a2c2b5a75efb753cab202f" }, "downloads": -1, "filename": "plugandpie-0.1a7.zip", "has_sig": false, "md5_digest": "6a5a9675de24f5c2fdf985c708f693f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18646, "upload_time": "2016-06-21T20:41:09", "url": "https://files.pythonhosted.org/packages/40/ee/176a43b7287a8073501bdb7e204b27a071b2f8e0fee4d664a4e504841104/plugandpie-0.1a7.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7761bdd7f24795b83a909f07a733f412", "sha256": "65006fbacbf10cb206fd1ea6bc73b38f4de63ee504ea6899816e347e45adc9f7" }, "downloads": -1, "filename": "plugandpie-0.1a7-py3-none-any.whl", "has_sig": false, "md5_digest": "7761bdd7f24795b83a909f07a733f412", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 34804, "upload_time": "2016-06-21T20:41:14", "url": "https://files.pythonhosted.org/packages/66/fd/b0c7aaed476c9fa460bdb05154bbb42eb6412473c8803046a60a5fda97a4/plugandpie-0.1a7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a5a9675de24f5c2fdf985c708f693f8", "sha256": "33f08bfec337e1a79a83ac0a4aa0da356e7e2b9f20a2c2b5a75efb753cab202f" }, "downloads": -1, "filename": "plugandpie-0.1a7.zip", "has_sig": false, "md5_digest": "6a5a9675de24f5c2fdf985c708f693f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18646, "upload_time": "2016-06-21T20:41:09", "url": "https://files.pythonhosted.org/packages/40/ee/176a43b7287a8073501bdb7e204b27a071b2f8e0fee4d664a4e504841104/plugandpie-0.1a7.zip" } ] }