Skip to main content

Swish QR Code Python Library

Project description

Swish QR Code

Test Codecov Package version Supported Python versions

Generate Swish styled QR Code as SVG or PNG image.

Example

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swish-qr-0.3.6.tar.gz (148.0 kB view details)

Uploaded Source

Built Distribution

swish_qr-0.3.6-py3-none-any.whl (147.0 kB view details)

Uploaded Python 3

File details

Details for the file swish-qr-0.3.6.tar.gz.

File metadata

  • Download URL: swish-qr-0.3.6.tar.gz
  • Upload date:
  • Size: 148.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for swish-qr-0.3.6.tar.gz
Algorithm Hash digest
SHA256 a3f4e2a7c8ddccf9adace927cd11bdc9a5ad5833ede247b2217cc0b90b808baf
MD5 bc98092080d7caf93bff71272b7918e8
BLAKE2b-256 85303aa817eaba6cf0b612e23ed6197210541cb6342102cd62fb5ed487c1745f

See more details on using hashes here.

File details

Details for the file swish_qr-0.3.6-py3-none-any.whl.

File metadata

  • Download URL: swish_qr-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 147.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for swish_qr-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 17b23fda242b4da4dc9ba844379334353631606a283b8341b1436a0d02d55934
MD5 4666449383cea8545415837ae883ff29
BLAKE2b-256 0ba3b175a6799f4fb20dae36037732bfbcf9a45ba93876f842fb90a4c7f56821

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page