Metadata-Version: 2.1
Name: scex-py
Version: 1.0.5
Summary: 
Home-page: https://github.com/Lenders-Cooperative/scex_py
License: BSD-3-Clause
Author: Jatin Goel
Author-email: jatin.goel@thesummitgrp.com
Requires-Python: >=3.6.2,<4.0.0
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: requests (>=2.26.0,<2.27.0)
Requires-Dist: xmltodict (>=0.12.0,<0.13.0)
Description-Content-Type: text/markdown

# scex_py

Python wrapper for SCEX - Loan calculation package

## Pre-commit

Run the below command to install the pre-commit hooks:

```bash
$ poetry run pre-commit install
```

To execute the hooks without making any commit:

```bash
$ poetry run pre-commit run --all-files
```

## Usage

```
>>> from scex_py.scex_client import ScexClient

>>> client = ScexClient("host", "api_key")

>>> client.process_equal_payment_loan({
        "LoanDate": "2020-02-02",           # Year-month-date
        "PmtDate": "2020-02-02",            # Year-month-date
        "IntStartDate": "2020-02-02",       # Year-month-date
        "Proceeds": 20000,
        "Term": 5,
        "IntRate": 10,
        "TotalDown": 2000
    })
```

