python库为巴西几家银行创建“资金状况公告”
pyboleto的Python项目详细描述
pyboleto提供了一个python类来生成这样的“boletos de cobranca” 是巴西发票的等价物。
为新银行实施课程很容易。
这个类仍在开发中,目前没有文档化的api。
Implemented Banks
您可以帮助编写更多银行的代码或打印和测试当前 实现。
现在我们在这里。
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/
学习如何使用pyboleto创建boletos的最好方法是查看 pyboleto_sample.py
中的示例Installation
您可以通过python包索引(pypi)安装pyboleto 或者来源。
要使用pip安装,请执行以下操作:
$ pip install pyboleto
要使用简易安装进行安装,:
$ easy_install pyboleto
Downloading and installing from source
从下载最新版本的pyboleto http://pypi.python.org/pypi/pyboleto/
您可以通过执行以下操作安装它:
$ 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
您可以通过执行以下操作克隆存储库:
$ git clone https://github.com/eduardocereto/pyboleto.git
Executing unittests
执行测试需要setuptools或distribute。很可能你已经有了一个或另一个。您还需要pdftohtml.:
$ cd pyboleto $ python setup.py test
License
此软件在新的bsd许可证下获得许可。请参阅LICENSE 文件位于顶级分发目录中,以获取完整的许可证文本。