A Python implementation of the CNAB240 file to perform bulk payments.
Project description
aurorae
aurorae is a tool to generate fixed-width CNAB240 files to perform bulk payments.
aurorae does...
- Generates CNAB240 files for bulk payments
- Allows easy extension of different types of input files
aurorae does not...
- Address charge or as Brazilian banks call "cobrança"
- Address payments by PIX, we only support payments through bank information
But, pull requests are welcomed.
How It Works
aurorae uses Python type hinting for data validation and generation of fixed-width CNAB 240 files. The library receives as inputs an spreadsheet that must be a match of the Pydantic model Spreadsheet, a general handler parses the initial data to an intermediary representation used by the CNAB240 module to generate files. Different types of inputs are supported by library through the creation of new providers, check the spreadsheet provider for an example.
The historic and architecture details can be found on the project's ADRs.
Requirements
- Python (>3)
- openpyxl (3.0.7)
- pydantic (>1.8.2)
Installation
pip install aurorae
Usage
To run aurorae with test data:
generate_cnab_sample
To run aurorae with your own data use:
generate_cnab_sample ~/source_spreadsheet.xlsx
Documentation
https://aurorae.readthedocs.io
Security
We take aurorae's security and our users' trust seriously, therefore we do not save any information (from payments or not) sent by users. If you believe you have found a security issue, please responsibly disclose by contacting: flavio@vinta.com.br
Releases
See CHANGELOG.md.
Credits
This project is maintained by open-source contributors and Vinta Software.
Commercial Support
Vinta Software is always looking for exciting work, so if you need any commercial support, feel free to get in touch: contact@vinta.com.br
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aurorae-0.0.2.tar.gz
.
File metadata
- Download URL: aurorae-0.0.2.tar.gz
- Upload date:
- Size: 41.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.7.9 Linux/5.11.0-27-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e38c67ebf6dd56268de462e8f51c6f1630256a8bf95a2ebd89bafe472647db9 |
|
MD5 | f7518010b3a5fcb825c08e11be0ca5c7 |
|
BLAKE2b-256 | ea2cfd7a7ecf9018e359f4e821b7390be1e7c9dff20080c132df79aabf26b677 |
File details
Details for the file aurorae-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: aurorae-0.0.2-py3-none-any.whl
- Upload date:
- Size: 43.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.7.9 Linux/5.11.0-27-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 416c8ca6827726b5aa1e61018874244ce40f3a0629572f588f852adfa255bc33 |
|
MD5 | a98e3006b44f6ca18cecb63682241160 |
|
BLAKE2b-256 | f004242a69872c0d80af3cc7ee577d232c66247e9cb23e93d5fadf97b458ab64 |