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-24.1-py3-none-win_amd64.whl (40.5 MB view details)

Uploaded Python 3Windows x86-64

aspose_barcode_for_python_via_net-24.1-py3-none-win32.whl (35.7 MB view details)

Uploaded Python 3Windows x86

aspose_barcode_for_python_via_net-24.1-py3-none-macosx_11_0_arm64.whl (36.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

aspose_barcode_for_python_via_net-24.1-py3-none-macosx_10_14_x86_64.whl (45.0 MB view details)

Uploaded Python 3macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-24.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c932116066b1cf2cee7af00a80a802ed83224fd671105999110fb81ba4f8e2d8
MD5 fef28f80a7f231b7b07a71dd8269a8c4
BLAKE2b-256 f94be44bbbe65491463310ee80058b324c1d56a4fe6309a07890c8baccf36138

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-24.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 36d25704418dbaf78b9a8316a1564d7ee29e1b3c20febf205e05da67eca6b04f
MD5 c8d666258cd2bf242ae283b7ac624a65
BLAKE2b-256 a8f1b07792b819568d91a6e117ef9df47607ca1a2b7cd1b6fc8337a40a97796b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-24.1-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 55f1843bfccd0b80314e7eb7a079ad15c1e7a8942561035deaa1dcb8d304e4e5
MD5 f996fb98640333984f6fd416b4408efe
BLAKE2b-256 934f35aee90851b5f81d01ef3aaf50a672041190c7083c6e00aec46954dea5ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-24.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82de1157e378137387176b9063b326bff38743eaccaff9c41153d94001e52356
MD5 ed594f306e5dbacf86bedfd25b737226
BLAKE2b-256 904b16fc258903f66d109984fbfe7e56e6967c5bdad2fefec251b6c23e204d42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-24.1-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1e56ede54a580177b9e483e00379be189a9da4b5ca5859c953768a618f53ebee
MD5 73ee1ca44baa33db4e772a3141b69386
BLAKE2b-256 f6bd7ec78d19c4e7e7130b0178a88a357a33f005df3ac1381736031142d5fada

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