{"id":23046462,"url":"https://github.com/marcoagner/flask-qrcode","last_synced_at":"2025-04-05T14:09:20.374Z","repository":{"id":19462338,"uuid":"22706964","full_name":"marcoagner/Flask-QRcode","owner":"marcoagner","description":"A concise Flask extension to easily render QR codes on Jinja2 templates using python-qrcode.","archived":false,"fork":false,"pushed_at":"2024-06-02T15:52:58.000Z","size":398,"stargazers_count":112,"open_issues_count":1,"forks_count":30,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-05T14:09:12.023Z","etag":null,"topics":["flask","flask-extensions","jinja2","pypi-packages","python","python3","qrcode"],"latest_commit_sha":null,"homepage":"https://marcoagner.github.io/Flask-QRcode/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcoagner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-07T03:26:06.000Z","updated_at":"2025-01-25T19:20:11.000Z","dependencies_parsed_at":"2024-06-18T19:52:41.016Z","dependency_job_id":"53452c75-7d58-4c34-abf6-54a122822413","html_url":"https://github.com/marcoagner/Flask-QRcode","commit_stats":{"total_commits":94,"total_committers":8,"mean_commits":11.75,"dds":0.5957446808510638,"last_synced_commit":"7abc7612b05a3de892049a90bdeae52b34a0b440"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoagner%2FFlask-QRcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoagner%2FFlask-QRcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoagner%2FFlask-QRcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoagner%2FFlask-QRcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcoagner","download_url":"https://codeload.github.com/marcoagner/Flask-QRcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345854,"owners_count":20924102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","flask-extensions","jinja2","pypi-packages","python","python3","qrcode"],"created_at":"2024-12-15T22:24:41.453Z","updated_at":"2025-04-05T14:09:20.350Z","avatar_url":"https://github.com/marcoagner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Flask-QRcode\n============\n[![PyPI version](https://badge.fury.io/py/Flask-QRcode.svg)](https://badge.fury.io/py/Flask-QRcode)\n\n\u003e A concise Flask extension to easily render QR codes on Jinja2 templates using\n[python-qrcode](https://github.com/lincolnloop/python-qrcode)\n\nYou can read the [full documentation here](https://marcoagner.github.io/Flask-QRcode/).\n\n![](QRcode.png)\n\n## Installation\n    \n```\npip install Flask-QRcode\n```\n\n## Usage:\n\n### Extend the app:\n\n```\nfrom flask_qrcode import QRcode\n# [...]\nQRcode(app)\n# [...]\n```\n\n### Then use it within your templates:\n\n#### Basic usage:\n\n    \u003cimg src=\"{{ qrcode(STRING_TO_ENCODE) }}\"\u003e\n    \n### More examples:\nFor more examples, just run the sample application in this repository.\n\n[Sample Application](https://github.com/marcoagner/Flask-QRcode/tree/master/sample_application)\n\n## Contributing:\n\nThank you for considering contributing to this package.\n\nAs this is a simple package, the process is pretty straightforward...\n\n1. Fork this repository\n2. Checkout from master with to a feature branch with a name related to what is being contributed (e.g. \"colored-qrcodes\")\n\n\\**It's highly recommended that your contribution either creates a new **feature**, **fixes** something OR **refactors** the code and does not mix these (e.g. one PR fixing some existent feature and refactoring non-related code).*\n\n3. Install dependencies and flask_qrcode on editable mode\n    ```\n    pip install -e .  # for installing flask_qrcode on editable mode\n    ```\n4. Do your magic\n5. Provide new tests for your work and check that both this and the old ones\n   are passing\n6. Pull Request!\n\n## Testing:\n\n1. Install dependencies and flask_qrcode on editable mode\n```\npip install -e .  # for installing flask_qrcode on editable mode\n```\n2. Run pytest\n```\npython setup.py test  # on package's root dir\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoagner%2Fflask-qrcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcoagner%2Fflask-qrcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoagner%2Fflask-qrcode/lists"}