{
"info": {
"author": "Polyconseil",
"author_email": "opensource+zbarlight@polyconseil.fr",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: C",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering :: Image Recognition"
],
"description": "ZbarLight\n=========\n\n``zbarlight`` is a simple wrapper for the zbar library. For now, it can read all zbar supported codes. Contributions,\nsuggestions and pull requests are welcome.\n\n``zbarlight`` is compatible with Python 2 and Python 3.\n\n``zbarlight`` is hosted on Github at .\n\nInstallation\n============\n\nYou need to install ZBar Bar Code Reader and its headers before installing ``zbarlight``.\n\nOn Debian\n~~~~~~~~~\n\n.. code-block:: console\n\n $ apt-get install libzbar0 libzbar-dev\n $ pip install zbarlight # you can also use setuptools directly\n\nOn Mac OS X\n~~~~~~~~~~~\n\n.. code-block:: console\n\n $ brew install zbar\n $ export LDFLAGS=\"-L$(brew --prefix zbar)/lib\"\n $ export CFLAGS=\"-I$(brew --prefix zbar)/include\"\n $ pip install zbarlight\n\nOn Windows\n~~~~~~~~~~\n\nInstruction can be found on .\n\nHow To use ZbarLight\n====================\n\n.. code-block:: python\n\n from PIL import Image\n import zbarlight\n\n file_path = './tests/fixtures/two_qr_codes.png'\n with open(file_path, 'rb') as image_file:\n image = Image.open(image_file)\n image.load()\n\n codes = zbarlight.scan_codes(['qrcode'], image)\n print('QR codes: %s' % codes)\n\nTroubleshooting\n===============\n\nIn some case ``zbarlight`` will not be able to detect the 1D or 2D code in an image, one of the known cause is that the\nimage background color is the same as the foreground color after conversion to grey scale (it's happen on images with\nalpha channel). You can use the ``copy_image_on_background`` function to add a background color on your image.\n\n.. code-block:: python\n\n from PIL import Image\n import zbarlight\n\n file_path = './tests/fixtures/two_qr_codes.png'\n with open(file_path, 'rb') as image_file:\n image = Image.open(image_file)\n image.load()\n\n new_image = zbarlight.copy_image_on_background(image, color=zbarlight.WHITE) # <<<<<<<<<<<<<<<< Add this line <<<<\n codes = zbarlight.scan_codes(['qrcode'], new_image)\n print('QR codes: %s' % codes)\n\nSome other cases without known solutions are show in the ``scan_codes()`` tests (search for the expected failures). Any\nclues on these cases is welcome.",
"description_content_type": "",
"docs_url": "https://pythonhosted.org/zbarlight/",
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/Polyconseil/zbarlight",
"keywords": "zbar,QR code reader",
"license": "BSD 3-Clause License",
"maintainer": "",
"maintainer_email": "",
"name": "zbarlight",
"package_url": "https://pypi.org/project/zbarlight/",
"platform": "",
"project_url": "https://pypi.org/project/zbarlight/",
"project_urls": {
"Homepage": "https://github.com/Polyconseil/zbarlight"
},
"release_url": "https://pypi.org/project/zbarlight/2.3/",
"requires_dist": null,
"requires_python": "",
"summary": "A simple zbar wrapper",
"version": "2.3"
},
"last_serial": 4968929,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "825c79c7e9ed61b7af2ca28f91f74f3c",
"sha256": "a8e111c2a6068a071409cf70029bc0bcec4e7e2d3ade927b31402045af57f37c"
},
"downloads": -1,
"filename": "zbarlight-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "825c79c7e9ed61b7af2ca28f91f74f3c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8856,
"upload_time": "2014-12-15T16:46:44",
"url": "https://files.pythonhosted.org/packages/a3/92/743e2aafa1b025a1f65d74411be617e900a45e3ba6962e43565c8ab08d15/zbarlight-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "5bc8147eb6464041d82589e37f02b38e",
"sha256": "80a419aa53925e89d082f49952ab8b75038b46b931f86826a21d28687aa94ec7"
},
"downloads": -1,
"filename": "zbarlight-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "5bc8147eb6464041d82589e37f02b38e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8935,
"upload_time": "2014-12-16T13:12:38",
"url": "https://files.pythonhosted.org/packages/58/21/af35efb01959ce9be2a6c14e25260530657456b3e914fbc8bf0c16d79c2d/zbarlight-0.1.1.tar.gz"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "580728bbaf0a0838f5667264b90e4254",
"sha256": "df94dbccb7b9d775d8174437739a8ef63276469bbe2704d7b8c0f2c8c0d1bf2b"
},
"downloads": -1,
"filename": "zbarlight-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "580728bbaf0a0838f5667264b90e4254",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10646,
"upload_time": "2015-09-25T15:53:39",
"url": "https://files.pythonhosted.org/packages/a2/29/7a1cd98a5e2098623a24f8853514607f68ff376b263101b7276bc8179221/zbarlight-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "fa31a575f5e8a3f6de0b9b6f93e0020a",
"sha256": "49c7914f1112b8ecab207618148ca6381894236a6baff74f44606ab92ac56efe"
},
"downloads": -1,
"filename": "zbarlight-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "fa31a575f5e8a3f6de0b9b6f93e0020a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5574,
"upload_time": "2016-06-17T12:59:41",
"url": "https://files.pythonhosted.org/packages/da/cc/2490f49f5ba7be2034ebf33ba48b7ccb1bbb53e706b1c79d2c6504439bee/zbarlight-1.0.1.tar.gz"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "1e78e3ec69aaf251491373137d490010",
"sha256": "565426f0f5b91e93d422f0e289e750a9e05bfe3519c38e599a5f6793cf635dca"
},
"downloads": -1,
"filename": "zbarlight-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "1e78e3ec69aaf251491373137d490010",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5526,
"upload_time": "2016-08-03T11:42:03",
"url": "https://files.pythonhosted.org/packages/a4/4a/42e4760e882a8c71350002b3356aaff8d1a5e335030610913a2457351d42/zbarlight-1.0.2.tar.gz"
}
],
"1.0.3.dev0": [],
"1.1.0": [
{
"comment_text": "",
"digests": {
"md5": "1ea8daea1758f342b71a126b13a54baf",
"sha256": "ad2c16256faa8e28b8709c9e6c5dabff15c7853c640812a49809894cfba1d5a9"
},
"downloads": -1,
"filename": "zbarlight-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "1ea8daea1758f342b71a126b13a54baf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5628,
"upload_time": "2017-01-24T12:15:03",
"url": "https://files.pythonhosted.org/packages/f8/cc/941f0e91fd3ab61e59cb84bd4b13063b658de04d58acc7857b66010cf166/zbarlight-1.1.0.tar.gz"
}
],
"1.2": [
{
"comment_text": "",
"digests": {
"md5": "66a573d065ec42c1c80a767b6d05bbbf",
"sha256": "b68252e41255b21ec7b0bca53d1cce842c2e931f43404ce6bfc0383cf8407533"
},
"downloads": -1,
"filename": "zbarlight-1.2.tar.gz",
"has_sig": false,
"md5_digest": "66a573d065ec42c1c80a767b6d05bbbf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5986,
"upload_time": "2017-03-09T13:42:56",
"url": "https://files.pythonhosted.org/packages/43/e2/429cd76e049285b9a53e40c813826307f19f0be6562dfb948332cdeb9615/zbarlight-1.2.tar.gz"
}
],
"2.0": [
{
"comment_text": "",
"digests": {
"md5": "04adbbfa49c65885584c0063f347d728",
"sha256": "7fce62b0240a1770ea4174eb4593a06351f391a028cce0d80fa7b9c74c7c6607"
},
"downloads": -1,
"filename": "zbarlight-2.0.tar.gz",
"has_sig": false,
"md5_digest": "04adbbfa49c65885584c0063f347d728",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6293,
"upload_time": "2018-01-24T15:55:13",
"url": "https://files.pythonhosted.org/packages/2d/9b/e987d8b983b463e96169260585a2828ad10fd932523460f2322d07fdeccf/zbarlight-2.0.tar.gz"
}
],
"2.1": [
{
"comment_text": "",
"digests": {
"md5": "d53ad0e79b899561e4818de20b4477fd",
"sha256": "da1375b8914b82e5bd8dc713489db64f3499401702ce4ee548bfb182543a8951"
},
"downloads": -1,
"filename": "zbarlight-2.1.tar.gz",
"has_sig": false,
"md5_digest": "d53ad0e79b899561e4818de20b4477fd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6828,
"upload_time": "2018-06-04T12:27:33",
"url": "https://files.pythonhosted.org/packages/2b/3d/2111e8324d89d436bd3e361acfde556b71ef9ea6aedfa3a65c239cf4c287/zbarlight-2.1.tar.gz"
}
],
"2.2": [
{
"comment_text": "",
"digests": {
"md5": "7e5155f0980551523bb1ba59179028b2",
"sha256": "7ae2c2c1457b415d1458b0558c44bae532832a834f18e9e01e83c0f6a923135e"
},
"downloads": -1,
"filename": "zbarlight-2.2.tar.gz",
"has_sig": false,
"md5_digest": "7e5155f0980551523bb1ba59179028b2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6876,
"upload_time": "2019-01-21T13:00:31",
"url": "https://files.pythonhosted.org/packages/ae/0d/5fae30ea3cae9f4b615ea7a6444b22aec1fad76ec989941ef2c2178182e3/zbarlight-2.2.tar.gz"
}
],
"2.3": [
{
"comment_text": "",
"digests": {
"md5": "6bbaa5ea5aa3aacaef1d23adead67ead",
"sha256": "9ddb37751121b8e575277b312510bd3d08839b4b465a42b873e8e25344b26698"
},
"downloads": -1,
"filename": "zbarlight-2.3.tar.gz",
"has_sig": false,
"md5_digest": "6bbaa5ea5aa3aacaef1d23adead67ead",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6851,
"upload_time": "2019-03-21T16:27:54",
"url": "https://files.pythonhosted.org/packages/3d/ee/de1466b1170e347d185dc0c3f75c1100fab03bb2a9544f142bb5bbccd182/zbarlight-2.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "6bbaa5ea5aa3aacaef1d23adead67ead",
"sha256": "9ddb37751121b8e575277b312510bd3d08839b4b465a42b873e8e25344b26698"
},
"downloads": -1,
"filename": "zbarlight-2.3.tar.gz",
"has_sig": false,
"md5_digest": "6bbaa5ea5aa3aacaef1d23adead67ead",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6851,
"upload_time": "2019-03-21T16:27:54",
"url": "https://files.pythonhosted.org/packages/3d/ee/de1466b1170e347d185dc0c3f75c1100fab03bb2a9544f142bb5bbccd182/zbarlight-2.3.tar.gz"
}
]
}