Skip to content

mobidevke/PyFineract

Repository files navigation

PyFineract

PyPI Build Status Coverage Status

PyFineract is a Python (2 and 3) library to access an Apache Fineract Api. This library enables you to manage resources such as clients, loans, loan products etc in your python applications.

Install

$ pip install PyFineract

Demo

from fineract import Fineract

# First create a Fineract instance

# using username, password, tenant and base url
f = Fineract("mifos", "password", "default, "https://localhost/fineract-provider/api/v1")

# Then play with Fineract objects:
for client in f.get_clients():
    print(client.full_name)
    

Raw Requests

Since this project is still in it's early stages of development, we have provided a method that can be used to make raw requests.

clients = f.raw_request('GET', '/clients', params={'limit': 10})
print(clients)

Documentation (WIP)

Full documentation can be found here.

Disclaimer

Python 2 support ends at version 0.0.89