{ "info": { "author": "Munir Contractor", "author_email": "munircontractor@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Embedded Systems" ], "description": "RaspberryPi Device Control Library\n==================================\n\nThis is a Python 3 library for easily setting up devices connected to a\nRaspberry Pi. It contains objects and methods for DC motors with and\nwithout software PWM, servos and LEDs.\n\nCurrently, following objects are available: \n\n* ``SimpleMotor``: DC Motor with bi-directional rotation (no PWM control)\n* ``DCMotor``: DC Motor with bi-directional rotation and PWM control\n methods\n* ``Servo``: Servo with PWM control and configuration methods\n* ``LED``: LED, Laser Diode or any other device which can be controlled \n using a single GPIO output pin\n\nInstallation and Usage\n----------------------\n\nOption 1 (Recommended) :\n^^^^^^^^^^^^^^^^^^^^^^^^\n\n1. Using ``pip``: ::\n\n sudo pip install rpi_devices\n\n or using ``setuptools``: ::\n\n git clone https://github.com/munircontractor/raspberry-pi-device-library\n cd raspberry-pi-device-library\n sudo python3 setup.py install\n\n2. Then, in your code: ::\n\n from rpi_devices import cleanup, \n\nOption 2 :\n^^^^^^^^^^\n\nUsing directly:\n\n1. Copy the ``rpi_devices/devices.py`` files to your Raspberry Pi.\n2. To use the objects, add the following lines at the top of your code: ::\n\n import sys\n sys.path.append(\"/full/path/to/devices.py\")\n from devices import cleanup, -\n\nCautions\n--------\n\n1. Do not forget to run the library\u2019s ``cleanup`` function or \n ``RPi.GPIO.cleanup()`` after you are done.\n2. Although all the classes in this library allow a different pin numbering\n mode during setup, it is strongly recommended to use the same mode\n across all devices. The pin numbering mode is set globally, so if\n devices are set with different pin numbering modes, code which is not\n calling a device method will automatically use the mode of the last\n device called, which can lead to undesirable and, at times, harmful behavior.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/munircontractor/raspberry-pi-device-library", "keywords": "raspberrypi,GPIO", "license": "LGPLv3", "maintainer": "", "maintainer_email": "", "name": "rpi-devices", "package_url": "https://pypi.org/project/rpi-devices/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rpi-devices/", "project_urls": { "Homepage": "https://github.com/munircontractor/raspberry-pi-device-library" }, "release_url": "https://pypi.org/project/rpi-devices/0.1.0/", "requires_dist": [ "RPi.GPIO" ], "requires_python": "", "summary": "A library for operating devices connected to a Raspberry Pi", "version": "0.1.0" }, "last_serial": 2226302, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a60d66f302f924b370f2e1b5d8ab9cc6", "sha256": "13ef31bcdd998f4ac427b84ec8a2afdddf262ce1eeb4e6bc009a815e0fa5e55a" }, "downloads": -1, "filename": "rpi_devices-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a60d66f302f924b370f2e1b5d8ab9cc6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7386, "upload_time": "2016-07-16T22:50:25", "url": "https://files.pythonhosted.org/packages/99/3f/97debfc4a41c3a42e68ead427f6ec0f6169d611376e938f61277b937f97f/rpi_devices-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa7b801a12ef0fedca294bbf704704fa", "sha256": "0e0fc1cfed9d45280683643fad54bdde1dfa843166cc12569efa5b51aa90f566" }, "downloads": -1, "filename": "rpi_devices-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fa7b801a12ef0fedca294bbf704704fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5247, "upload_time": "2016-07-16T22:50:28", "url": "https://files.pythonhosted.org/packages/83/2c/bee0bffe017fd1ff6ec1075493e645277d720120bf7f56c03e95c9a3cb5d/rpi_devices-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a60d66f302f924b370f2e1b5d8ab9cc6", "sha256": "13ef31bcdd998f4ac427b84ec8a2afdddf262ce1eeb4e6bc009a815e0fa5e55a" }, "downloads": -1, "filename": "rpi_devices-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a60d66f302f924b370f2e1b5d8ab9cc6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7386, "upload_time": "2016-07-16T22:50:25", "url": "https://files.pythonhosted.org/packages/99/3f/97debfc4a41c3a42e68ead427f6ec0f6169d611376e938f61277b937f97f/rpi_devices-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa7b801a12ef0fedca294bbf704704fa", "sha256": "0e0fc1cfed9d45280683643fad54bdde1dfa843166cc12569efa5b51aa90f566" }, "downloads": -1, "filename": "rpi_devices-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fa7b801a12ef0fedca294bbf704704fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5247, "upload_time": "2016-07-16T22:50:28", "url": "https://files.pythonhosted.org/packages/83/2c/bee0bffe017fd1ff6ec1075493e645277d720120bf7f56c03e95c9a3cb5d/rpi_devices-0.1.0.tar.gz" } ] }