pyMorpho is an implementation of Morpho Blue(GPL), MetaMorpho(GPL) and AdaptiveCurve IRM(MIT) in Python. Their implementation in python is derived directly from the solidity implementations.
This library can be used to run simulations on top of Morpho.
Install from pypi
pip install pymorpho
Install from source
git clone https://github.com/kakagri/pyMorpho.git
cd pyMorpho
python -m pip install .
Portions of the codebase, namely the implementations of ERC20, ERC4626, Morpho components are directly derived from Openzeppelin and Morpho’s codebases which are under MIT and GPL licenses.