{ "info": { "author": "Lars Heuer", "author_email": "heuer@semagia.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Multimedia :: Graphics", "Topic :: Printing", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "Segno Quark: Plugin for creating more advanced (or less usefull) QR Code SVG documents\n======================================================================================\n\nThis (experimental) `Segno`_ plugin changes the default SVG output in\ndifferent ways (i.e. applying SVG filters).\n\nTested under PyPy, Python 2.7 and Python 3.4. Unlike Segno itself, this\npackage does not work with Python 2.6.\n\n\nInstallation\n------------\n\nUse ``pip`` to install this quark from PyPI::\n\n $ pip install segno-quark\n\n\nUsage\n-----\n\nOnce installed, the quark is automatically detected as `Segno`_ plugin and\ntherefore available via ``qrcode.to_XXX(...)``.\n\n\nAvailable converters\n--------------------\n\nAll converters use the same keyword parameters as Segno's SVG serializer,\nsee `segno.QRCode.save()`_ for details.\n\n\nETree\n^^^^^\n\nCreates a SVG QR Code and returns the SVG document as ``xml.etree.ElementTree``.\n\nUsage: ``to_etree``\n\nThis converter provides no additional keyword arguments.\n\n\n\nPacman\n^^^^^^\n\nCreates a QR Code with a smiley (and optional ghosts).\n\nUsage: ``to_pacman``\n\n=============== ============================================================\nKeyword Description\n=============== ============================================================\npacman_color Color of the smiley, default: ``#fc0``\ndot_color Color of the dots which the smiley should eat, default:\n ``#fc0``\nghosts Number of ghosts, default: ``5``. If set to ``0``, no ghost\n appears. Note: Setting this to a very high value may cause\n an infinite loop iff number of ghosts > number of available\n dark modules. Additionally, the QR Code may not be readable\n by common QR Code decoders.\n The positions of the ghosts are choosen at random.\nghost_colors A tuple of colors which the ghosts may get. Default:\n ``('#ff0c13', '#f2aeaf', '#1bb1e6', '#f97e16')``\n Not all colors may be used, the colors for the ghosts are\n choosen at random.\n=============== ============================================================\n\n\nExample:\n\n.. code-block:: python\n\n >>> import segno\n >>> qr = segno.make_qr('Ob-La-Di, Ob-La-Da')\n >>> qr.to_pacman('obladioblada.svg', scale=10, ghosts=7)\n\n\nResult:\n\n.. image:: https://raw.githubusercontent.com/heuer/segno-quark/master/images/pacman.png\n :alt: Example of to_pacman result\n :width: 495\n :height: 495\n\n\n\nGlow\n^^^^\n\nCreates a QR Code with a \"glow\" effect.\n\nUsage: ``to_glow``\n\n=============== ============================================================\nKeyword Description\n=============== ============================================================\nfilter_id Indicates the id of the filter, default: ``segno-glow``\ndeviation Indicates the standard deviation for the blur operation,\n default: ``.6``\n=============== ============================================================\n\n\nExample:\n\n.. code-block:: python\n\n >>> import segno\n >>> qr = segno.make_qr('Ob-La-Di, Ob-La-Da')\n >>> qr.to_glow('obladioblada.svg', scale=10, color='darkblue')\n\n\nResult:\n\n.. image:: https://raw.githubusercontent.com/heuer/segno-quark/master/images/glow.png\n :alt: Example of to_glow result\n :width: 330\n :height: 330\n\n\nBlur\n^^^^\n\nCreates a QR Code with a \"blur\" effect.\n\nUsage: ``to_blur``\n\n=============== ============================================================\nKeyword Description\n=============== ============================================================\nfilter_id Indicates the id of the filter, default: ``segno-blur``\ndeviation Indicates the standard deviation for the blur operation,\n default: ``.3``\n=============== ============================================================\n\n\nExample:\n\n.. code-block:: python\n\n >>> import segno\n >>> qr = segno.make_qr('Ob-La-Di, Ob-La-Da')\n >>> qr.to_blur('obladioblada.svg', scale=10, color='darkred')\n\n\nResult:\n\n.. image:: https://raw.githubusercontent.com/heuer/segno-quark/master/images/blur.png\n :alt: Example of to_blur result\n :width: 330\n :height: 330\n\n\n.. _Segno: https://github.com/heuer/segno\n.. _segno.QRCode.save(): https://segno.readthedocs.io/en/latest/api.html#segno.QRCode.save\n\nChanges\n=======\n\n\n0.1.1 -- 2016-08-18\n-------------------\n* Initial release\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/heuer/segno-quark/", "keywords": "QR Code,Micro QR Code,ISO/IEC 18004,ISO/IEC 18004:2006(E)", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "segno-quark", "package_url": "https://pypi.org/project/segno-quark/", "platform": "any", "project_url": "https://pypi.org/project/segno-quark/", "project_urls": { "Homepage": "https://github.com/heuer/segno-quark/" }, "release_url": "https://pypi.org/project/segno-quark/0.1.1/", "requires_dist": [ "segno" ], "requires_python": "", "summary": "Convert Segno's (Micro) QR Codes into more advanced SVG documents", "version": "0.1.1" }, "last_serial": 2289647, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7523a54cc28a104ba5aad8670c24ca81", "sha256": "29b21fa9f8cd5af39dae95b64eb7c8246b1b78906f71e484b0eec0e4e4b9543b" }, "downloads": -1, "filename": "segno_quark-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7523a54cc28a104ba5aad8670c24ca81", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8641, "upload_time": "2016-08-18T20:35:44", "url": "https://files.pythonhosted.org/packages/e0/e1/1ece5b155b282d972f6b37cbb4530a115a1c98dafe90d93dfd27b25faf3e/segno_quark-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f937ec63da744e8a8efcf33dd8aa3990", "sha256": "e6db100a0972c70c0829436f00ced0e1208f061456ce38889fa942a86dcea167" }, "downloads": -1, "filename": "segno-quark-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f937ec63da744e8a8efcf33dd8aa3990", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6421, "upload_time": "2016-08-18T20:35:47", "url": "https://files.pythonhosted.org/packages/36/80/6451f5a75845451901ced164f56212de7f31d00cadbf2085b21c8c000a71/segno-quark-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e1aef695db0ce78fa871e52dcbb4ca3a", "sha256": "163004a365b106762d5a52145c7e055c2cee389f5e3f275f46f1aba6099e72bc" }, "downloads": -1, "filename": "segno_quark-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e1aef695db0ce78fa871e52dcbb4ca3a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8678, "upload_time": "2016-08-18T21:41:05", "url": "https://files.pythonhosted.org/packages/63/10/d0b324fa112c2bbf9f7f7a2a4cf3e473538f4a1eddbdabec01485a9a67c9/segno_quark-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f074f8c2b49470a2762cb2cc5462a669", "sha256": "062fd1daeddcad82b15b27c6f31cdf9c48cb2fb05382468d8736f2d1ec0c08af" }, "downloads": -1, "filename": "segno-quark-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f074f8c2b49470a2762cb2cc5462a669", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6430, "upload_time": "2016-08-18T21:41:07", "url": "https://files.pythonhosted.org/packages/98/85/8e32c5150b25b7946b15f96cb2c0d7c0a22ef7777f2f2b8f6250f74a2cde/segno-quark-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e1aef695db0ce78fa871e52dcbb4ca3a", "sha256": "163004a365b106762d5a52145c7e055c2cee389f5e3f275f46f1aba6099e72bc" }, "downloads": -1, "filename": "segno_quark-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e1aef695db0ce78fa871e52dcbb4ca3a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8678, "upload_time": "2016-08-18T21:41:05", "url": "https://files.pythonhosted.org/packages/63/10/d0b324fa112c2bbf9f7f7a2a4cf3e473538f4a1eddbdabec01485a9a67c9/segno_quark-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f074f8c2b49470a2762cb2cc5462a669", "sha256": "062fd1daeddcad82b15b27c6f31cdf9c48cb2fb05382468d8736f2d1ec0c08af" }, "downloads": -1, "filename": "segno-quark-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f074f8c2b49470a2762cb2cc5462a669", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6430, "upload_time": "2016-08-18T21:41:07", "url": "https://files.pythonhosted.org/packages/98/85/8e32c5150b25b7946b15f96cb2c0d7c0a22ef7777f2f2b8f6250f74a2cde/segno-quark-0.1.1.tar.gz" } ] }