Skip to content
This repository was archived by the owner on May 25, 2026. It is now read-only.

Repository files navigation

pyboleto

https://secure.travis-ci.org/eduardocereto/pyboleto.png?branch=master

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.

You can help writing code for more banks or printing and testing current implementations.

For now here's where we are.

BankCarteira /ConvenioImplementedTested
Banco do Brasil18YesYes
BanrisulxYesYes
Bradesco06, 03YesYes
Caixa EconomicaSRYesNo
HSBCCNR, CSBYesNo
Itau157YesYes
Itau175, 174, 178, 104, 109YesNo
Real57YesNo
Santander102YesYes
Santander101, 201YesNo

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

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

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

You can clone the repository by doing the following:

$ git clone https://github.com/eduardocereto/pyboleto.git

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

This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text.

About

A Python module to create Brazilian "Boletos de Cobrança" for multiple banks

Resources

Stars

2 stars

Watchers

61 watching

Forks

Releases

Packages

Contributors

Languages