Useful functions for Mauritius banks and financials institutions like MRA (Mauritius Revenue Authority)
Project description
finance-mauritius
Useful functions for Mauritius banks and financials institutions like MRA (Mauritius Revenue Authority)
pip install finance-mauritius
Export your data in Excel format
>>> from finance_mauritius.mcb import MCB
>>> MCB.process_csv('mcb.CSV')
{
'df': <polars df>,
'info': {
'account_number': '00000000001',
'account_currency': 'MUR',
'opening_balance': '0.00',
'closing_balance': '15000.00',
'specified_period': '31-01-2024 - 31-03-2024',
'money_in': Decimal('48000.00'),
'money_out': Decimal('25915.00')
}
>>> MCB.csv_money_in()
{
'Interbank Transfer <redacted> fare INTERNET BANKING TRANSFER': Decimal(10000.00),
'Instant Payment MCBL40329424554O': Decimal(10000.00)
}
>>> MCB.csv_money_out()
{
'JUICE Transfer <redacted>': Decimal(1000.00),
'JUICE Transfer <redacted>': Decimal(2000.00),
'JUICE Transfer <redacted>': Decimal(2000.00)
}
>>> from finance_mauritius.mcb import SBM
>>> SBM.process_csv('SBM.csv')
{
'info': {
'account_number': '00000000000001',
'date_from': '03032024',
'date_to': '04012024',
'transactions_for': '-',
'last_n_transactions': '-',
'money_in': Decimal(20000.00),
'money_out': Decimal(10000.00),
},
'df': <polars df>
}
>>> SBM.csv_money_in()
{
'SOM3R3F:<redacted>': Decimal('10000.00'),
'MCBLMUMU/<redacted>': Decimal('10000.00')
}
>>> SBM.csv_money_out()
{
'<redacted> NON SBM POS': Decimal('1000.00'),
'ATM Withdrawal - <redacted>': Decimal('9000.00')
}
Options
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 finance_mauritius-0.2.0.tar.gz
.
File metadata
- Download URL: finance_mauritius-0.2.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac3771af44781b38c79232aaba47d87604728e307c7cfa7d113e1d8ed13982cc |
|
MD5 | ebed0a678dfe6157ac12690121ab01f2 |
|
BLAKE2b-256 | 860c93dae7f4c1cba4473f9ecdeba509f88468f493d84bf315c8b6c5bedf1e56 |
File details
Details for the file finance_mauritius-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: finance_mauritius-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35e21c6f90dbd38d33ba9c7d3fc5fbf36cdf2abd3af0d0131a61247509c64eed |
|
MD5 | bd8440eaa249ba7b91aecab9a2f0e14d |
|
BLAKE2b-256 | 69a7cab8f473ee76f372309f4998ee2e146021905d8b032bed47006a9f9df186 |