Skip to main content

No project description provided

Project description

qrcode_utils

Este pacote permite gerar um código do tipo imagem .png, QR CODE a partir de uma string fornecida pelo usuário, como também decodificar o codigo gerado através do arquivo de imagem fornecido.

Instalação:

pip install qrcode_utils

Instruções de uso:

Primeiramente precisa instalar as bibliotecas e importa a classe Qr do módulo QrUtilitario.Qr Em seguida, definir uma palavra (string de até 4296 caracteres) como entrada, que será transformada em QR CODE. Para a decodificação, a entrada será um arquivo de imagem do tipo QR CODE, que será lida e decodificada em string.

Requerimentos de bibliotecas

Principais bibliotecas instaladas para que o pacote execute corretamente.

  • opencv-python
  • qrcode
  • numpy

Arquivo de teste

O arquivo de teste.py (main.py) deve ser configurado da seguinte forma:

from QrUtilitario.Qr import Qr

palavra = "Suco de cevadiss, é um leite divinis, qui tem lupuliz, matis, aguis e fermentis"

dado = Qr.gerar_qr(palavra)

Qr.ler_imagem("meu_qr_code.png")

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_utils-0.1.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qrcode_utils-0.1.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file qrcode_utils-0.1.2.tar.gz.

File metadata

  • Download URL: qrcode_utils-0.1.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for qrcode_utils-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2c6d7c224dc147997a03e6fd47e1309ee747d74703011a56e3c0765ac8149d69
MD5 cb8d798292ce85599d61a64f3da2f05e
BLAKE2b-256 f19f85b2c2ee95511aebdd71b174cb51e24fe1ea326f699334cd0f21056110f2

See more details on using hashes here.

File details

Details for the file qrcode_utils-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: qrcode_utils-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for qrcode_utils-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0526ce50ec84a810e4bc49bd69d2b54480b93067ec508ff0054bbee65d1cc9c3
MD5 26f3a43103de10e9417aa44c515d3c10
BLAKE2b-256 49e740f19087f4cabf8ef437deade71d48074b66b3a999ace6cf2e7b7736aad8

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