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
- Clone the repository
- Install dependencies:
poetry install - 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__.pyfor 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stampix_auspostgen-0.0.7-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: stampix_auspostgen-0.0.7-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 27.6 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52a039212c1f145d35f119bbfd29bfe036dfe9e095f8091396b98069bc2750bb
|
|
| MD5 |
adf5a1794e97f8fc9e7ea6911500ca43
|
|
| BLAKE2b-256 |
020538ee9a2927bdf53e34645fa9db43dbb1d2f8a335093e003c217441fecf72
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stampix_auspostgen-0.0.7-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl -
Subject digest:
52a039212c1f145d35f119bbfd29bfe036dfe9e095f8091396b98069bc2750bb - Sigstore transparency entry: 199662743
- Sigstore integration time:
-
Permalink:
stampix/auspostgen@af92feb78c280ad51418ac429d081ba1ebf7daa1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/stampix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@af92feb78c280ad51418ac429d081ba1ebf7daa1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file stampix_auspostgen-0.0.7-cp310-abi3-macosx_14_0_arm64.whl.
File metadata
- Download URL: stampix_auspostgen-0.0.7-cp310-abi3-macosx_14_0_arm64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.10+, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
751b3e23875020fe36fbb55ef80fd53a34879bbd7450c3bf1757e6d9e55cfb55
|
|
| MD5 |
7109569fa6bc0b12ec3186bf33ed3148
|
|
| BLAKE2b-256 |
15bb91475267cce4abaebb3759235e785d007b33c0a8977bd7e6a824c850461b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stampix_auspostgen-0.0.7-cp310-abi3-macosx_14_0_arm64.whl -
Subject digest:
751b3e23875020fe36fbb55ef80fd53a34879bbd7450c3bf1757e6d9e55cfb55 - Sigstore transparency entry: 199662742
- Sigstore integration time:
-
Permalink:
stampix/auspostgen@af92feb78c280ad51418ac429d081ba1ebf7daa1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/stampix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@af92feb78c280ad51418ac429d081ba1ebf7daa1 -
Trigger Event:
push
-
Statement type: