finance-mauritius


Namefinance-mauritius JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryUseful functions for Mauritius banks and financials institutions like MRA (Mauritius Revenue Authority)
upload_time2024-04-02 08:05:37
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords mauritius mcb sbm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

```python
>>> 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

```

```
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "finance-mauritius",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "mauritius, mcb, sbm",
    "author": null,
    "author_email": "Abdur-RahmaanJ <arj.python@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/86/0c/93dae7f4c1cba4473f9ecdeba509f88468f493d84bf315c8b6c5bedf1e56/finance_mauritius-0.2.0.tar.gz",
    "platform": null,
    "description": "# finance-mauritius\n\nUseful functions for Mauritius banks and financials institutions like MRA (Mauritius Revenue Authority)\n\n```\npip install finance-mauritius\n```\n\nExport your data in Excel format\n\n```python\n>>> from finance_mauritius.mcb import MCB\n>>> MCB.process_csv('mcb.CSV')\n{\n    'df': <polars df>, \n    'info': {\n        'account_number': '00000000001', \n        'account_currency': 'MUR', \n        'opening_balance': '0.00', \n        'closing_balance': '15000.00', \n        'specified_period': '31-01-2024 - 31-03-2024', \n        'money_in': Decimal('48000.00'), \n        'money_out': Decimal('25915.00')\n}\n\n>>> MCB.csv_money_in()\n{\n    'Interbank Transfer <redacted> fare INTERNET BANKING TRANSFER': Decimal(10000.00), \n    'Instant Payment MCBL40329424554O': Decimal(10000.00)\n}\n>>> MCB.csv_money_out()\n{\n    'JUICE Transfer <redacted>': Decimal(1000.00), \n    'JUICE Transfer <redacted>': Decimal(2000.00), \n    'JUICE Transfer <redacted>': Decimal(2000.00)\n}\n>>> from finance_mauritius.mcb import SBM\n>>> SBM.process_csv('SBM.csv')\n{\n    'info': {\n        'account_number': '00000000000001', \n        'date_from': '03032024', \n        'date_to': '04012024', \n        'transactions_for': '-', \n        'last_n_transactions': '-', \n        'money_in': Decimal(20000.00),\n        'money_out': Decimal(10000.00),\n        }, \n    'df': <polars df>\n}\n>>> SBM.csv_money_in()\n{   \n    'SOM3R3F:<redacted>': Decimal('10000.00'), \n    'MCBLMUMU/<redacted>': Decimal('10000.00')\n}\n>>> SBM.csv_money_out()\n{\n    '<redacted> NON SBM POS': Decimal('1000.00'), \n    'ATM Withdrawal - <redacted>': Decimal('9000.00')\n}\n```\n\n## Options\n\n```\n\n```",
    "bugtrack_url": null,
    "license": null,
    "summary": "Useful functions for Mauritius banks and financials institutions like MRA (Mauritius Revenue Authority)",
    "version": "0.2.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/abdur-rahmaanJ/finance-mauritius/issues",
        "Changelog": "https://github.com/abdur-rahmaanJ/finance-mauritius/blob/stable/CHANGELOG.md",
        "Documentation": "https://github.com/abdur-rahmaanJ/finance-mauritius",
        "Homepage": "https://github.com/abdur-rahmaanJ/finance-mauritius",
        "Repository": "https://github.com/abdur-rahmaanJ/finance-mauritius.git"
    },
    "split_keywords": [
        "mauritius",
        " mcb",
        " sbm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "69a7cab8f473ee76f372309f4998ee2e146021905d8b032bed47006a9f9df186",
                "md5": "bd8440eaa249ba7b91aecab9a2f0e14d",
                "sha256": "35e21c6f90dbd38d33ba9c7d3fc5fbf36cdf2abd3af0d0131a61247509c64eed"
            },
            "downloads": -1,
            "filename": "finance_mauritius-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bd8440eaa249ba7b91aecab9a2f0e14d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3856,
            "upload_time": "2024-04-02T08:05:36",
            "upload_time_iso_8601": "2024-04-02T08:05:36.856100Z",
            "url": "https://files.pythonhosted.org/packages/69/a7/cab8f473ee76f372309f4998ee2e146021905d8b032bed47006a9f9df186/finance_mauritius-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "860c93dae7f4c1cba4473f9ecdeba509f88468f493d84bf315c8b6c5bedf1e56",
                "md5": "ebed0a678dfe6157ac12690121ab01f2",
                "sha256": "ac3771af44781b38c79232aaba47d87604728e307c7cfa7d113e1d8ed13982cc"
            },
            "downloads": -1,
            "filename": "finance_mauritius-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ebed0a678dfe6157ac12690121ab01f2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4836,
            "upload_time": "2024-04-02T08:05:37",
            "upload_time_iso_8601": "2024-04-02T08:05:37.896475Z",
            "url": "https://files.pythonhosted.org/packages/86/0c/93dae7f4c1cba4473f9ecdeba509f88468f493d84bf315c8b6c5bedf1e56/finance_mauritius-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-02 08:05:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "abdur-rahmaanJ",
    "github_project": "finance-mauritius",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "finance-mauritius"
}
        
Elapsed time: 0.26344s