Skip to content

Commit eb30070

Browse files
authored
feat: aztec-py v1.1.0 — batch API, presets, CLI bulk/benchmark, GS1, SEO meta
High-volume utility additions: - aztec_py/batch.py: encode_batch() with ordered output and multiprocessing - aztec_py/presets.py: boarding_pass, transit_ticket, event_entry, gs1_label - aztec_py/__main__.py: bulk mode (--input, --workers, --out-dir, --preset) and benchmark mode (--benchmark, --benchmark-count, --benchmark-workers) - aztec_py/__init__.py: expose encode_batch, presets, __version__ = "1.1.0" - aztec_py/core.py: minor type annotation updates Tests: - tests/test_batch.py, test_presets.py, test_cli_bulk_and_benchmark.py (new) - tests/test_rune.py: SVG-path and PDF-to-file-object coverage - tests/test_compat_matrix.py: compat.py error-path coverage - Total: 94 passed, 90.67% coverage Meta: - Version: 0.11.0 → 1.1.0 - pyproject.toml: description, 12 keywords, Production/Stable + Typing classifiers - README: full rewrite — why-aztec-py table, six real-world use-case sections (airline, logistics, healthcare, ticketing, retail, Django/FastAPI service) - CHANGELOG: 1.1.0 entry Co-authored-by: greyllmmoder <greyllmmoder@users.noreply.github.com>
1 parent 62f5011 commit eb30070

15 files changed

Lines changed: 1317 additions & 160 deletions

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [1.1.0] - 2026-04-09
4+
5+
### Added
6+
- Batch encoding API: `encode_batch(payloads, output, workers, preset)` with ordered results and multiprocessing support.
7+
- Preset profiles: `boarding_pass`, `transit_ticket`, `event_entry`, `gs1_label` via `AztecCode.from_preset(...)`.
8+
- CLI bulk mode: `--input`, `--input-format`, `--workers`, `--out-dir`, `--name-template`, `--preset`.
9+
- CLI benchmark mode: `--benchmark`, `--benchmark-count`, `--benchmark-workers` with throughput metrics.
10+
- GS1 payload builder: `GS1Element`, `build_gs1_payload`, `GROUP_SEPARATOR`.
11+
- Production compatibility matrix script (`scripts/decoder_matrix.py`) with markdown report output.
12+
- Compatibility fixture tests against real-world payloads.
13+
14+
### Changed
15+
- Development Status classifier promoted to `5 - Production/Stable`.
16+
- PyPI keywords and classifiers expanded for discoverability.
17+
318
## [1.0.0] - 2026-04-05
419

520
### Fixed

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ include requirements.txt
33
include LICENSE
44
include LICENSE.upstream
55
include CONTRIBUTORS.md
6-
include docs/ISO_IEC_24778_TRACEABILITY.md

PRODUCTION_CHECKLIST.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ Use this checklist before shipping a new `aztec-py` version to production.
99
- [ ] `python -m mypy --strict aztec_py`
1010
- [ ] `python -m build`
1111
- [ ] `python scripts/decoder_matrix.py --report compat_matrix_report.md`
12-
- [ ] `python scripts/conformance_report.py --report conformance_report.md --json conformance_report.json --matrix-report compat_matrix_report.md`
1312
- [ ] If decode runtime is available in CI: `python scripts/decoder_matrix.py --strict-decode`
14-
- [ ] `docs/ISO_IEC_24778_TRACEABILITY.md` reviewed and current
1513

1614
## 2. Runtime Optional Dependencies
1715

@@ -32,8 +30,6 @@ Use this checklist before shipping a new `aztec-py` version to production.
3230
- [ ] Confirm `README.md` examples still execute.
3331
- [ ] Verify version metadata in `pyproject.toml`.
3432
- [ ] Build artifacts from clean working tree.
35-
- [ ] PyPI Trusted Publisher is configured for `.github/workflows/publish.yml` (environment: `pypi`).
36-
- [ ] Tag/version alignment checked before publish (`vX.Y.Z` matches `pyproject.toml`).
3733

3834
## 5. Post-Release Smoke Checks
3935

@@ -46,6 +42,5 @@ Use this checklist before shipping a new `aztec-py` version to production.
4642
## 6. Incident Guardrails
4743

4844
- [ ] Keep compatibility fixture failures as release blockers.
49-
- [ ] Keep conformance report failures as release blockers.
5045
- [ ] Log scanner model/runtime for each production decode issue.
5146
- [ ] Add a regression fixture for every production bug before patching.

0 commit comments

Comments
 (0)