Skip to main content

Barcode Generation & Scanning Library for Python

Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Aspose.BarCode for Python via .NET is a barcode Python library for barcode generation and scanning to be used in a Python application. The barcode library allows fine-tuning of barcode appearance aspects like barcode size, captions, alignment, colors, font and its size. The library supports wide range of scanning presets for optimal trade-off between recognition speed and quality.

What is Aspose.BarCode for Python via .NET?

Aspose.BarCode for Python via .NET supports more tan 40 different barcode symbologies. Aspose.BarCode for Python via .NET supports various file formats such as JPEG, SVG, PNG, EMF, etc. You can generate high-quality numeric, alpha-numeric and 2D barcodes, also you can tune the appearance of the generated barcodes such as codetext, captions, dimensions, aspect ratio, and more.

Aspose.BarCode for Python via .NET also assists you in barcode scanning in an efficient manner via internal multi-threading. It can recognize barcode symbologies and fetch the encoded text. You can also detect several symbologies present in a single picture or perform barcode recognition on a page with mixed text and images.

Barcode Generation Features

  • Generate barcode images programmatically.
  • Create a 'QR' and 'MicroQR' Barcode, set error correction level, and encoding mode.
  • Create Datamatrix barcodes with default or custom encoding mode.
  • Enable checksum for the barcodes of applicable symbologies.
  • Supports error correction for various types of barcodes.
  • Adjust image size of 2D barcodes and set aspect ratio.
  • Enable image border, modify barcode image border width and style.
  • Detect Unicode encoding of barcodes.
  • Hide codetext that is too long or reduce the font size of codetext.
  • Codetext can be set as per the associated symbology type and the outbound part is truncated.
  • Colorize barcode, code text, barcode background, barcode border, and caption.
  • Specify size unit for the barcode image in document, inch, millimeter, pixel, and point.
  • Lots of other barcode processing features.

Supported Symbologies for Barcode Generation & Recognition

  • BarCode Supplement
  • BooklandEAN
  • Codabar
  • Code11
  • Code128
  • Code39 Extended
  • Code39 Standard
  • Code93 Extended
  • Code93 Standard
  • Datamatrix
  • Deutsche Post Identcode
  • EAN128
  • EAN13
  • EAN14(SCC14)
  • EAN8
  • Interleaved2of5
  • ITF14
  • Matrix 2 of 5
  • MSI
  • PDF417
  • Planet
  • Postnet
  • PZN (Pharma Zentral Nummer, Pharmazentralnummer barcode)
  • QR
  • Han Xin
  • SSCC18
  • Standard2of5
  • UPCA
  • UPCE

Supported Symbologies for Barcode Generation Only

  • Australia Post
  • Aztec

Read & Write Barcode Labels

JPEG, TIFF, PNG, BMP, GIF

Save Barcode Labels As

EMF, SVG

Generate QR Barcode in PNG Format

You can execute the below code snippet to see how Aspose.BarCode API works in your development environment. You may also check the GitHub Repository for other common usage scenarios.

from aspose.barcode import generation

gen = generation.BarcodeGenerator(generation.EncodeTypes.QR, "ASPOSE")
gen.save("output.png", generation.BarCodeImageFormat.PNG)

Hide Barcode Label Text using Python

You can customize properities of generated barcode with Aspose.BarCode for Python via .NET. The following example shows how to hide the barcode text using Python:

from aspose.barcode import generation

gen = generation.BarcodeGenerator(generation.EncodeTypes.DATA_MATRIX, "ASPOSE")
gen.parameters.barcode.code_text_parameters.location = generation.CodeLocation.NONE
gen.save("output.png", generation.BarCodeImageFormat.PNG)

Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Release files for aspose-barcode-for-python-via-net 26.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for aspose-barcode-for-python-via-net 26.8
File
aspose_barcode_for_python_via_net-26.8-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
aspose_barcode_for_python_via_net-26.8-py3-none-win32.whl Python 3 none Windows x86-32 Details
aspose_barcode_for_python_via_net-26.8-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details
aspose_barcode_for_python_via_net-26.8-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
aspose_barcode_for_python_via_net-26.8-py3-none-macosx_10_14_x86_64.whl Python 3 none macOS 10.14+ x86-64 Details

Total release size: 227.3 MB

Release files / aspose_barcode_for_python_via_net-26.8-py3-none-win_amd64.whl

Download URL aspose_barcode_for_python_via_net-26.8-py3-none-win_amd64.whl
Size 43.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b97c69d544590a5086bb267a737e4dbea05afcfb28724296889e53b4adbac564
BLAKE2b-256 checksum
How to use checksums
367edbc285a10d96ae9cdffe5f48cb96b6f06dc9441b7c073122aedf825e0eaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / aspose_barcode_for_python_via_net-26.8-py3-none-win32.whl

Download URL aspose_barcode_for_python_via_net-26.8-py3-none-win32.whl
Size 37.9 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
a223ba8c2533d899cc85a90c132f5a5d8c0d4dd96dca41597dc9c2c95367e08c
BLAKE2b-256 checksum
How to use checksums
7ff1851e5abb290b005b67c6141e89a8fc450ddd3297669f3c12af39ffdd2e6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / aspose_barcode_for_python_via_net-26.8-py3-none-manylinux1_x86_64.whl

Download URL aspose_barcode_for_python_via_net-26.8-py3-none-manylinux1_x86_64.whl
Size 53.6 MB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c220a6c4680df84e1d1a7e1874d58d3af1750bf6dc28a752e415671622f397cb
BLAKE2b-256 checksum
How to use checksums
57f91f927dcd6ead6a5ac19b6ec5a8461a911dfb961ee79a34dce8e15e2c433d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / aspose_barcode_for_python_via_net-26.8-py3-none-macosx_11_0_arm64.whl

Download URL aspose_barcode_for_python_via_net-26.8-py3-none-macosx_11_0_arm64.whl
Size 42.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2df8e451a8a20e1ff4e4cef6da04a6be512fb9baf2186d161b8ce73e87701a81
BLAKE2b-256 checksum
How to use checksums
3fdc0a6c722a3d6ef54956a50cf6fd75fb98248e0eca066ff0e7a1749c9e0361
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / aspose_barcode_for_python_via_net-26.8-py3-none-macosx_10_14_x86_64.whl

Download URL aspose_barcode_for_python_via_net-26.8-py3-none-macosx_10_14_x86_64.whl
Size 49.7 MB
Tags Python 3 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
bd480e7b1f9eb147702311db4fc8c44a1fbb999055d61e82a388ef9a91f45312
BLAKE2b-256 checksum
How to use checksums
440572b452976803bfda59cf29792471a0328dcac1c48543123664fdccede9b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

26.8 This release

5 release files

26.7

5 release files

26.6

5 release files

26.5

5 release files

25.12

5 release files

25.11

5 release files

25.8

3 release files

25.7

5 release files

25.6

5 release files

25.5

5 release files

25.4

5 release files

25.3

5 release files

25.2

5 release files

25.1

5 release files

24.12

5 release files

24.11

5 release files

24.10

5 release files

24.9

5 release files

24.8

5 release files

24.7

5 release files

24.6

5 release files

24.5

5 release files

24.4

5 release files

24.3

5 release files

24.2

5 release files

24.1

5 release files

23.12

5 release files

23.11

5 release files

23.10

4 release files

23.9

3 release files

23.8

3 release files

23.7

3 release files

23.6

2 release files

23.5

2 release files

23.4

2 release files

23.3

2 release files

23.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page