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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

aspose_barcode_for_python_via_net-24.11-py3-none-macosx_11_0_arm64.whl (41.9 MB view details)

Uploaded Python 3 macOS 11.0+ ARM64

aspose_barcode_for_python_via_net-24.11-py3-none-macosx_10_14_x86_64.whl (49.1 MB view details)

Uploaded Python 3 macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-24.11-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 61ad791a1422462d3842291259266d1e5b1d81fa96a1bee1fb38b29f3159a7d0
MD5 08023a1289e388cd99e7bff0701af62d
BLAKE2b-256 0d3fb5b2e02cd19958c5e8f688c48d64e29ffda7ce7d769bf015d91760ceebbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-24.11-py3-none-win32.whl
Algorithm Hash digest
SHA256 abff5a71c884690378066081028c5d2eeabcd4dcac14d6950122d0989e29bb4a
MD5 c7c4f19e382a652dd0cf06605ecd1754
BLAKE2b-256 6d9ee59da2071a4c153ceb37eb1ae8938dd4eebcb014987e409e773373c5b0a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-24.11-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 330f445fcdc48f1f35a3d9a08afa450d910a2c72ccdceba9c7718d65ad82d0c8
MD5 0bdfa9418d4777fd557605ad9192ca29
BLAKE2b-256 d48963eb66330b6d2c3007bad2d69af71891fad2408c9dc7d99f74ed2e714510

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-24.11-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 655ae960853865a4e7cc01a484aab5edaf3ac5fbef117a66ef2af470cc935f2e
MD5 ad5fa3a5c2b6efb44c72c5968e49d3d9
BLAKE2b-256 8cf14fec5a9caaa736be979a03434ceaba5b4eab875c8b9d24c04f981c5ce951

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-24.11-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 81c7a392b17fbd4431ba84193cffcf8de682aee0c8620cabc8e550b6689b5c72
MD5 24f7b0dd7ff590495807232e9342238f
BLAKE2b-256 6f0a0f83fb9f261b017612d6cdda5fb9065703ee7e7fe1b46997d1018b6a13e9

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