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.2100

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.2100-cp312-cp312-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.12 Windows x86-64

dynamsoft_barcode_reader_bundle-10.4.2100-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.2100-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.2100-cp311-cp311-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.11 Windows x86-64

dynamsoft_barcode_reader_bundle-10.4.2100-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.2100-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.2100-cp310-cp310-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.10 Windows x86-64

dynamsoft_barcode_reader_bundle-10.4.2100-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.2100-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.2100-cp39-cp39-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.9 Windows x86-64

dynamsoft_barcode_reader_bundle-10.4.2100-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.2100-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.2100-cp38-cp38-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.8 Windows x86-64

dynamsoft_barcode_reader_bundle-10.4.2100-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.2100-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.2100.tar.gz.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100.tar.gz
Algorithm Hash digest
SHA256 92b994472537aa5e1248e18643d2e757b8e23a809b3d8fe08db52632cfa2bb00
MD5 690cfcbde3e48e2f9326fbb4599f9dfa
BLAKE2b-256 37aa04e2997e71a242f8411e85eadbc2a743d7fee7ea7477c74d39ef7bb7bee8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0a8363ce287f124d66d95b29e422a092cb30756111e35e08d1b2c74c1a11577e
MD5 7c589c7308e94a0e90be2338b000c8fa
BLAKE2b-256 cd8ae7ea8f6de597e9b703f3335afcc8ca6bbc85447e451ce864d0bd0714f3b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b92faca436cee017cbc8cfcb9be47d184b5b55bef3b0300f40b477eb6ea34ac0
MD5 ac28eca48af39376aaa466f879de98a5
BLAKE2b-256 8d24705017bba2c10dc1c2dbedc39aad644cdc7c2cf2ce098b76cab7ea158a8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f11108e7ac9c0f9ee8d6feaa951c04dd4bacfc9cd66be53cabc831e684591af
MD5 daacf74bba0bdee07b1c8ee2f4e21bc0
BLAKE2b-256 6a4f9f3c875936b0923fc05a6330cdd6fe88f958acd042c22f79f7e51fd6f3a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp312-cp312-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 a00a3c048772405cd2eefd4cb7ff91bd0372079a6c595ec32e2c1ba0529ee293
MD5 90d85f064f9b1fe38105fc7ac41b4e52
BLAKE2b-256 6e11ae150bc84fa9911bd69b8ba047dcacc206736beb5fa7e57d5f4f1811aa66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 15aceb09c2ed5fdb1088d065293566e727185b68b0d996e2bd8df4b428b3ff8a
MD5 f9a503af53bbb316029945c2184ac03c
BLAKE2b-256 1b4a2a49927472ad4a7a39ba0f5658bed2d61c28ef019cb06436b6dfafe746a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e716ca98ca31fba3d62cdacb609da606194ca3d6fda13c8f97a9d6f7175fa866
MD5 e2af5edd491b9d1dd2655cb306e7c928
BLAKE2b-256 4fce1584e7392dfc35f1485f028685478ba75b3454d7c809e9809b2bdf190ed1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c21b83a361022dba25a85ed8f00237f193354a269367dfbdbe287c925357216
MD5 68720a57c38e7d8353eebd058cc70dc6
BLAKE2b-256 1285775f64e6fad60ed3acd285f43ec0f8fccdce75a12f6f81c2d17afb9e36a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp311-cp311-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 7b7eee64a38e5d95cf8326c2a3b6d184a22937e942f8206f32150d28c9e1bdf7
MD5 fc8d81b066eddc9f4723998612798085
BLAKE2b-256 8a71722feeae1201f6f8fd4266e1e5ad0a6afdfe10dd9b60684d70fea69eda9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6b747f048b5f56d2d8438034c59933363d5c752db0c55aee7c8349821817877f
MD5 609956c93843e8b16c699954387ea183
BLAKE2b-256 c9271d787ccc86f4846ff9cba0e903c3bca6c7b636c4b1c81d600b108f335263

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 90a8ccafab542853a09142d7ab5fa3920550ab6e6a5f1de6cd6e286408fa3a43
MD5 23862ddff09e6bbcb666c8a62f0f671e
BLAKE2b-256 807a29377999e423210cf49295ae0b9262d50655ed0aba1f8dc89cdd67ab052d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f260c1959858210f01b2277792ca2d9f0885a02b848d09d5a1feb615e2f986b8
MD5 c47182aa08a33425d0741b70f5e26848
BLAKE2b-256 98c8929a0a4785cce4fe129c3d037979e0faaa26f409f51c5d9e1693a92a8a2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp310-cp310-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 437b27dcf7659f19bbf07d9814ef7a5896b71aef32f42597a922644e50200a01
MD5 5d066a9e59d1aebcf6980670a0bb9dfe
BLAKE2b-256 cb3febaa6b6c16a13461dda5047d80093e06f727978519ffc066c2f0fe42ae34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ae3e6116cd6b24f08c1ddabeee81cc4e1ff336f1e7681220cf84e72e15d96dab
MD5 b1bf96105a9ba408c073d57ebc455c7a
BLAKE2b-256 e68b224b6de333ad7c3c3271b0d2045cb429b776548b899e269a7671ab09a2fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 57d8c1e02d6e3c4dae05af5612ccda9148a2ac24bbbeb49c76be5b1a2c496f06
MD5 55cd2650f6445c2ba1a924b8ac713b19
BLAKE2b-256 7afb09accaded10e740501776e6111f9636bef45f506eb524d98c5581d2a105f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6338a2c53cda7302ad8233275c22a76415ef45ce44f4d4fae24a907e64579807
MD5 ac6289d32718a854fd58b60f98701a8a
BLAKE2b-256 94ef36f843fd9c74bdfb70d4f2091bc6cb8b7a0d39455e124eb832af061a2cba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp39-cp39-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 9c3dbf6f9617c5739b025e9537caaa73067bc4976c2f44d49c02301603ef3697
MD5 2e87f219d46f93ad395563af71693555
BLAKE2b-256 6bfa0dc8822a30af29802eaa35687d27b95ddb669c006e303e5f76ee04fb3f50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3193a3bbddbe43eec0cb166881dfe23c55abc0532156dae32f906626e9b68493
MD5 578e9a9e0ff4d2d146a062c70acb9112
BLAKE2b-256 3500f2ca16e2cdabd334dd90b7e214f90edac4d161d404d33fffe2beb5003296

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dabe389daea2bbae54b004d51180d203ef6f11cf57d70965db637c8b5e07ad95
MD5 82fc28516037124452cad70323f10dc4
BLAKE2b-256 6ba0cf9c47c137e66f699593933422217cb9049570909e4c59bf01531158ec45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fbd678d2e0e3d16a2732691c4983f276cde3e9e4c7996412cf8ef4d521ea85da
MD5 e662c8841f03967316493e9cdf056d4b
BLAKE2b-256 7d7a2b4da0fb031a85bdc1bb2bfcb576e45c84d37dda4750101f7b837c66ba2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.4.2100-cp38-cp38-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 77bf03cb163ef1324270ead008098c83f60d6e58e8cbb3e983a7e5163000145e
MD5 fbf48fb65ab2863a33f940788c7db649
BLAKE2b-256 b0cb9f4142a3ec41c84da1e648bbc5ffb312537199bceef0538083d32c4808d1

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