Qrcode

Latest version: v8.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

8.0

========================

- Added support for Python 3.11 and 3.12.

- Drop support for Python <=3.8.

- Change local development setup to use Poetry_.

- Testsuite and code quality checks are done through Github Actions.

- Code quality and formatting utilises ruff_.

- Removed ``typing_extensions`` as a dependency, as it's no longer required with
having Python 3.9+ as a requirement.

- Only allow high error correction rate (`qrcode.ERROR_CORRECT_H`) when generating
QR codes with embedded images to ensure content is readable

.. _Poetry: https://python-poetry.org
.. _ruff: https://astral.sh/ruff

7.4.2

=======================

- Allow ``pypng`` factory to allow for saving to a string (like
``qr.save("some_file.png")``) in addition to file-like objects.

7.4.1

=======================

- Fix bad over-optimization in v7.4 that broke large QR codes. Thanks to
mattiasj-axis!

7.4

=====================

- Restructure the factory drawers, allowing different shapes in SVG image
factories as well.

- Add a ``--factory-drawer`` option to the ``qr`` console script.

- Optimize the output for the ``SVGPathImage`` factory (more than 30% reduction
in file sizes).

- Add a ``pypng`` image factory as a pure Python PNG solution. If ``pillow`` is
*not* installed, then this becomes the default factory.

- The ``pymaging`` image factory has been removed, but its factory shortcut and
the actual PymagingImage factory class now just link to the PyPNGImage
factory.

7.3.1

======================

- Improvements for embedded image.

7.3

====================

- Skip color mask if QR is black and white

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.