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.7.tar.gz
(12.2 kB
view details)
File details
Details for the file qrcode_img-1.0.7.tar.gz.
File metadata
- Download URL: qrcode_img-1.0.7.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67b053d949abfbe865997a7a88c0c541246ebb94cd88bc636cf34b06faaa1c68
|
|
| MD5 |
0a6fd014bd4722dd5b2e191e4d8c8b7c
|
|
| BLAKE2b-256 |
2ae945e65cc67c331df0e272a42e45d42fd2f5d19b8ffa82398a5d053fc9d58e
|