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 nome-do-projeto
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
- Faça um fork do projeto
- Crie uma branch para sua feature (
git checkout -b feature/nova-feature) - Commit suas mudanças (
git commit -am 'Adiciona nova feature') - Faça um push para a branch (
git push origin feature/nova-feature) - Abra um Pull Request
Licença
Este projeto está licenciado sob a Licença MIT - veja o arquivo LICENSE para mais detalhes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypixcode-0.1.5.tar.gz.
File metadata
- Download URL: pypixcode-0.1.5.tar.gz
- Upload date:
- Size: 4.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f964e99f3306cb4bc2065df596bbb18a22e6588813c64d90741f9b4b073629f
|
|
| MD5 |
3a917969ae27d4625ba90f78b2ddfb37
|
|
| BLAKE2b-256 |
9fe5933e6ee1fdb5ad96402c219024ad3fcf5effa2b874d28c0bd533ce1810b1
|
File details
Details for the file pypixcode-0.1.5-py3-none-any.whl.
File metadata
- Download URL: pypixcode-0.1.5-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
833d5b5503992536d30f87aad141b5c5e3d7bf7702ff068f6771d87b01ca9d16
|
|
| MD5 |
204d71ee9aea87295465426aa1e4e672
|
|
| BLAKE2b-256 |
eaafc402c17de63bffb1d29b302b359ec99e856f863b33c631425b2845dba180
|