Swish QR Code
Generate Swish styled QR Code as SVG or PNG image.
Installation
pip install swish_qr
Usage
from swish_qr import generate_swish_code
# save to svg
svg_bytes = generate_swish_code("0123456789", 100.99, "Test message!", format="svg")
with open("example.svg", "wb") as f:
f.write(svg_bytes)
# save to png
png_bytes = generate_swish_code("0123456789", 100.99, "Test message!", format="png")
with open("example.png", "wb") as f:
f.write(png_bytes)
Metadata
Release files for swish-qr 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swish-qr-0.3.6.tar.gz | 148.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swish_qr-0.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 295.0 kB
Release files / swish-qr-0.3.6.tar.gz
| Download URL | swish-qr-0.3.6.tar.gz |
|---|---|
| Size | 148.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3f4e2a7c8ddccf9adace927cd11bdc9a5ad5833ede247b2217cc0b90b808baf
|
|
BLAKE2b-256 checksum How to use checksums |
85303aa817eaba6cf0b612e23ed6197210541cb6342102cd62fb5ed487c1745f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / swish_qr-0.3.6-py3-none-any.whl
| Download URL | swish_qr-0.3.6-py3-none-any.whl |
|---|---|
| Size | 147.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17b23fda242b4da4dc9ba844379334353631606a283b8341b1436a0d02d55934
|
|
BLAKE2b-256 checksum How to use checksums |
0ba3b175a6799f4fb20dae36037732bfbcf9a45ba93876f842fb90a4c7f56821
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|