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.13-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (21.8 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

stampix_auspostgen-0.0.13-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.13-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.13-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for stampix_auspostgen-0.0.13-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bbb64e3575d7eec00a1c36b21ebdf1244e45bfc23a697cb5f6cc431480fc19b7
MD5 a5f56d1e2e324b15af03ee1e06ba5d16
BLAKE2b-256 33c5449692c8441d3e65c23111dfa29ad0d3ff8c12eef069f62177779f698502

See more details on using hashes here.

Provenance

The following attestation bundles were made for stampix_auspostgen-0.0.13-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.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.13-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for stampix_auspostgen-0.0.13-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 46a8be008b9696f71606997f0e9766bc0991e2cac5e8b15349ab504df3b61aaa
MD5 e9b6d62c09b6e612a05808071226e622
BLAKE2b-256 04725a04daf5ff1ff89b114e90a39c78c142eaea70aad1cb71475f417493f249

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for stampix_auspostgen-0.0.13-cp310-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c98cec5f5b5b1d5281f59cb69db22efa4967febbf8b080ef5b3574f9269a3a74
MD5 0bf18ed1ffc678b041270fe019e82be1
BLAKE2b-256 daf67235b046abf3936620d596a0f9ada68c5a4a22bdc42a448ccb8e2bc1e1ec

See more details on using hashes here.

Provenance

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