Skip to main content

Aspose.BarCode for Python via .NET is a python libray for generation and recognition of barcodes for many popular formats.

Project description

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

aspose_barcode_for_python_via_net-25.4-py3-none-win_amd64.whl (43.2 MB view details)

Uploaded Python 3 Windows x86-64

aspose_barcode_for_python_via_net-25.4-py3-none-win32.whl (37.8 MB view details)

Uploaded Python 3 Windows x86

aspose_barcode_for_python_via_net-25.4-py3-none-macosx_11_0_arm64.whl (42.0 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

aspose_barcode_for_python_via_net-25.4-py3-none-macosx_10_14_x86_64.whl (49.2 MB view details)

Uploaded Python 3 macOS 10.14+ x86-64

File details

Details for the file aspose_barcode_for_python_via_net-25.4-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-25.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 543523e98dd838628ae60ef269d69fabc3f02b590fe9023b8b8a654d80136d98
MD5 d686539c652330ae139867c46dcde694
BLAKE2b-256 61827ef64bfdb300cf2248a8495df6ac1fd4b99a7edff7a8a9f47f1aee3aeede

See more details on using hashes here.

File details

Details for the file aspose_barcode_for_python_via_net-25.4-py3-none-win32.whl.

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-25.4-py3-none-win32.whl
Algorithm Hash digest
SHA256 d9b0a4b7bb81e0dd9815c88a7cf4362597f9fd0f5e594a49f6330d7d0cd5f407
MD5 b693eff90ae02c4183ba387fb42e49b0
BLAKE2b-256 bacec48169f86493aca38c266b4db5bdab8c4b6b17a8d8ef436111c507077497

See more details on using hashes here.

File details

Details for the file aspose_barcode_for_python_via_net-25.4-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-25.4-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 43da54be87e149463b731536d5e8a2229e610baf0e0ce7f7b48e472be7a28259
MD5 efb5846324095120173599c47e4556c7
BLAKE2b-256 cfee93224f14277afb9cf3436a2818e1ef1cea459163ce01fbc5832c3a634c98

See more details on using hashes here.

File details

Details for the file aspose_barcode_for_python_via_net-25.4-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-25.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b1ddbe6b9d73094206d18a26d69aefd77435fd34e8ff3a74bcb4cfbc976c0f17
MD5 14d806e92c27a9851b2160789d98c0dc
BLAKE2b-256 7431f73b702b9f49f8a014bbd38585382418b49ea33087efb8868189c9fc14d7

See more details on using hashes here.

File details

Details for the file aspose_barcode_for_python_via_net-25.4-py3-none-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-25.4-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 03267b74752063806a2caabd278f9d7013b63e8aae63d354da61c9739fc7e1c6
MD5 5bde5a46295caa10f8a36837185f3043
BLAKE2b-256 37ada945dbc5c9b06dfa067d5f10a1642e73d0c552a4c7680ff320f58fea3554

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page