A python lib for using Mambu APIs.
Project description
[![Build Status](https://travis-ci.org/jstitch/MambuPy.svg?branch=master)](https://travis-ci.org/jstitch/MambuPy)
# MambuPy
## A python API for using Mambu.
Allows accessing Mambu via its REST API. Also includes SQLAlchemy
mappings to a backup of its DataBase.
Mambu is a cloud platform which lets you rapidly build, integrate,
launch and service any lending portfolio into any market
(https://www.mambu.com).
### Mambu REST API
Mambu allows communicating via a RESTful API (documented at
https://developer.mambu.com/).
MambuPy includes a set of classes whose purpose is connecting to this
REST Api and work with Mambu entities on your python scripts.
You must configure your Mambu account for allowing an API user to
connect with it for this functionality to work.
For more information, look at the MambuStruct class and all the
classes inheriting from it. MambuPy implements this at all the scripts
named ``mambu*.py``
### Mambu Database Backup
Mambu also allows their users to download a dump of its database. It
is a MySQL schema, documented at https://developer.mambu.com.
MambuPy includes a set of SQLAlchemy mappings that can connect to
the Mambu database dump.
You must download a valid dump of your Mambu database, and then
extract and restore on a local MySQL server of your own for this
functionality to work.
For more information, look at the scripts named ``schema*.py``
### Installation
Currently MambuPy works on Python 2.7
You may install MambuPy by git-cloning this repository on your local
environment and making it available anywhere on your ``PYTHONPATH``.
You may also use ``pip install mambupy`` but please consider that the
current configuration process doesn't works well with this kind of
installation.
### Configuration
You must configure your local MambuPy environment first so you can
correctly use this module.
Look at ``mambuconfig.py`` for more information.
### Work in progress
MambuPy is a work in progress, on a very early stage of its
development.
Currently it allows a limited connection to some of the more important
Mambu entitites accessible via its REST API.
Also, not all of the Mambu Database schema is currently mapped.
Finally, also note that Mambu itself delivers changes on a regular
basis that may include new functionality on its REST API, and changes
on its database tables. Currently MambuPy works with the last version
of Mambu but NOT ALL of its functionality is implemented. Making a
complete implementation of the REST API and the mapping of the
Database, and keeping them up to date with the last version of Mambu,
is one of the main objectives of the MambuPy project.
Please consider supporting the project by forking, improving and
pull-requesting it.
#### TODOs
TODO comments for hackers are included at:
* TODO file
* pydoc string at ``__init__.py``
* pydoc strings all around the code
#### Release Notes
* v0.8 first release notes
- implementation of PATCH request method on MambuStruct
- implementation of MambuTask entity and MambuTasks iterable
### Author
JNC
jstitch@gmail.com
# MambuPy
## A python API for using Mambu.
Allows accessing Mambu via its REST API. Also includes SQLAlchemy
mappings to a backup of its DataBase.
Mambu is a cloud platform which lets you rapidly build, integrate,
launch and service any lending portfolio into any market
(https://www.mambu.com).
### Mambu REST API
Mambu allows communicating via a RESTful API (documented at
https://developer.mambu.com/).
MambuPy includes a set of classes whose purpose is connecting to this
REST Api and work with Mambu entities on your python scripts.
You must configure your Mambu account for allowing an API user to
connect with it for this functionality to work.
For more information, look at the MambuStruct class and all the
classes inheriting from it. MambuPy implements this at all the scripts
named ``mambu*.py``
### Mambu Database Backup
Mambu also allows their users to download a dump of its database. It
is a MySQL schema, documented at https://developer.mambu.com.
MambuPy includes a set of SQLAlchemy mappings that can connect to
the Mambu database dump.
You must download a valid dump of your Mambu database, and then
extract and restore on a local MySQL server of your own for this
functionality to work.
For more information, look at the scripts named ``schema*.py``
### Installation
Currently MambuPy works on Python 2.7
You may install MambuPy by git-cloning this repository on your local
environment and making it available anywhere on your ``PYTHONPATH``.
You may also use ``pip install mambupy`` but please consider that the
current configuration process doesn't works well with this kind of
installation.
### Configuration
You must configure your local MambuPy environment first so you can
correctly use this module.
Look at ``mambuconfig.py`` for more information.
### Work in progress
MambuPy is a work in progress, on a very early stage of its
development.
Currently it allows a limited connection to some of the more important
Mambu entitites accessible via its REST API.
Also, not all of the Mambu Database schema is currently mapped.
Finally, also note that Mambu itself delivers changes on a regular
basis that may include new functionality on its REST API, and changes
on its database tables. Currently MambuPy works with the last version
of Mambu but NOT ALL of its functionality is implemented. Making a
complete implementation of the REST API and the mapping of the
Database, and keeping them up to date with the last version of Mambu,
is one of the main objectives of the MambuPy project.
Please consider supporting the project by forking, improving and
pull-requesting it.
#### TODOs
TODO comments for hackers are included at:
* TODO file
* pydoc string at ``__init__.py``
* pydoc strings all around the code
#### Release Notes
* v0.8 first release notes
- implementation of PATCH request method on MambuStruct
- implementation of MambuTask entity and MambuTasks iterable
### Author
JNC
jstitch@gmail.com
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
MambuPy-0.8.2.tar.gz
(55.6 kB
view details)
Built Distributions
MambuPy-0.8.2-py2.7.egg
(315.4 kB
view details)
MambuPy-0.8.2-py2-none-any.whl
(138.9 kB
view details)
File details
Details for the file MambuPy-0.8.2.tar.gz
.
File metadata
- Download URL: MambuPy-0.8.2.tar.gz
- Upload date:
- Size: 55.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f70944882e637df97f218b6ad3bd7eee14c89be55b464b7d8d711ec77f97c07 |
|
MD5 | 28d9a5010eb26be2f71b4cd1b6d0213f |
|
BLAKE2b-256 | d35cc29ba1107945a02593187fba003b8eff2ad6f8de696bb3585ed99a0fc3a7 |
File details
Details for the file MambuPy-0.8.2-py2.7.egg
.
File metadata
- Download URL: MambuPy-0.8.2-py2.7.egg
- Upload date:
- Size: 315.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4cfce63c6cff968db8783697e970ad18716fed91794fec4c75f09bcc3634f78 |
|
MD5 | d03628db292877af2ece7a58346c41fc |
|
BLAKE2b-256 | 97177edc266d5160bf607691249f71bc07c2034cabcc49d0723e4c8618de7003 |
File details
Details for the file MambuPy-0.8.2-py2-none-any.whl
.
File metadata
- Download URL: MambuPy-0.8.2-py2-none-any.whl
- Upload date:
- Size: 138.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8e48c256d8ddbcf875ba8841b8ea3f95d465e232a6a0ea53d268555a759c29b |
|
MD5 | d86b8693d2dfc858b24fd2b567350617 |
|
BLAKE2b-256 | f303b9c99cd771412e091f26af84609e560f929b26d17ed041abcca61938d148 |