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
Close
Hashes for finance_mauritius-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35e21c6f90dbd38d33ba9c7d3fc5fbf36cdf2abd3af0d0131a61247509c64eed |
|
MD5 | bd8440eaa249ba7b91aecab9a2f0e14d |
|
BLAKE2b-256 | 69a7cab8f473ee76f372309f4998ee2e146021905d8b032bed47006a9f9df186 |