{ "info": { "author": "Xie Yanbo", "author_email": "xieyanbo@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware :: Hardware Drivers" ], "description": ".. contents::\n\nLCD2USB's Python Library\n\nhome: http://github.com/xyb/lcd2usb\n\nPyPI: http://pypi.python.org/pypi/lcd2usb\n\nIntroduce\n=========\n\nThe LCD2USB's Python Library is a Pure-python wrapper for LCD2USB_ which\nprovide a simple way to control your LCD2USB display device. LCD2USB_ is a\nopen source/open hardware project to connect HD44780 based text LCD displays\nto various PCs via USB.\n\nUsage\n=====\n\nConnect a lcd2usb device is easy::\n\n >>> from lcd2usb import LCD\n >>> lcd = LCD()\n >>> lcd.info()\n Found LCD2USB device on bus 004 device 004.\n\nGet lcd2usb firmware version::\n\n >>> lcd.version\n (1, 9)\n\nWrite something on the screen::\n\n >>> lcd.write('Hello, LCD2USB!')\n\nClean screen and wirte some on the 2nd row::\n\n >>> lcd.clear()\n >>> lcd.goto(0, 1)\n >>> lcd.write('Flying with PYTHON')\n\nOr simpler::\n\n >>> lcd.write('Flying with PYTHON', 0, 1)\n\nDefine a custom smile symbol and display it on the center of first row\n(on a 4x20 display)::\n\n >>> from lcd2usb import SMILE_SYMBOL\n >>> lcd.define_char(0, SMILE_SYMBOL)\n >>> lcd.write('\\0', 9, 0)\n\nThat it!\n\nIf you need a quickly running test for your device, use this::\n\n python -m lcd2usb\n\nRequirements\n============\n\n- Python_ 2.5+ required\n\n- ctypes_ (included in Python 2.5+)\n\n- libusb-1.0_\n\n- python-libusb1_\n\nInstallation\n============\n\nInstallation is done just as for any other Python library. Using the ``pip`` or ``easy_install`` command from setuptools is the easiest::\n\n pip install lcd2usb\n\nOr::\n\n easy_install install lcd2usb\n\n\n.. _LCD2USB: http://www.harbaum.org/till/lcd2usb\n\n.. _Python: http://www.python.org/\n\n.. _ctypes: http://python.net/crew/theller/ctypes/\n\n.. _libusb-1.0: http://www.libusb.org/wiki/libusb-1.0\n\n.. _python-libusb1: http://github.com/vpelletier/python-libusb1", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/xyb/lib2usb", "keywords": "usb lcd lcd2usb", "license": "New BSD", "maintainer": null, "maintainer_email": null, "name": "lcd2usb", "package_url": "https://pypi.org/project/lcd2usb/", "platform": "any", "project_url": "https://pypi.org/project/lcd2usb/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/xyb/lib2usb" }, "release_url": "https://pypi.org/project/lcd2usb/1.2/", "requires_dist": null, "requires_python": null, "summary": "LCD2USB's Python Library", "version": "1.2" }, "last_serial": 1725389, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "ffcd531018ab48ba9d7e5d2eb75653ee", "sha256": "079c5b7f6c1712ed42d646fb6d8c623c557600ab886961a8d0dbd15a873a55aa" }, "downloads": -1, "filename": "lcd2usb-1.0.tar.gz", "has_sig": false, "md5_digest": "ffcd531018ab48ba9d7e5d2eb75653ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5893, "upload_time": "2013-12-22T02:45:00", "url": "https://files.pythonhosted.org/packages/20/39/9640aa4ac2b96dbf523842d0c1ae1d67c3937972b7ef918097202fc4fd15/lcd2usb-1.0.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "5e592a9183d658510be6ba37dff032c4", "sha256": "b6382a0f1f521b27745407ce2ed350b6cd30158ad6618659aa89a62fba90f35a" }, "downloads": -1, "filename": "lcd2usb-1.2.tar.gz", "has_sig": false, "md5_digest": "5e592a9183d658510be6ba37dff032c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7288, "upload_time": "2015-09-16T16:20:36", "url": "https://files.pythonhosted.org/packages/9a/0b/3fca5cd3d21bcaab7895657659cb7c1472e4286419b7b6ab2524946bcf5e/lcd2usb-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e592a9183d658510be6ba37dff032c4", "sha256": "b6382a0f1f521b27745407ce2ed350b6cd30158ad6618659aa89a62fba90f35a" }, "downloads": -1, "filename": "lcd2usb-1.2.tar.gz", "has_sig": false, "md5_digest": "5e592a9183d658510be6ba37dff032c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7288, "upload_time": "2015-09-16T16:20:36", "url": "https://files.pythonhosted.org/packages/9a/0b/3fca5cd3d21bcaab7895657659cb7c1472e4286419b7b6ab2524946bcf5e/lcd2usb-1.2.tar.gz" } ] }