fast-qr-py
Python bindings for the fast_qr Rust QR code library.
Features
- Generate QR codes from strings or bytes
- Control error correction level (L / M / Q / H)
- Force encoding mode (Numeric / Alphanumeric / Byte)
- Force QR code version (1–40)
- Force mask pattern
- Export to SVG with full style customisation
- Export to PNG (raster) with configurable width/height
- Embed images inside QR codes
- Multiple module shapes: Square, Circle, RoundedSquare, Vertical, Horizontal, Diamond
Quick start
from fast_qr import QRBuilder, ECL, Shape, SvgBuilder, ImageBuilder, Color
# Minimal — auto-selects version, ECL=Q, mode=Byte
qr = QRBuilder("https://example.com").build()
print(qr.to_str())
# Custom ECL
qr = QRBuilder("Hello").ecl(ECL.H).build()
# SVG string
svg = SvgBuilder().shape(Shape.RoundedSquare).to_str(qr)
# PNG bytes
png = ImageBuilder().fit_width(400).to_bytes(qr)
Installation
pip install fast-qr-py # once published to PyPI
Or from source (requires Rust ≥ 1.70 and maturin):
uv venv && uv pip install maturin
maturin develop --uv
License
MIT
Metadata
Release files for fast-qr-py 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fast_qr_py-0.1.2.tar.gz | 27.2 kB | With provenance | Details for fast_qr_py-0.1.2.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fast_qr_py-0.1.2-cp313-abi3-manylinux_2_28_x86_64.whl | CPython 3.13 | abi3 | Linux glibc 2.28+ x86-64 | Details for fast_qr_py-0.1.2-cp313-abi3-manylinux_2_28_x86_64.whl |
| fast_qr_py-0.1.2-cp313-abi3-manylinux_2_28_aarch64.whl | CPython 3.13 | abi3 | Linux glibc 2.28+ ARM64 | Details for fast_qr_py-0.1.2-cp313-abi3-manylinux_2_28_aarch64.whl |
| fast_qr_py-0.1.2-cp313-abi3-macosx_11_0_arm64.whl | CPython 3.13 | abi3 | macOS 11.0+ ARM64 | Details for fast_qr_py-0.1.2-cp313-abi3-macosx_11_0_arm64.whl |
Total release size: 4.2 MB
Release files / fast_qr_py-0.1.2.tar.gz
| Download URL | fast_qr_py-0.1.2.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83ef3247c9cde13df7a378c92b411ef0b6f3988c6000ed9864669cfe66bdf101
|
|
BLAKE2b-256 checksum How to use checksums |
38c9adf008c4c18fe0df77044300f096010a356302a71f732266ce549ca0fe73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logRelease files / fast_qr_py-0.1.2-cp313-abi3-manylinux_2_28_x86_64.whl
| Download URL | fast_qr_py-0.1.2-cp313-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
08903139b5c34d8b1708c5c68ff6b5b2b81ef4a492d6b6a217776393f673c261
|
|
BLAKE2b-256 checksum How to use checksums |
c94ecd50c48fe9471ecd6d3fe6045591f525aa3e2b4c8ac8133dedc030f001f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logRelease files / fast_qr_py-0.1.2-cp313-abi3-manylinux_2_28_aarch64.whl
| Download URL | fast_qr_py-0.1.2-cp313-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
c07a0f1637ea0bd2b3c547565209b3f12e87a89ff53941a95b821a6b52d54d5f
|
|
BLAKE2b-256 checksum How to use checksums |
41e4750006f520328ddbe6283b00d7dc2d9f5f468aa3f32c3fc2abf1665ed9a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logRelease files / fast_qr_py-0.1.2-cp313-abi3-macosx_11_0_arm64.whl
| Download URL | fast_qr_py-0.1.2-cp313-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.13 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3a581c2d1efa477f21145f707577779725859f84a40a7cabcd55b9deb9d38ee7
|
|
BLAKE2b-256 checksum How to use checksums |
1da3edff758dfc9bcf44b6d54de9bd39d72025dd4f15f834d02b0e2260e68e39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logSecurity for fast-qr-py 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 4 files in this release have been uploaded with provenance metadata.
Attestation for fast_qr_py-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.