pyboleto
pyboleto provides a python class to generate “boletos de cobranca” as these are the Brazilian equivalent for invoices.
It’s easy to implement classes for new banks.
This class is still in development and currently has no documented API.
Implemented Banks
You can help writing code for more banks or printing and testing current implementations.
For now here’s where we are.
Bank
Carteira / Convenio
Implemented
Tested
Banco do Brasil
18
Yes
Yes
Banrisul
x
Yes
Yes
Bradesco
06, 03
Yes
Yes
Caixa Economica
SR
Yes
No
HSBC
CNR, CSB
Yes
No
Itau
157
Yes
Yes
Itau
175, 174, 178, 104, 109
Yes
No
Real
57
Yes
No
Santander
102
Yes
Yes
Santander
101, 201
Yes
No
Documentation
http://packages.python.org/pyboleto/
The best way to learn how to create Boletos using pyboleto is to look at the examples at pyboleto_sample.py
Installation
You can install pyboleto either via the Python Package Index (PyPI) or from source.
To install using pip,:
$ pip install pyboleto
To install using easy_install,:
$ easy_install pyboleto
Downloading and installing from source
Download the latest version of pyboleto from http://pypi.python.org/pypi/pyboleto/
You can install it by doing the following,:
$ tar xvfz pyboleto-0.0.0.tar.gz $ cd pyboleto-0.0.0 $ python setup.py build # python setup.py install # as root
Using the development version
You can clone the repository by doing the following:
$ git clone https://github.com/eduardocereto/pyboleto.git
Executing unittests
You need either setuptools or distribute in order to execute the tests. Chances are you already have one or another. You also need pdftohtml.:
$ cd pyboleto $ python setup.py test
License
This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text.
Metadata
Release files for pyboleto 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyboleto-0.3.1.tar.gz | 90.6 kB | Without provenance | Details for pyboleto-0.3.1.tar.gz |
Release files / pyboleto-0.3.1.tar.gz
| Download URL | pyboleto-0.3.1.tar.gz |
|---|---|
| Size | 90.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29690fbdb6d9930f385a2285bd08b38b7f2ce16e5880ff762244462f292f7caf
|
|
BLAKE2b-256 checksum How to use checksums |
6f223073b4454e2dba011a95b6a1ee40a8d9fca3f3a3381b0b984b923ea146e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyboleto 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.