Skip to main content

Barcode scanning SDK for Python

Project description

version python pypi

What You Should Know About Dynamsoft Barcode Reader


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.


  • 9.6.20

Supported Platforms

  • Windows x64

  • Linux(x64, ARM32, ARM64)

  • macOS(10.15+)

Supported Python Versions

  • Python3.6

  • Python3.7

  • Python3.8

  • Python3.9

  • Python3.10

  • Python3.11


pip install dbr

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 dbr import *

# Apply for a trial license:
license_key = "Input your own license"
image = r"Please input your own image path"


reader = BarcodeReader()

   text_results = reader.decode_file(image)

   if text_results != None:
      for text_result in text_results:
            print("Barcode Format : ")
            print("Barcode Text : ")
            print("Localization Points : ")
            print("Exception : ")
except BarcodeReaderError as bre:

Sample Code


Contact Us

Download files

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

Source Distribution

dbr-9.6.20.tar.gz (80.9 MB view hashes)

Uploaded source

Built Distributions

dbr-9.6.20-cp311-cp311-win_amd64.whl (10.0 MB view hashes)

Uploaded cp311

dbr-9.6.20-cp310-cp310-win_amd64.whl (10.0 MB view hashes)

Uploaded cp310

dbr-9.6.20-cp39-cp39-win_amd64.whl (10.0 MB view hashes)

Uploaded cp39

dbr-9.6.20-cp38-cp38-win_amd64.whl (10.0 MB view hashes)

Uploaded cp38

dbr-9.6.20-cp37-cp37m-win_amd64.whl (10.0 MB view hashes)

Uploaded cp37

dbr-9.6.20-cp36-cp36m-win_amd64.whl (10.0 MB view hashes)

Uploaded cp36

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