Skip to main content

Generation of the Australia Post Barcode versions 37, 52, 67

Project description

AusPostGen

A Python library for generating Australia Post Barcode versions 37, 59, and 62.

This is a fork off the auspostgen project by damiandennis maintained by Stampix. The goal of this fork was to make the package more modern and be usable in newer projects.

Features

  • Generate Australia Post barcodes in various formats
  • Support for versions 37, 59, and 62
  • High-performance C extension for barcode generation
  • Simple Python API

Installation

# Using Poetry
poetry add stampix-auspostgen

# Using pip
pip install stampix-auspostgen

Usage

from stampix.auspostgen.generator import write_image

# Generate a barcode image
write_image("output.png", "12345678901234567890", version=37)

Development

  1. Clone the repository
  2. Install dependencies:
    poetry install
    
  3. Run tests:
    poetry run pytest
    

Notes

  • There are some file comparison tests in the repo, but they don't give exactly the same results cross-platform so leaving this as is for now.

  • python-semantic-release doesn't update the version number inside the toml file & __init__.py for some reason. We will take a look later.

Project Structure

auspostgen/
├── stampix/
│   ├── __init__.py
│   └── auspostgen/
│       └── _c/
│           ├── __init__.py
│           ├── auspost.c
│           └── Makefile
├── tests/
│   └── __init__.py
├── docs/
├── pyproject.toml
└── README.md

License

MIT License - see LICENSE.txt for details

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.

stampix_auspostgen-0.0.11-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (27.6 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

stampix_auspostgen-0.0.11-cp310-abi3-macosx_14_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.10+macOS 14.0+ ARM64

File details

Details for the file stampix_auspostgen-0.0.11-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for stampix_auspostgen-0.0.11-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9a5739fbce8243c275beda9f8951af73711847eba21ec375fc05c5112853f6ba
MD5 38e06455c5885aa94b2e6a6dac498fc8
BLAKE2b-256 0e1a31f03f0023bd69f55ee9979edc68c40c3b6e1eec8855e93f615761447cac

See more details on using hashes here.

Provenance

The following attestation bundles were made for stampix_auspostgen-0.0.11-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on stampix/auspostgen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stampix_auspostgen-0.0.11-cp310-abi3-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for stampix_auspostgen-0.0.11-cp310-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f957bc179941ddafeee4914ff9cd731caebb612317e615baaa51fd836513d034
MD5 4f1ec47d8adc017e58b557cdb3c3393e
BLAKE2b-256 dddd5fa5bf1c50374baa8eb4cf5f57094272a5408c5286b6835d9e7ff48f2226

See more details on using hashes here.

Provenance

The following attestation bundles were made for stampix_auspostgen-0.0.11-cp310-abi3-macosx_14_0_arm64.whl:

Publisher: publish.yml on stampix/auspostgen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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