Handle accounting and finances in Brazil using Python
Project description
babilonia
Handle accounting and finances in Brazil using Python.
[!NOTE] Check out the documentation website
Quick Gallery
Parse Bank Statements
Sourced statement from Banco do Brasil:
./extrato_poupanca.csv
"Data","Histórico","Valor",
"01/08/2025","Reajuste Monetário - BACEN","3,04 C",
"01/08/2025","Juros","8,83 C",
"01/08/2025","Reajuste Monetário - BACEN","1,34 C",
"01/08/2025","Juros","3,83 C",
"01/08/2025","Reajuste Monetário - BACEN","16,67 C",
"01/08/2025","Juros","47,92 C",
"11/08/2025","Transferência de Crédito","1.000,00 C",
"29/08/2025","Transferência de Crédito","4.000,00 C",
"29/08/2025","Reajuste Monetário - BACEN","0,35 C",
"29/08/2025","Juros","1,02 C",
Code block:
from babilonia.accounting import CashFlowBBPP
file_bb = "./extrato_poupanca.csv"
cashflow = CashFlowBBPP()
cashflow.load_data(file_bb)
df = cashflow.parse_data()
print(df)
Output:
Data Valor Categoria Descricao
2025-08-01 3.04 Reajuste Monetário - BACEN
2025-08-01 8.83 Juros
2025-08-01 1.34 Reajuste Monetário - BACEN
2025-08-01 3.83 Juros
2025-08-01 16.67 Reajuste Monetário - BACEN
2025-08-01 47.92 Juros
2025-08-11 1000.00 Transferência de Crédito
2025-08-29 4000.00 Transferência de Crédito
2025-08-29 0.35 Reajuste Monetário - BACEN
2025-08-29 1.02 Juros
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file babilonia-0.0.0.post1.dev21.tar.gz.
File metadata
- Download URL: babilonia-0.0.0.post1.dev21.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57e5e9133653546d58807d6e2b1101f6e359f98db368a6c4f50d30005fd29e28
|
|
| MD5 |
a266f897b8c5214f67ab52ca2badaf01
|
|
| BLAKE2b-256 |
d50340b0011a45e967ef1425f04cb1b0a92d0aeb76cb1372d3cc5de3dcaa477a
|
File details
Details for the file babilonia-0.0.0.post1.dev21-py3-none-any.whl.
File metadata
- Download URL: babilonia-0.0.0.post1.dev21-py3-none-any.whl
- Upload date:
- Size: 61.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bda0fb7cee32cb3bd3546aa9fecf6dfe312383500c56ffcaa088f2dab7d4ebda
|
|
| MD5 |
b5eff53607cfd8e2b2ef3ee93c2b3470
|
|
| BLAKE2b-256 |
0d7b02d23ebc24792ddbaee9152fa192bfd10e84e015e3018b37846d34d6cac9
|