Skip to main content

Generation QR Code with IMG

Project description

Генерация QR Code по картинке

https://pypi.org/project/qrcode-img/

Пример работы

from path import Path
from qrcode_img import QRCode

text = 'Hello'

path_to_download = Path().joinpath("example", "11.png")
path_to_save = Path().joinpath("example", "1example.png")


qrcode = QRCode(text)

byte_io = qrcode.gen_qr_code(path_to_download)

print(byte_io)

qrcode.save_qr_code(path_to_save)

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

qrcode_img-1.0.8.tar.gz (12.2 kB view details)

Uploaded Source

File details

Details for the file qrcode_img-1.0.8.tar.gz.

File metadata

  • Download URL: qrcode_img-1.0.8.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for qrcode_img-1.0.8.tar.gz
Algorithm Hash digest
SHA256 92e6be6b55836ae355ab27945fc9789ce1a81e6b89f9eb5dc9f51afad942532d
MD5 cfaaac9a9259b4d57cdd8b76840de367
BLAKE2b-256 2030e12e598c566e459773e69a96e230a153e9d77fddb89a3159729e5b5fa047

See more details on using hashes here.

Supported by

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