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.7-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.7-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.7-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for stampix_auspostgen-0.0.7-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 52a039212c1f145d35f119bbfd29bfe036dfe9e095f8091396b98069bc2750bb
MD5 adf5a1794e97f8fc9e7ea6911500ca43
BLAKE2b-256 020538ee9a2927bdf53e34645fa9db43dbb1d2f8a335093e003c217441fecf72

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for stampix_auspostgen-0.0.7-cp310-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 751b3e23875020fe36fbb55ef80fd53a34879bbd7450c3bf1757e6d9e55cfb55
MD5 7109569fa6bc0b12ec3186bf33ed3148
BLAKE2b-256 15bb91475267cce4abaebb3759235e785d007b33c0a8977bd7e6a824c850461b

See more details on using hashes here.

Provenance

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