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

Supported Platforms

  • Windows x64

  • Linux(x64, ARM64)

  • macOS (10.15+)

Supported Python Versions

  • Python3.13

  • 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

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

Uploaded CPython 3.13 Windows x86-64

dynamsoft_barcode_reader_bundle-10.5.2100-cp313-cp313-manylinux_2_28_aarch64.whl (17.0 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.5.2100-cp313-cp313-macosx_12_0_universal2.whl (29.1 MB view details)

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

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

Uploaded CPython 3.12 Windows x86-64

dynamsoft_barcode_reader_bundle-10.5.2100-cp312-cp312-manylinux_2_28_aarch64.whl (17.0 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.5.2100-cp312-cp312-macosx_12_0_universal2.whl (29.1 MB view details)

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

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

Uploaded CPython 3.11 Windows x86-64

dynamsoft_barcode_reader_bundle-10.5.2100-cp311-cp311-manylinux_2_28_aarch64.whl (16.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.5.2100-cp311-cp311-macosx_12_0_universal2.whl (29.1 MB view details)

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

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

Uploaded CPython 3.10 Windows x86-64

dynamsoft_barcode_reader_bundle-10.5.2100-cp310-cp310-manylinux_2_28_aarch64.whl (16.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.5.2100-cp310-cp310-macosx_12_0_universal2.whl (29.1 MB view details)

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

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

Uploaded CPython 3.9 Windows x86-64

dynamsoft_barcode_reader_bundle-10.5.2100-cp39-cp39-manylinux_2_28_aarch64.whl (16.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.5.2100-cp39-cp39-macosx_12_0_universal2.whl (29.1 MB view details)

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

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

Uploaded CPython 3.8 Windows x86-64

dynamsoft_barcode_reader_bundle-10.5.2100-cp38-cp38-manylinux_2_28_aarch64.whl (16.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ ARM64

dynamsoft_barcode_reader_bundle-10.5.2100-cp38-cp38-macosx_12_0_universal2.whl (29.1 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.5.2100.tar.gz.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100.tar.gz
Algorithm Hash digest
SHA256 400caa1aa8a13c870eee27d56b9dea205d8a75eab57b74ecd4cb65c290cb0244
MD5 34d5fd4cfe293f47a25a07758233d782
BLAKE2b-256 1aa55b7dbc116f1f5c77882f86f38b2906177cf71c06625b7bbcdb201e3a0709

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.5.2100-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 eccfbdb2b60e8f7ac3869d3c3dc2a5cb19a358457447c37304a42813b85165ce
MD5 6905aae55e59291df18738d704561b93
BLAKE2b-256 719ef9603f822f660b0fd4926ec718d4c87cc71fa74ba1eedf6448d3e46cc583

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.5.2100-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9fdd35f489f210396db65d236bd6e04a3b2f3b4de40d25132e642ae535a867c9
MD5 543f81ac7ef89ac4d1761cb13950cf3a
BLAKE2b-256 0792eba6b576426674fae31c5f7540596283e339300136cf0b201d569e4928e1

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.5.2100-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 08ce37ec046cda922a5d176179ce5112f4d180248d92442d482b32b47270dee7
MD5 c0e8f23738e31d84748a0993d4e02b2b
BLAKE2b-256 6c7188b448714454bf2e4971390e1154b30124a541ce5ccf2e26852d04e24410

See more details on using hashes here.

File details

Details for the file dynamsoft_barcode_reader_bundle-10.5.2100-cp313-cp313-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp313-cp313-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 c0bc62a38535d8bdacfcc152940fcdbc4bc799931b0f9ff8359c6435fd0a32a4
MD5 187a096278de8e5249e23667d47f4abc
BLAKE2b-256 5680470c62744c10207acefe68ba7c2bbdb12d8f127ea83421949684b034ecbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8f60375b6051c1f76dbb51a3f69aa08cbda43bfe774f01f59bb415cefd441387
MD5 7877420fe65873a89317841b92e6d31b
BLAKE2b-256 0692e99a21ebc89714e17b1cf8013a81660f6123aa0be3faeb33355b7401abab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9b017d5e14999b153f067249d3aa0829a06ca75969c5e20d99947185c824f15d
MD5 a0590772d525b1f2b7cd1da716fb3c62
BLAKE2b-256 79227024b25d3acfbd3a71a089239665580e25920a1c25f5653100203d46f81b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6ae469e3fc5d13d6a310185410c4313746e94dd95a9651dc067e01ae46864e07
MD5 2761290f9b418b47ea8e311d55f263a2
BLAKE2b-256 6badee51310d94aa197019faf1216403507180c1d8a128f057c5f8f6e58b95c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp312-cp312-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 b87bc3d5a4d9c90ca871e4a6d58c36d0f41d08e0f5b3daf2bcdf04d62e530283
MD5 7171a4bc899726e6f78badca2ef72775
BLAKE2b-256 068bd5a5ceef75ff2c6c55fc5c55b0c5d12f70db6c33fad07415f861b7ed0134

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5f0aa88326d2e5a5998e895cfc619df1d662f82d14a79b88b690c6b5ec453ade
MD5 d98e4c63013606f91eae73c5455f6481
BLAKE2b-256 122fa11ea777da86ffce3291d2f7b4fc64007285a90742182be763f198b24d2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e8a657913a5a5787c38ef524354ea7389fc96e122469f5e50dbd3ff4dc791d2b
MD5 bef12c8a8a4b5be4c1e30c17d81f38ea
BLAKE2b-256 e43441c15de938be88bfbc0ae776f5066af6484d9d9ba4c323994253375f9387

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d395b7a2c25ec8442602d8a32e7fa46701767c6a9148a2f3c026fd77f1b8fa7
MD5 026d7476e34176addb496a8cad107196
BLAKE2b-256 0cb2d0dca0d5804cb95e2caba8eb52ef9443a13ae7936d7bb28d4096c3fa7ed4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp311-cp311-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 12921feae95e390eb0443f5d8c7170805b7eea0489453d71a8a1cd79e0a7793f
MD5 65d3663f73199c85dc7428ccb0902d59
BLAKE2b-256 8836fa7834aa837ac489c5b92e5fb987778619be20c236a617e365afdbe68ddc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 89302582e0bafef24c449b4921a4eeca047186714e062d75abd7d444bcb26ef0
MD5 3078a1c20f40374720d34ebc963ebfc8
BLAKE2b-256 a4011da0a6358d1bcbd673be8d887d0915fb43f85fd6348911696ca9cb844206

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3654922bf0a2123eda4022dbc131333ee1faa1a10e2a6878ce7b57c73a2cb6a2
MD5 e0131c8d22b935a12066e245b51a9e43
BLAKE2b-256 b24b334aa6b9568b6c4d8c0b4b70e505c88fd60b40cf0450404ccb31bb40e17e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0b902bb3e2383e72f757dafb4507a89b6a3ce80b78b544a44b58f118ead36dc1
MD5 e99740b37a4950839a4766143685c2df
BLAKE2b-256 d71c186e9791d16da5944be8ed90a18ac8e981d634ba3bebd465a771323bb720

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp310-cp310-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 860c451e927ae3c0bd873be8ec6c23fd95934e1408601d6a9b8afe7a54ca69f7
MD5 c7dc298d678ac070ac30158176c0ae3e
BLAKE2b-256 f5deae561507a8dc6fd8b81721c91ba2d0ac2e931df5168f9431598257bbb0dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 43ab4769262c9ede6936902fc3eaf77761c434f3dfa4ec5948d3ab4f6e7272a7
MD5 b4de6960fd5ab2e641320700c0d90c9e
BLAKE2b-256 16f5a5d32729fe146e040a766834590f886247917b8beb0e4010f9fc3315844b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 97390c7a8b982b1bcb64525555885b13a2f49082d9b7e38b686a5fee4b0f94b4
MD5 7b0c599f6485bc93ab5767a8d3c425ee
BLAKE2b-256 4707405aa9c3293ab54689b48865e8ee7180408bf5eb733a1d866db32b2217b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c33148b6218c79e651205026c8552f371fd236b9bdb294d44728fb855ea2808f
MD5 77c2e8c5d16aa59232757ae1a50eed98
BLAKE2b-256 72490df67be8808f0dd81fa92b477966eb46a5fccba5af6f6fc719b678fd7221

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp39-cp39-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 19edf1e96f5ade5bc935beb61abb9e5077ed00cb75286bf3af188335d588345c
MD5 e225aae1806e8d894fd58e2e2a1ef8c4
BLAKE2b-256 4fd3d26316f5dd7787f7c0c0f83cdcb28c8007578b6657e0dd80a8322360af2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b64266df0e62a38c387ae3522e84a7ece7b88d58f0d4b6a3bae144399d55fcb8
MD5 b160cfcd5b82608be81f5b1e2c4a0d99
BLAKE2b-256 dc4f8d3488880bc7c43e708e4d8ac93cceedab84eb57ab14c577e05ef778f6bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 15817fd75ee968e7e53bf63223be705cf7206f58bb6cd7a41d981839b895188d
MD5 de18f61b9d42a4def9b5e74a8c87b42f
BLAKE2b-256 9fbedde3ab464bd34e7941a9838f4876c0085f5c79154558cbf92a3fa4b56049

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f21f49cd320456ae7dabbd5f59b822403a62a919b8ceba3f86af380d3751c1de
MD5 23fb86acb33cd5663cbfc09648f80ea9
BLAKE2b-256 a4d48ac05b075ed8fdf083ee2ad058d86a6d656393b8183a3865f3cf25f71ca5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamsoft_barcode_reader_bundle-10.5.2100-cp38-cp38-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 1ba19e969ad374cfafe0ec08251acd9377eecd1cfae5a9505161d2b3f66815b3
MD5 0e7451ac0d68caefdc35c9b2c5f62429
BLAKE2b-256 56de5a34f31f5b70db8a7c48a08b539c7ccd4da6238205db5ca2f9729fb1905e

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page