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
Metadata
Release files for finance-mauritius 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| finance_mauritius-0.2.0.tar.gz | 4.8 kB | Without provenance | Details for finance_mauritius-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| finance_mauritius-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for finance_mauritius-0.2.0-py3-none-any.whl |
Total release size: 8.7 kB
Release files / finance_mauritius-0.2.0.tar.gz
| Download URL | finance_mauritius-0.2.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac3771af44781b38c79232aaba47d87604728e307c7cfa7d113e1d8ed13982cc
|
|
BLAKE2b-256 checksum How to use checksums |
860c93dae7f4c1cba4473f9ecdeba509f88468f493d84bf315c8b6c5bedf1e56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / finance_mauritius-0.2.0-py3-none-any.whl
| Download URL | finance_mauritius-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35e21c6f90dbd38d33ba9c7d3fc5fbf36cdf2abd3af0d0131a61247509c64eed
|
|
BLAKE2b-256 checksum How to use checksums |
69a7cab8f473ee76f372309f4998ee2e146021905d8b032bed47006a9f9df186
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for finance-mauritius 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.