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 details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 macOS 13.0+ ARM64

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

Uploaded CPython 3.11 macOS 12.0+ x86-64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 macOS 13.0+ ARM64

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

Uploaded CPython 3.10 macOS 12.0+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 macOS 13.0+ ARM64

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

Uploaded CPython 3.9 macOS 12.0+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

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 details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.8 macOS 13.0+ ARM64

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

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 details)

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 details)

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 details)

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 details)

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 details)

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 details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

File details

Details for the file deqr-0.2.2.tar.gz.

File metadata

  • Download URL: deqr-0.2.2.tar.gz
  • Upload date:
  • Size: 106.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1039-azure

File hashes

Hashes for deqr-0.2.2.tar.gz
Algorithm Hash digest
SHA256 7debdc401cb1dd576c00e53659a4bfb61a2a32a8a519a2dabe60924435fb0e1a
MD5 2d763ecba5cfb7552c82c367da40d78e
BLAKE2b-256 bd2499ab6dec77caf87ebdc12f00d34b450319dc25720114e65e35d44444f851

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: deqr-0.2.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 748.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10

File hashes

Hashes for deqr-0.2.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 30bc6a7d4af8a41774471c0c96f3aa629c5e21f97e3f67ec29dbeaa17348f02a
MD5 9c177682279462a52cb1a00a25db9bac
BLAKE2b-256 43c5b8e088ff7bee467ca0c0961c28ae2ac647d8ac4ded17fb8a3cfdb14e1e7b

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4291371c1b8ddc9e49dbca924455b0b140702cbedc26dc7bb410ffe5050ec2ef
MD5 f23b1170e17d07a97b6f629dc64a082e
BLAKE2b-256 415fbdc7d3b5fb5a102f99f44c023060b7ba47869be74de3f4734e9fd350ef7d

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp311-cp311-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 5979e02582467d96952e0c05e691ad43129e68eff8de7c9c9413c5420516c93e
MD5 adaf148a5bfb661e1fb70db0e1b80d89
BLAKE2b-256 30d70f818d81b5e5bfe7aa5cdc5e484aa433afda703ea07485ed7146f1fee957

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: deqr-0.2.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 747.4 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.11 Windows/10

File hashes

Hashes for deqr-0.2.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cd979baec4505cfe27a75873688c2b8e1f5bc641504b969502b8e7ace014d3b5
MD5 f05742d9f49719b8eb1d83fb940f6b19
BLAKE2b-256 ef15d0f1f372c5a22f489ec517b9c5c5fac4c2c3d1af505be4f41c556c307b42

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b0653a2372f4f5f1fe00882ecfe3c226d5bd3eebce99b0b1e6f1baa379f93431
MD5 4888a79fd48effff5492668c806a65c6
BLAKE2b-256 26d88b05107733c62ddf381fe03633cbea73530211f27f9284c015c99ad177d4

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

  • Download URL: deqr-0.2.2-cp310-cp310-macosx_12_0_x86_64.whl
  • Upload date:
  • Size: 794.4 kB
  • Tags: CPython 3.10, macOS 12.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.11 Darwin/21.6.0

File hashes

Hashes for deqr-0.2.2-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 8fac8126d9bedf2964e394ab08e223868ab66c22c3fc92461f1a596f0ec253a6
MD5 7814a6a21de111bd49c96a3c9491ef65
BLAKE2b-256 514d6e0e4412e883a8b1bf0e571c857d574bd164d32cf60aa86456725e075573

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: deqr-0.2.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 748.4 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.13 Windows/10

File hashes

Hashes for deqr-0.2.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 aac9e50f9362aaff9a86dc25e20411f10538d61427ca419f628faac525b4003b
MD5 adee94238076e9ca7a8939ad38053044
BLAKE2b-256 c340197742c1ae7b7118ebf9bf2e3eee538b982fa2c0a0365b3b7f3b7ebee5e4

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ea95948c21819da87cd235d60042f7f79e85bc79091e3a836f43796895663773
MD5 4aa2a1c94998e99c28986a34bdb11d49
BLAKE2b-256 204929ad151138d728fd28477d8f802eccc13a704e2533f498e0c2722ab9016f

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

  • Download URL: deqr-0.2.2-cp39-cp39-macosx_12_0_x86_64.whl
  • Upload date:
  • Size: 795.5 kB
  • Tags: CPython 3.9, macOS 12.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.16 Darwin/21.6.0

File hashes

Hashes for deqr-0.2.2-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 eb25c0eaa5c71de8adcd87f11361dca6b1dc5c26c28a4df2eb2006c01cab66d3
MD5 ae3fafdf86e3b663b3cdc8409f5d789a
BLAKE2b-256 bc28354f73a232d6ceabce4d70e6215865d6e8d5c2b0c2e2cf5ba382e9a396b6

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: deqr-0.2.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 748.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.10 Windows/10

File hashes

Hashes for deqr-0.2.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6021c71074d9c7cf20aa2c02593783369b868940b51b19735d75ea7e4a59da9f
MD5 066d1c5b6e9825e0b8e702b2d085ee31
BLAKE2b-256 e759c948a5a52095e7f85e07a712cf25cb9069a0e31cae914d9b6d97716d310e

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: deqr-0.2.2-cp38-cp38-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1039-azure

File hashes

Hashes for deqr-0.2.2-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db582e1dc45aa6ecb0346663cb40b75d60f9e6b41a4546a853268c9bc538fe0c
MD5 226d215370c726a1318e51f2ce2159cf
BLAKE2b-256 c769df70177e93c2121e056ca5d37897892cce3ad87cf1b518f84b03c0b9fddb

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp38-cp38-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: deqr-0.2.2-cp38-cp38-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.8, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.10.104-tegra

File hashes

Hashes for deqr-0.2.2-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6d8cfa14e0f1d29c773442fb753a867177861d1a494e1f05aceb34bdb5803be8
MD5 8fb0b239fedb372bbaf6e11eccdabe78
BLAKE2b-256 8b8c4cc83955e163c96b11513bf9a57de3cf1811fd52f4dd21d4d129415c1be4

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp38-cp38-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-cp38-cp38-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 04f0ad1130deab78f29482b3d02c5205b0ea13a9c8d622d8b9e81ed38f32c5da
MD5 5168c5d3414b3c372116e88ea8fe320c
BLAKE2b-256 973fbd498d9dd49251143027ad004e7eebd92181ac3d2ee6fb6dc9f61325d72b

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-cp38-cp38-macosx_12_0_x86_64.whl.

File metadata

  • Download URL: deqr-0.2.2-cp38-cp38-macosx_12_0_x86_64.whl
  • Upload date:
  • Size: 795.6 kB
  • Tags: CPython 3.8, macOS 12.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.16 Darwin/21.6.0

File hashes

Hashes for deqr-0.2.2-cp38-cp38-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 f537084e61b95fbf44ee325a3c791778489f92788c811ed8c61319715a359546
MD5 5eccdce6271076ffe8133f17fbf50d9a
BLAKE2b-256 2c1d97461017cbdb61430deaf836b82f168f25f0c1f015e68c97b41d22e822f5

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b34826a7ed5b733f80ae5397b72fbacb237f3a985869b636e3a1f3672d18acf0
MD5 69e3542c8b88028e6420b4f3142c03b6
BLAKE2b-256 ed01a8d31abfc1bf6d763f798475d98117870edaad65152a79659bb729f06c65

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 306ac1d612c919e8c1b606b3bb1550fe08fc5a6a05fd688b4f03054bfbf0c4c9
MD5 60e1a6fcece8dfc30300cf01185438e1
BLAKE2b-256 8c07953eff68452a56aa4d23e42ebb329f93979101d2f63bf15402902d47d67b

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 143eef2ec00dc87f41b9a96eb883795ea6b14f464b53890f10eae48d9a97dd4c
MD5 f1928cba28e68b11da6bd636df3c5026
BLAKE2b-256 760779f2bfdbddb3afe9987dc503afddb4dd77a3fb4b4c981e2fe06d54b3ddaf

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bb059fa2cab6c80f1b8d4a639f3600fe6d5e83248709ef92158449b59c6a9ae3
MD5 f8dff5047ad71c719b8ac49f17f9e76c
BLAKE2b-256 ee73362975d6676c6990d5293a4fc2e0a50db536bae269d1ed066a3babfc3cbb

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-1-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7282a0aa8ee606e6ae9999814a554b5d7ec600fd18d5f5946ede681c39eeccd7
MD5 f2999f15c17f7fa36322bfc52357af82
BLAKE2b-256 702ffb87881baf13c6b589c3f6cdb9d45d2fa63efe3355bfe8d397281308755c

See more details on using hashes here.

File details

Details for the file deqr-0.2.2-1-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for deqr-0.2.2-1-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ebd300d73eb089efa840e9d6ce16161ee4031acca4a76b0d732fd42ec37a5fa0
MD5 6bbbb8537d0567f19e6e8a84b203b138
BLAKE2b-256 8ca26ee2b6014d8e7f5c8e03646e480e9d27bd03e2e06656a6889a36074a28f1

See more details on using hashes here.

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