{ "info": { "author": "Shrikant Patnaik", "author_email": "me@shrikantpatnaik.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Raspberry Pi Shift Register Library\n===================================\n\nThis is a simple(not very optimised) library to use Shift registers on a\nraspberry pi.\n\nAll pin numbers are based on the GPIO.BCM numbering scheme.\n\nAll Values are automatically reversed when using the ``write`` function.\n\nYou will also need the RPi.GPIO module available.\n\nBasic Usage\n-----------\n\nConnect the Data pin to GPIO 18, the Clock pin to GPIO 23 and the Latch\nto GPIO 24.\n\n.. code:: python\n\n import PiShiftPy as shift\n\n shift.init()\n shift.writeAll(0x00) # Will write 0000 0000\n shift.write(0xFF) # Will write 1111 1111\n\nAdvanced Usage\n--------------\n\nWriting values\n~~~~~~~~~~~~~~\n\n.. code:: python\n\n import PiShiftPy as shift\n shift.init(17, 27, 22, 2) # Initialize with DataPin = GPIO17, Clock=GPIO27, Latch=GPIO22 with 2 chained registers\n shift.writeAll(0xFFFF) # Will write 0000 0000 0000 0000\n shift.writeAll(0xFFFF) # Will write 1111 1111 1111 1111\n\nWriting individual Pins\n~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n import PiShiftPy as shift\n shift.init(17, 27, 22, 1) # Initialize with DataPin = GPIO17, Clock=GPIO27, Latch=GPIO22 with 1 register\n shift.push_bit(0)\n shift.push_bit(1)\n shift.push_bit(0)\n shift.push_bit(1)\n shift.push_bit(1)\n shift.push_bit(1)\n shift.push_bit(0)\n shift.push_bit(1)\n shift.write_latch()\n\nAuthor\n------\n\nShrikant Patnaik", "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/shrikantpatnaik/PiShiftPy", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "PiShiftPy", "package_url": "https://pypi.org/project/PiShiftPy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PiShiftPy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/shrikantpatnaik/PiShiftPy" }, "release_url": "https://pypi.org/project/PiShiftPy/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Easily use 74HC595 and Other Shift registers with your Raspberry Pi", "version": "0.1.1" }, "last_serial": 1376746, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "3b4967cb5d1bf31452a3dc5defd8bfb9", "sha256": "0afbe7994ff40c35ab62767d25c4023badccbdc57e2b8f83f9297cdcdf5f2c93" }, "downloads": -1, "filename": "PiShiftPy-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3b4967cb5d1bf31452a3dc5defd8bfb9", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4030, "upload_time": "2015-01-08T13:12:48", "url": "https://files.pythonhosted.org/packages/79/01/2262690f123a0d52ded5f710cc83c9eb7e3837a0f81e7f60700957acf203/PiShiftPy-0.1.0-py2.py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "93d7ff400aed4dc40f0cdb2a093ea3fe", "sha256": "52290f1947344d0010798894721cb915e269aacac4f05c959e000c35bfdf24f4" }, "downloads": -1, "filename": "PiShiftPy-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "93d7ff400aed4dc40f0cdb2a093ea3fe", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4045, "upload_time": "2015-01-09T13:16:37", "url": "https://files.pythonhosted.org/packages/8d/bc/aaada99c2f5e4818b83a245362bb43dd873d0b6968fac37c547d64386c24/PiShiftPy-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3cfdbce1664fa4ac88f92086929e1cb", "sha256": "d4a5a2f186d4fffc3bb0cf1275fe3f95e15063c674317111cced04f788a5a68a" }, "downloads": -1, "filename": "PiShiftPy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c3cfdbce1664fa4ac88f92086929e1cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3074, "upload_time": "2015-01-09T13:16:47", "url": "https://files.pythonhosted.org/packages/7f/e3/14dd97b207bbddd8fd8f91eb1cfa94a3117f1ae4e92cc13aef9d8e98e329/PiShiftPy-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "93d7ff400aed4dc40f0cdb2a093ea3fe", "sha256": "52290f1947344d0010798894721cb915e269aacac4f05c959e000c35bfdf24f4" }, "downloads": -1, "filename": "PiShiftPy-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "93d7ff400aed4dc40f0cdb2a093ea3fe", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4045, "upload_time": "2015-01-09T13:16:37", "url": "https://files.pythonhosted.org/packages/8d/bc/aaada99c2f5e4818b83a245362bb43dd873d0b6968fac37c547d64386c24/PiShiftPy-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3cfdbce1664fa4ac88f92086929e1cb", "sha256": "d4a5a2f186d4fffc3bb0cf1275fe3f95e15063c674317111cced04f788a5a68a" }, "downloads": -1, "filename": "PiShiftPy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c3cfdbce1664fa4ac88f92086929e1cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3074, "upload_time": "2015-01-09T13:16:47", "url": "https://files.pythonhosted.org/packages/7f/e3/14dd97b207bbddd8fd8f91eb1cfa94a3117f1ae4e92cc13aef9d8e98e329/PiShiftPy-0.1.1.tar.gz" } ] }