Skip to main content

Dynamsoft Barcode Reader SDK for Python

Project description

version python pypi

What You Should Know About Dynamsoft Barcode Reader

trial

Dynamsoft Barcode Reader SDK enables you to efficiently embed barcode reading functionality in your web, desktop or mobile application using just a few lines of code. Saving you months of added development time and resources, our SDK can create high-speed and reliable barcode scanner software applications to meet your business needs.

About Python Barcode SDK

The Python Barcode SDK is a wrapper for Dynamsoft C++ Barcode SDK. It comes with all the general features of Dynamsoft Barcode Reader, bringing convenience for Python developers.

Notice: Package Renamed and Updated

dynamsoft_barcode_reader_bundle is the successor to the dbr package, starting from version 10. This new version introduces significant architectural improvements and a redesigned API to integrate with DynamsoftCaptureVision (DCV) architecture, which is newly established to aggregate the features of functional products powered by Dynamsoft.

Version

  • 10.4.2000

Supported Platforms

  • Windows x64

  • Linux(x64, ARM64)

  • macOS (10.15+)

Supported Python Versions

  • Python3.12

  • Python3.11

  • Python3.10

  • Python3.9

  • Python3.8

Installation

pip install dynamsoft_barcode_reader_bundle

Supported Symbologies

  • Linear Barcodes (1D) :

    • Code 39 (including Code 39 Extended)

    • Code 93

    • Code 128

    • Codabar

    • Interleaved 2 of 5

    • EAN-8

    • EAN-13

    • UPC-A

    • UPC-E

    • Industrial 2 of 5

    • MSI Code

    • Code 11

  • 2D Barcodes :

    • QR Code (including Micro QR Code)

    • Data Matrix

    • PDF417 (including Micro PDF417)

    • Aztec Code

    • MaxiCode (mode 2-5)

    • DotCode

  • Patch Code

  • Pharmacode

  • GS1 Composite Code

  • GS1 DataBar :

    • Omnidirectional

    • Truncated

    • Stacked

    • Stacked Omnidirectional

    • Limited

    • Expanded

    • Expanded Stacked

  • Postal Codes :

    • USPS Intelligent Mail

    • Postnet

    • Planet

    • Australian Post

    • UK Royal Mail

Quick Start

from dynamsoft_barcode_reader_bundle import *

# Apply for a trial license: https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=pypi
license_key = "Input your own license"
image = r"Please input your own image path"
LicenseManager.init_license(license_key)
cvr = CaptureVisionRouter()

try:

  capturedResult = cvr.capture(image,EnumPresetTemplate.PT_READ_BARCODES.value)

  items = capturedResult.get_items()

  for i in range(len(items)):
     barcode = items[i]
     print("Barcode Format : ")
     print(barcode.get_format_string())
     print("Barcode Text : ")
     print(barcode.get_text())
     print("-------------")
except Exception as e:
  print(e)

Sample Code

https://github.com/Dynamsoft/barcode-reader-python-samples

Documentation

Contact Us

support@dynamsoft.com

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

Built Distributions

dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.12 Windows x86-64

dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-manylinux_2_28_aarch64.whl (16.6 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.3 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-macosx_12_0_universal2.whl (28.9 MB view details)

Uploaded CPython 3.12 macOS 12.0+ universal2 (ARM64, x86-64)

dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.11 Windows x86-64

dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-manylinux_2_28_aarch64.whl (16.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-macosx_12_0_universal2.whl (28.9 MB view details)

Uploaded CPython 3.11 macOS 12.0+ universal2 (ARM64, x86-64)

dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.10 Windows x86-64

dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-manylinux_2_28_aarch64.whl (16.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-macosx_12_0_universal2.whl (28.9 MB view details)

Uploaded CPython 3.10 macOS 12.0+ universal2 (ARM64, x86-64)

dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.9 Windows x86-64

dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-manylinux_2_28_aarch64.whl (16.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-macosx_12_0_universal2.whl (28.9 MB view details)

Uploaded CPython 3.9 macOS 12.0+ universal2 (ARM64, x86-64)

dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.8 Windows x86-64

dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-manylinux_2_28_aarch64.whl (16.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-macosx_12_0_universal2.whl (28.9 MB view details)

Uploaded CPython 3.8 macOS 12.0+ universal2 (ARM64, x86-64)

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000.tar.gz.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000.tar.gz
Algorithm Hash digest
SHA256 5a33dc410c621ad3f833f446f6da77aa62418dc5e60fb99b019a0153f2319ca2
MD5 7a6199686be942092d4bf2ef245abe80
BLAKE2b-256 d3db5568e587a57436ae841898dd071c9acd782bb3dcc8c88e972a58d6a2bea1

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 79edc045ae766aeeace31d219e6acf4bc39624458e265a68be612512c7b736ed
MD5 2b1cd5192343a667e844061bc395c653
BLAKE2b-256 ebaf544ca5129e84848b5769a115cc41c0fe02991d1b35ad51f77e2915fb8ab3

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5e93a18c5a5a9fbbd1530baab4dc5a097a0c0f82f81d37fdc2534491bc434863
MD5 97176e8a70570bb0b75cfee06b17f6c0
BLAKE2b-256 7f950ff26b90e3b08d1d5ebe001777b0253e87a1fc2df972866d3ff932cf92ef

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ec1a296fffbff90f7de225aeedb9930604c40ac80cc0073af36e6fbb5d0cb288
MD5 bdc472dc6c2d632fd92f0678b909c156
BLAKE2b-256 f1790421578173b0cadb58eebf7a7c22c7bba0cef8cf398e0d1dc2f1bc19843d

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp312-cp312-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 8b3c0584deedfe0935de664c96ea5ff60a204f8a41d039f3688775980bf19003
MD5 de0f531d574a5ba304efe0a08f625dcc
BLAKE2b-256 278d15df2ada1f019ee3ea90769f6f14df9f9ff27d35805ee563aa426335c21a

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 84279dae32eaa21af9d18fedf53ae4797047ae875052f94ff86a65de1ffbdbe8
MD5 62cd34ad88fec18ab3b6c8dbabe10180
BLAKE2b-256 eb1c3b49a3ee55db2da8c4edc7b2516be5ef1922a671ce7751c13b0008c02896

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 adc00b132ac3b3fe4d9db57fea6772fe6429df3c3b39f4ebff651d5a9b75221a
MD5 bfa2ba194d5e750342f043c1cae8275c
BLAKE2b-256 b63edd3973b61f5b4362eec4ebb83bf1329de87eafcb4f30e20f07b36847e7f5

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce9ebe6487aa33c1474b057804b37cb9b43e3cb1a58b44d712e3288a33dc0cce
MD5 c8516965fe484290f494141a0d56d3a4
BLAKE2b-256 29695847eec577de196c9de190bf8c5261be318691fcf210c5f51249cbbdba94

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp311-cp311-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 41b81c92a6d9215a7601a933ce8a500770ad9b12a41e5c5e93a2dccea1ebfb1b
MD5 54663621a055ea51418bb9338b6e1d90
BLAKE2b-256 5938893c52215e226da119dd9be6795c007ced1c7235ceab5551fb2a50be5c28

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8771574caee5c469ad67a3f45718b442d5efaf054e63cef63b8c61913bd73cf8
MD5 196493348b55d0fdc3ceae457e911735
BLAKE2b-256 0b1b01217df1349e6aca176940f888ddf9b779255f6e52bb027ba7395b1b1b0f

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b10504730e21f7a8c547afbf13e750bbb49e5154c59a26a2fa57f008ac11f05c
MD5 8a3d55676fbd1e87a2d4cc1fb8ed186a
BLAKE2b-256 3699670aae3f08bdca0768a29853d4bd24cf17a2e2ec6653476946753696b35c

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c49def9617dee5f4644c38e8801c65bbb6546c172d84b26b20314ef5043514c0
MD5 991a6ad3f8d9a83e4da9e780c8b1c411
BLAKE2b-256 223e05fbce71b6e9fcf649767e60b0a06155608cf93cf012fd5eecc6b30d1f81

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp310-cp310-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 bd61ddd3af91ca92a11cb7182f731f5c9eb94da80852986edb56c94399b4e1ea
MD5 38ce624ea0433cba46762aadd99a07e1
BLAKE2b-256 b7acdbcac1405c224bf562717ffbe75d4b2e1e7288190722ade61b030f8b36dc

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b6b62d60e3d7c540d19c6996dcc01e69ddc573928e7c4e21e39b43993b29b830
MD5 974077ba7618e628edf68a291f447efc
BLAKE2b-256 b72ce259af911488beb836c97434c74272f038e564f4a982ce47d5580dbe4f23

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cee321b1c16cdddfcde6d60a56675b46101c14232597f38029ac1eb0803ba132
MD5 249b50ceb38688e12b426ce9cf6f1b12
BLAKE2b-256 ba6dc11021390e7a3f5452a2e424c7df76b76504b65e9b5f196fb9c6e8e12082

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8cca42f333418c2fed79561290c83f70a00e72b5faf8854cf728eb62249bddca
MD5 ab886c3049f08187f19bd775f1fc38ac
BLAKE2b-256 b3fc338e6176f018827fd39ecc100d788b2bed4cedc50366ae05f492bd318706

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp39-cp39-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 206f20ea091f5ef27b494c4a14ed32cde34cbd52c571a4f676af73633dc9c0aa
MD5 80194750a8f40afc3e6571f33714048b
BLAKE2b-256 6b8abfd888884d1df75f20edc56340f9ccbd345450cc2f2e1b4709f1b6e25f98

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e9b0fcee31991b58697da546924e8ffde656e4c5228b559ef075fac3d8a5b2ba
MD5 76a3f53313771aec043ee43a82067f43
BLAKE2b-256 ec3bc457c338abb9254f877cf477cf540b455659e7bb909390052458a205681c

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 69f1cb58ac0a9d0de508679e56d1dcdfbd73e600f8bdc579184919c3487a22b6
MD5 8f7c130c69fc63cfb198fa34bce7d509
BLAKE2b-256 5e3327ce0eadb6c9759c47e8510ba6eb2a3c532d73ac719275bb36c4d7840075

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9641b9cb7f2d637a6be4a688917b6f1f5606896a0aae61a52db9bd1f2a371ad5
MD5 1592247047527cc81c2acbf96830ba5a
BLAKE2b-256 f581a95911ae02ecc3a0051db4a06ef6092f3b424c281e6c1dfafa606dcb1d28

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2000-cp38-cp38-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 c2fd5b1e0f0af877245dbdf552008d9bbc24af4fcd0bd5df8183f9cff6ff7ed1
MD5 2f9604b873bbf13f294a520c47fe8ca4
BLAKE2b-256 d1d462850f4f96f3c2521df8950ac71a307b44d2789334973f9d741668f16b8b

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