Skip to main content

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

Project description

travis pypi

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 pdf_pyboleto_sample.py or html_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.

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

pyboletobr-0.5.0.tar.gz (37.0 kB view details)

Uploaded Source

Built Distribution

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

pyboletobr-0.5.0-py3-none-any.whl (71.5 kB view details)

Uploaded Python 3

File details

Details for the file pyboletobr-0.5.0.tar.gz.

File metadata

  • Download URL: pyboletobr-0.5.0.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for pyboletobr-0.5.0.tar.gz
Algorithm Hash digest
SHA256 f575c369ec8d434822a6ffff9d3f8376b9bc9eee0a994edd304c5d38b8d585a2
MD5 d30f4b22e15b895632350aea26587e26
BLAKE2b-256 d0235aac7ff52e47a05b1f93732272b024312eca7fcac25843777334c5d2fa3b

See more details on using hashes here.

File details

Details for the file pyboletobr-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: pyboletobr-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 71.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for pyboletobr-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e11a37635375a9c54ecf0601e52ccb95d291d681e4d77338cae28f7d30a3f198
MD5 3d1dc18c78a0702ef5bdbc4e1cea41a1
BLAKE2b-256 93467da191dbbc45491b483913d11f3661b27ca6913f60f222ff626b6a0968bb

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