Skip to main content

Python Library to create "boletos de cobrança bancária" for several Brazilian banks

Project description

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

No

Bradesco

06, 03

Yes

Yes

Caixa Economica

SR

Yes

No

HSBC

CNR, CSB

Yes

No

Itau

175, 174, 178, 104, 109, 157

Yes

No

Real

57

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 print_sample_data.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

$ cd pyboleto
$ python -m unittest discover

License

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

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

pyboleto-0.2.2.tar.gz (37.1 kB view details)

Uploaded Source

File details

Details for the file pyboleto-0.2.2.tar.gz.

File metadata

  • Download URL: pyboleto-0.2.2.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyboleto-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f0514bc9fa3f3a9c3d3eace99030da9315122da9c12c5404d1937bdb2184fb98
MD5 c29ee2d92460e5c36fced08f1623e7b4
BLAKE2b-256 b3cb54e85b29e14d17fd6c5184059c66e4bcbab22e7353882845f93b1cbe574a

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