{ "info": { "author": "Andre Miras", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# zbarcam\n\n[![Build Status](https://travis-ci.org/kivy-garden/zbarcam.svg?branch=develop)](https://travis-ci.org/kivy-garden/zbarcam)\n[![Coverage Status](https://coveralls.io/repos/github/kivy-garden/zbarcam/badge.svg?branch=develop)](https://coveralls.io/github/kivy-garden/zbarcam?branch=develop)\n[![PyPI version](https://badge.fury.io/py/zbarcam.svg)](https://badge.fury.io/py/zbarcam)\n[![Documentation Status](https://readthedocs.org/projects/zbarcam/badge/?version=latest)](https://zbarcam.readthedocs.io/en/latest/?badge=latest)\n\nReal time Barcode and QR Code scanner using the camera.\nIt's built on top of [Kivy](https://github.com/kivy/kivy) and [pyzbar](https://github.com/NaturalHistoryMuseum/pyzbar).\n\n\"screenshot\"\n\n## How to use\nSimply import and instanciate `ZBarCam` in your kvlang file and access its `symbols` property.\n```yaml\n#:import ZBarCam kivy_garden.zbarcam.ZBarCam\n#:import ZBarSymbol pyzbar.pyzbar.ZBarSymbol\nBoxLayout:\n orientation: 'vertical'\n ZBarCam:\n id: zbarcam\n # optional, by default checks all types\n code_types: ZBarSymbol.QRCODE, ZBarSymbol.EAN13\n Label:\n size_hint: None, None\n size: self.texture_size[0], 50\n text: ', '.join([str(symbol.data) for symbol in zbarcam.symbols])\n```\nA full working demo is available in [src/main.py](https://github.com/kivy-garden/zbarcam/blob/master/src/main.py).\n\n## Install\n\n### Ubuntu\nInstall system requirements (Ubuntu 18.04):\n```sh\nmake system_dependencies\n```\n\nInstall zbarcam:\n```sh\npip install zbarcam\n```\nThen import it in your Python code via:\n```python\nfrom kivy_garden.zbarcam import ZBarCam\n```\n\n### Android\nBuild for Android via buildozer, see [buildozer.spec](buildozer.spec).\n\n## Contribute\nTo play with the project, install system dependencies and Python requirements using the [Makefile](Makefile).\n```sh\nmake\n```\nThen verify everything is OK by running tests.\n```sh\nmake test\nmake uitest\n```\n\n## Troubleshooting\n\n### Android `ValueError: Empty module name`\nMore likely an import issue in your `.kv` file.\nTry to `from zbarcam import ZBarCam` in your `main.py` to see the exact error.\nIt's common to forget `Pillow` in `buildozer.spec` `requirements` section.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kivy-garden/zbarcam", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "zbarcam", "package_url": "https://pypi.org/project/zbarcam/", "platform": "", "project_url": "https://pypi.org/project/zbarcam/", "project_urls": { "Homepage": "https://github.com/kivy-garden/zbarcam" }, "release_url": "https://pypi.org/project/zbarcam/2019.1020/", "requires_dist": [ "kivy-garden.zbarcam" ], "requires_python": "", "summary": "Real time Barcode and QR Code scanner Edit", "version": "2019.1020" }, "last_serial": 6004380, "releases": { "2019.1020": [ { "comment_text": "", "digests": { "md5": "e3c654bc958627f1bd3024fa612e8d68", "sha256": "eee784b004b98c14a2f5004baa610d2b8d44413de068aaa54ea3e09bf49e11f0" }, "downloads": -1, "filename": "zbarcam-2019.1020-py3-none-any.whl", "has_sig": false, "md5_digest": "e3c654bc958627f1bd3024fa612e8d68", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6331, "upload_time": "2019-10-20T19:15:38", "url": "https://files.pythonhosted.org/packages/47/6e/f786576e5d162fa15ca471f38bd7b47baf4f5b873f6b32899fd01e8db203/zbarcam-2019.1020-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "500a34bea20d3e2ce3096e3b508a760d", "sha256": "8f6431c691381820b223b3beeb477b45c108a87ae68c9bd44010eb548c646807" }, "downloads": -1, "filename": "zbarcam-2019.1020.tar.gz", "has_sig": false, "md5_digest": "500a34bea20d3e2ce3096e3b508a760d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6150, "upload_time": "2019-10-20T19:15:42", "url": "https://files.pythonhosted.org/packages/c5/a6/df7ba703a501970c69cb73ad65bb45d9067b3a273fb366261b3d080d8c64/zbarcam-2019.1020.tar.gz" } ], "2019.902": [ { "comment_text": "", "digests": { "md5": "c887e2f45e5c0a550b6dc862436f5a21", "sha256": "ec436f7cf5aa9a2823636e99a3d301579fcfe696908cc62a63ed2fa5545dab94" }, "downloads": -1, "filename": "zbarcam-2019.902-py3-none-any.whl", "has_sig": false, "md5_digest": "c887e2f45e5c0a550b6dc862436f5a21", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5967, "upload_time": "2019-09-02T14:32:42", "url": "https://files.pythonhosted.org/packages/93/7d/ecca7d92d96eea58713685e28d0c6a733907b40ebb4dc8e1b880fcb65c89/zbarcam-2019.902-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de7b806d06c537f35a59df041329f9ef", "sha256": "c04c73dead7095dc16de2a03b39daa734176f44657fe61602d167ec09dd8e2e5" }, "downloads": -1, "filename": "zbarcam-2019.902.tar.gz", "has_sig": false, "md5_digest": "de7b806d06c537f35a59df041329f9ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6422, "upload_time": "2019-09-02T14:32:45", "url": "https://files.pythonhosted.org/packages/04/6f/c8519c895869e590315df9f984f3b28e811ea7d386cd904be84eee9abb5e/zbarcam-2019.902.tar.gz" } ], "2019.907": [ { "comment_text": "", "digests": { "md5": "07ea02500b2a30a1d35dca669f3729ac", "sha256": "3e1f264e48b87338bedd7eaec0e63e0c1b297fe7cc7ca92706f00fd286f23c9e" }, "downloads": -1, "filename": "zbarcam-2019.907-py3-none-any.whl", "has_sig": false, "md5_digest": "07ea02500b2a30a1d35dca669f3729ac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6988, "upload_time": "2019-09-07T00:36:25", "url": "https://files.pythonhosted.org/packages/9e/68/b2b2a9edf5fb72015f229a29a9a5a82765c281ce299ba37399fd7c6fde7e/zbarcam-2019.907-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "80a2e66e3dc976a83cf66d9df060c771", "sha256": "fabe91a34a448dbaa8a6d3e046a2e109eb87892450e39a9b9722eabc5dace603" }, "downloads": -1, "filename": "zbarcam-2019.907.tar.gz", "has_sig": false, "md5_digest": "80a2e66e3dc976a83cf66d9df060c771", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7233, "upload_time": "2019-09-07T00:36:28", "url": "https://files.pythonhosted.org/packages/9e/49/f5ae45107cf7a7c6cad3e1d1a3f5e62cda20011ce3a8c2fda73638b775d3/zbarcam-2019.907.tar.gz" } ], "2019.909": [ { "comment_text": "", "digests": { "md5": "8eca7cf0fc77ef13825889b01f7c854d", "sha256": "a7aaad8647a29880b9b8eeae0c1c4af2b969835b0dce350e10db6695362341f6" }, "downloads": -1, "filename": "zbarcam-2019.909-py3-none-any.whl", "has_sig": false, "md5_digest": "8eca7cf0fc77ef13825889b01f7c854d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6997, "upload_time": "2019-09-09T06:54:00", "url": "https://files.pythonhosted.org/packages/f7/f0/e8844d65954416c0894e8e8223154216193ce1b0cdbcdee8a6e5d4f1354e/zbarcam-2019.909-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ae7f7a07e7d8b0969853a1a90dcb8d07", "sha256": "e627d2afde6d3ba801569feef02ffeeb287137974ca4682a0e0f47409f4bf914" }, "downloads": -1, "filename": "zbarcam-2019.909.tar.gz", "has_sig": false, "md5_digest": "ae7f7a07e7d8b0969853a1a90dcb8d07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7282, "upload_time": "2019-09-09T06:54:03", "url": "https://files.pythonhosted.org/packages/79/8b/f9734a8e3bb2b5d5d8e85b04e24faffa4eb82be739fad4e0b04251e5cffe/zbarcam-2019.909.tar.gz" } ], "2019.910": [ { "comment_text": "", "digests": { "md5": "b4df252e58a61fa06198793a0f9d0d95", "sha256": "8b241bc9b40f4a310b244eae631e55131b334010c927ed69ac9a36685d374368" }, "downloads": -1, "filename": "zbarcam-2019.910-py3-none-any.whl", "has_sig": false, "md5_digest": "b4df252e58a61fa06198793a0f9d0d95", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6828, "upload_time": "2019-09-10T22:14:37", "url": "https://files.pythonhosted.org/packages/a4/41/07f28b3beec074d234092b5871b7ee8f7c2261a49340cca4215c5870e656/zbarcam-2019.910-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "45bb6c40de1f650437ab07c43a83fa30", "sha256": "fc01478658a6377fbc8acf2e270e9f6e41a6d8ac134bdb32eedf596642062173" }, "downloads": -1, "filename": "zbarcam-2019.910.tar.gz", "has_sig": false, "md5_digest": "45bb6c40de1f650437ab07c43a83fa30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6618, "upload_time": "2019-09-10T22:14:40", "url": "https://files.pythonhosted.org/packages/e4/74/2dcb70e90a097a3021e7f2d54442640107e8db71c5f3eaac91fb4cb4922e/zbarcam-2019.910.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e3c654bc958627f1bd3024fa612e8d68", "sha256": "eee784b004b98c14a2f5004baa610d2b8d44413de068aaa54ea3e09bf49e11f0" }, "downloads": -1, "filename": "zbarcam-2019.1020-py3-none-any.whl", "has_sig": false, "md5_digest": "e3c654bc958627f1bd3024fa612e8d68", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6331, "upload_time": "2019-10-20T19:15:38", "url": "https://files.pythonhosted.org/packages/47/6e/f786576e5d162fa15ca471f38bd7b47baf4f5b873f6b32899fd01e8db203/zbarcam-2019.1020-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "500a34bea20d3e2ce3096e3b508a760d", "sha256": "8f6431c691381820b223b3beeb477b45c108a87ae68c9bd44010eb548c646807" }, "downloads": -1, "filename": "zbarcam-2019.1020.tar.gz", "has_sig": false, "md5_digest": "500a34bea20d3e2ce3096e3b508a760d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6150, "upload_time": "2019-10-20T19:15:42", "url": "https://files.pythonhosted.org/packages/c5/a6/df7ba703a501970c69cb73ad65bb45d9067b3a273fb366261b3d080d8c64/zbarcam-2019.1020.tar.gz" } ] }