Skip to main content

Este projeto é uma biblioteca Python para gerar codigo e qrcode do Pix. Ele fornece uma interface simples e intuitiva para criar, modificar e validar dados de Pix.

Project description

Este projeto é uma biblioteca Python para gerar codigo e qrcode do Pix. Ele fornece uma interface simples e intuitiva para criar, modificar e validar dados de Pix.

Instalação

Para instalar o projeto, use o pip:

pip install pypixcode

Uso

Exemplo de como usar o projeto:

from pypixcode import PixBuilder

name = "Fulano De Tau"
pix_key = "42fbd387-e918-48c7-abd9-13958bea32ce"
value = "1.00"
city = "Para De Minas"
tx_id = "***"

# Cria uma instância do PixBuilder
pix_builder = PixBuilder(name, pix_key, value, city, tx_id)

code = pix_builder.get_code()

# result  00020126580014BR.GOV.BCB.PIX013642fbd387-e918-48c7-abd9-13958bea32ce52040000530398654041.005802BR5913Fulano De Tau6013Para De Minas62070503***63045039

Contribuição

  1. Faça um fork do projeto
  2. Crie uma branch para sua feature (git checkout -b feature/nova-feature)
  3. Commit suas mudanças (git commit -am 'Adiciona nova feature')
  4. Faça um push para a branch (git push origin feature/nova-feature)
  5. Abra um Pull Request

Licença

Este projeto está licenciado sob a Licença MIT - veja o arquivo LICENSE para mais detalhes.

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

pypixcode-0.1.8.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

pypixcode-0.1.8-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file pypixcode-0.1.8.tar.gz.

File metadata

  • Download URL: pypixcode-0.1.8.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for pypixcode-0.1.8.tar.gz
Algorithm Hash digest
SHA256 50ad0d410a989a62adb2adde5e0fc8bbb3a8acc257bb4e4ffd7f302c9e0d64c9
MD5 ad3e491f964852174e40d05c9c9b3eca
BLAKE2b-256 2c451ab49b58901365e8909a86d1001a86a89934d94e7bf58c222293b1127c30

See more details on using hashes here.

File details

Details for the file pypixcode-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: pypixcode-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for pypixcode-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c47f8ba1db100b2d1f6ee355613dd8382323f8f0ab9d8bd88d8e448583cc95c1
MD5 7781b475f44d1c41b655cffa93d3c4de
BLAKE2b-256 d536e5028631333809de7caf9780273d57931fe5076a3adbf34b398307fa9e08

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