Skip to main content

qr code decoding library

Project description

deqr

A python library for decoding QR codes. Implemented as a cython wrapper around two different QR code decoding backends (quirc and qrdec).

Install

pip install deqr

Documentation

Changelog

[0.2.2] - 2023-06-17

Added

  • packaging: pre-built Python 3.11 wheels (7980904b)

Fixed

  • Adapt pyproject.toml to more recent poetry-core so that the source package should work again (58a8c77b)

Changed

  • Update quirc to v1.2 (9918646d)
  • Build dependencies: update cython to 3.0.0b3 and poetry-core to >=1.6.0,<1.7.0 (poetry-core is pinned to a narrow version range to hopefully avoid future breakage) (a625da32, 58a8c77b)
  • Don't package dependency source files into bdists (2bc4a61f)
  • Linux binary packages are now built to the manylinux_2_28 standard due to the manylinux_2_24 container being deprecated (9b6e42e6)

Removed

  • Remove use of poetry-dynamic-versioning from the build process. It's convenient, but too flaky. Maintaining the version information in two places is not an unbearable maintenance burden, and CI can check for this (5ea9a83e)

[0.2.1] - 2022-01-22

Added

  • packaging: distribute Python 3.10 wheels (034f14b3)

Fixed

  • Fixed the sdist so that source-based installs work (note: this was later broken by a Poetry update) (b84b3716)

[0.2.0] - 2021-06-28

Added

  • Documentation. Things are now more documented than ever before.

Changed

  • QRdecDecoder now produces bounding box corners in clockwise order.
  • [BREAKING] Both decoders try to convert decoded data to reasonable types by default.

Fixed

  • binarize.binarze is now callable from Python code.
  • Decoding codes from PIL and bytes objects now actually works.
  • The sdist now contains the dependency code so it can be built.
  • Quirc decoding failures are now actually handled (by skipping them).

[0.1.2] - 2021-06-16

Added

  • support more image sources, including PIL and bytes objects.

Changed

  • package: drop numpy dependency by trying to be clever
  • decoders: add image binarization to improve decode rate.

[0.1.1] - 2021-06-06

Added

  • decoder.qrdec: expose qr code mask type
  • decoder.qrdec: compute geometric center of qr code
  • decoder.quirc: compute geometric center of qr code

[0.1.0] - 2021-06-04

Added

  • Basic QR code decoding functionality

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deqr-0.2.2.tar.gz (106.2 kB view hashes)

Uploaded Source

Built Distributions

deqr-0.2.2-cp311-cp311-win_amd64.whl (748.7 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

deqr-0.2.2-cp311-cp311-macosx_13_0_arm64.whl (757.1 kB view hashes)

Uploaded CPython 3.11 macOS 13.0+ ARM64

deqr-0.2.2-cp311-cp311-macosx_12_0_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.11 macOS 12.0+ x86-64

deqr-0.2.2-cp310-cp310-win_amd64.whl (747.4 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

deqr-0.2.2-cp310-cp310-macosx_13_0_arm64.whl (755.9 kB view hashes)

Uploaded CPython 3.10 macOS 13.0+ ARM64

deqr-0.2.2-cp310-cp310-macosx_12_0_x86_64.whl (794.4 kB view hashes)

Uploaded CPython 3.10 macOS 12.0+ x86-64

deqr-0.2.2-cp39-cp39-win_amd64.whl (748.4 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

deqr-0.2.2-cp39-cp39-macosx_13_0_arm64.whl (757.1 kB view hashes)

Uploaded CPython 3.9 macOS 13.0+ ARM64

deqr-0.2.2-cp39-cp39-macosx_12_0_x86_64.whl (795.5 kB view hashes)

Uploaded CPython 3.9 macOS 12.0+ x86-64

deqr-0.2.2-cp38-cp38-win_amd64.whl (748.5 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

deqr-0.2.2-cp38-cp38-manylinux_2_28_x86_64.whl (2.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

deqr-0.2.2-cp38-cp38-manylinux_2_28_aarch64.whl (2.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.28+ ARM64

deqr-0.2.2-cp38-cp38-macosx_13_0_arm64.whl (757.2 kB view hashes)

Uploaded CPython 3.8 macOS 13.0+ ARM64

deqr-0.2.2-cp38-cp38-macosx_12_0_x86_64.whl (795.6 kB view hashes)

Uploaded CPython 3.8 macOS 12.0+ x86-64

deqr-0.2.2-1-cp311-cp311-manylinux_2_28_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

deqr-0.2.2-1-cp311-cp311-manylinux_2_28_aarch64.whl (2.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ARM64

deqr-0.2.2-1-cp310-cp310-manylinux_2_28_x86_64.whl (2.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

deqr-0.2.2-1-cp310-cp310-manylinux_2_28_aarch64.whl (2.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ARM64

deqr-0.2.2-1-cp39-cp39-manylinux_2_28_x86_64.whl (2.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

deqr-0.2.2-1-cp39-cp39-manylinux_2_28_aarch64.whl (2.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page