Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
reportlab-qrcode implements a QR code flowable for the ReportLab PDF library using the qrcode package.
reportlab-qrcode can be installed via pip:
pip install reportlab-qrcode
Simply use the QRCodeImage class with your data. All non-recognized keyword arguments will be passed to the qrcode.QRCode class from the qrcode package.
from reportlab.lib.units import mm
from reportlab.pdfgen.canvas import Canvas
from reportlab_qrcode import QRCodeImage
doc = Canvas('simple.pdf')
qr = QRCodeImage('Some data here', size=30 * mm)
qr.drawOn(doc, 0, 0)
doc.showPage()
doc.save()
For further examples, including setting fill and back colors, QR code size, error correction level, as well as using the QR code as ReportLab Flowable object, see the examples directory.
This package is considered completed. So please do not wonder if you see no further commits. Despite the lack of new commits, this package is still maintained, i. e., I plan to keep this package compatible with the newest Python, qrcode and ReportLab version. If you find a bug, please open an issue in the issue tracker.
reportlab-qrcode is licensed under the MIT license. See LICENSE file for details.
FAQs
Allows to create QR codes for use with the ReportLab PDF library.
We found that reportlab-qrcode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.