./graphics/py-qrcode, QR Code image generator

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.0, Package name: py312-qrcode-8.0, Maintainer: pkgsrc-users

QR Code image generator in Python. This package uses Pillow, which is
recommended by upstream, instead of the default Python Imaging Library.


Required to run:
[devel/py-setuptools] [textproc/py-lxml] [graphics/py-Pillow] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 41.741 KB

Version history: (Expand)


CVS history: (Expand)


   2024-10-14 15:50:36 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-qrcode: updated to 8.0

8.0 ( 27 September 2024)

- 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
   2024-01-20 17:17:19 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-qrcode: add missing tools
   2024-01-06 10:24:27 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-qrcode: updated to 7.4.2

7.4.2 (6 February 2023)

- 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 (3 February 2023)

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

7.4 (1 February 2023)

- 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 (1 October 2021)

- Improvements for embedded image.

7.3 (19 August 2021)

- Skip color mask if QR is black and white

7.2 (19 July 2021)

- Add Styled PIL image factory, allowing different color masks and shapes in QR codes
- Small performance inprovement
- Add check for border size parameter

7.1 (1 July 2021)

- Add --ascii parameter to command line interface allowing to output ascii when \ 
stdout is piped
- Add --output parameter to command line interface to specify output file
- Accept RGB tuples in fill_color and back_color
- Add to_string method to SVG images
- Replace inline styles with SVG attributes to avoid CSP issues
- Add Python3.10 to supported versions
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:47:26 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:13:27 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Remove SHA1 hashes for distfiles
   2021-03-10 19:49:07 by Adam Ciarcinski | Files touched by this commit (8)
Log message:
Use Pillow as versioned dependency