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, 52, and 67.

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, 52, and 67
  • 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.12-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (22.0 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

stampix_auspostgen-0.0.12-cp310-abi3-macosx_14_0_arm64.whl (20.6 kB view details)

Uploaded CPython 3.10+macOS 14.0+ ARM64

File details

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

File metadata

File hashes

Hashes for stampix_auspostgen-0.0.12-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dad58e90593639051a41503512d19cc4d2ef688dd0ea4c9f725d112cbb2c1467
MD5 1dc2f4ec89bbc0c4ff1752a977258b57
BLAKE2b-256 50e31748b43a7861b76ccc6d92a29de9cb990fd3f99ac77252efd673c619fddf

See more details on using hashes here.

Provenance

The following attestation bundles were made for stampix_auspostgen-0.0.12-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.12-cp310-abi3-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for stampix_auspostgen-0.0.12-cp310-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0f7df56f6900018457b87c0024bf1fb11eaf66ff434f94f2befa774534baea68
MD5 78d86390ee0db92f1fcaa59067276158
BLAKE2b-256 f26b36309d7e064d16ac0fc28d5f448a569c6af2787156d1664b6a31046b135a

See more details on using hashes here.

Provenance

The following attestation bundles were made for stampix_auspostgen-0.0.12-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