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

If you're not sure about the file name format, learn more about wheel file names.

aspose_barcode_for_python_via_net-26.6-py3-none-win_amd64.whl (41.8 MB view details)

Uploaded Python 3Windows x86-64

aspose_barcode_for_python_via_net-26.6-py3-none-win32.whl (37.6 MB view details)

Uploaded Python 3Windows x86

aspose_barcode_for_python_via_net-26.6-py3-none-macosx_11_0_arm64.whl (40.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

aspose_barcode_for_python_via_net-26.6-py3-none-macosx_10_14_x86_64.whl (44.5 MB view details)

Uploaded Python 3macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-26.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 74efbbb47fc743b96cc51f143a32cc62a68997dd5f914746ff18a7401543ec39
MD5 f6636d284d7f9c076288bf25e75d0435
BLAKE2b-256 c561028b2ccf1e588dbc24bd16c680c1ddebd851a22940f5724b56434c93fc16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-26.6-py3-none-win32.whl
Algorithm Hash digest
SHA256 cfd7b807c6aa243058e80da003880cb70725dd07da165da6deac2f0e943944fe
MD5 877505abf22763752f47f2fb87bb45f5
BLAKE2b-256 7dcc904826c218fb65c06bfac4267dfea00482381cacfae813c341cfa9f725c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-26.6-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fa67887b95f3174c53e632f0a17e1a3a473478ea98f20f5b7c6a27c55fdf4e09
MD5 eee9a375f25a023b529569f0496bfe5e
BLAKE2b-256 df174d876d30d580cd3173f924bfd1c865c94421f243cc2f54a17b08b72d9276

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-26.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e1a6b33a93ba4903ce04d9fbbb01c495abf7bb18c8fde1c760eaae29cf3ffef9
MD5 e61466657e9b8b4d2af2ad40b9524430
BLAKE2b-256 fba3463a4de2bf5a5a6dcef497a70c0fb698332b04d2413e049fc2ac27893924

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_barcode_for_python_via_net-26.6-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8b0e692064fdf8859d3e7457164e22bbb0c491be14ec4a488aaebbe2620e13fb
MD5 744f7f4650e140c6e75124c05df9dc15
BLAKE2b-256 14b273e02c3a05c1addc61b95debbff81f847f5ebb5bf620c6527c7958e8cf65

See more details on using hashes here.

Supported by

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