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

Metadata

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

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.10
File Actions
aspose_barcode_for_python_via_net-26.10-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for aspose_barcode_for_python_via_net-26.10-py3-none-win_amd64.whl
aspose_barcode_for_python_via_net-26.10-py3-none-win32.whl Python 3 none Windows x86-32 Details for aspose_barcode_for_python_via_net-26.10-py3-none-win32.whl
aspose_barcode_for_python_via_net-26.10-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details for aspose_barcode_for_python_via_net-26.10-py3-none-manylinux1_x86_64.whl
aspose_barcode_for_python_via_net-26.10-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for aspose_barcode_for_python_via_net-26.10-py3-none-macosx_11_0_arm64.whl
aspose_barcode_for_python_via_net-26.10-py3-none-macosx_10_14_x86_64.whl Python 3 none macOS 10.14+ x86-64 Details for aspose_barcode_for_python_via_net-26.10-py3-none-macosx_10_14_x86_64.whl

Total release size: 229.1 MB

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

Download URL aspose_barcode_for_python_via_net-26.10-py3-none-win_amd64.whl
Size 43.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
4e3c0bb05911b7694fa906ad0fa6fa329b883a4fed4eead6cc510d661a8908d1
BLAKE2b-256 checksum
How to use checksums
9911378f880b06ab1964e2ee85b599d2012e60a48fc819ba9c5fb00f73b17c09
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.10-py3-none-win32.whl

Download URL aspose_barcode_for_python_via_net-26.10-py3-none-win32.whl
Size 38.1 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
32ca5b7c4e4a7f1237b3e24a6d515b5fcae30fc9c5f9d70b75bc7e187ff00a87
BLAKE2b-256 checksum
How to use checksums
8f3c94c842c9194b7ecba0b31440d623d0eec2cd649560134991c824d7669970
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.10-py3-none-manylinux1_x86_64.whl

Download URL aspose_barcode_for_python_via_net-26.10-py3-none-manylinux1_x86_64.whl
Size 54.1 MB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5df5330d4c5353866c4619cb0ae2ffa21d2c3a30bf6a4422035466d578856d58
BLAKE2b-256 checksum
How to use checksums
d98e2ba3d35e2dd16dfd1281adf06d6e4e0b3811e1a0c787808e14fcd308362f
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.10-py3-none-macosx_11_0_arm64.whl

Download URL aspose_barcode_for_python_via_net-26.10-py3-none-macosx_11_0_arm64.whl
Size 43.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
44a87490d7547a303117d90ddb0a13d9ff69cb2845a8cad7a19a8b3a5ad58791
BLAKE2b-256 checksum
How to use checksums
9d76b6e49665ce2e7c37e419e9645ab502a672172d40b43e9d8b3f83ed767094
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.10-py3-none-macosx_10_14_x86_64.whl

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

Security for aspose-barcode-for-python-via-net 26.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

26.10 This release

5 release files No provenance

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