Why usury? Historically, charging any interest on a loan was considered usury. Of course, in today's world, the term refers to the practice of loans which abuse the lendee to enrich the lender, typically due to excessive or abusive interest rates.
Mr. Burns: By the way, are you acquainted with our state's stringent usury laws?
Homer: Us-ury?
Mr. Burns: Oh, silly me! I must have just made up a word that doesn't exist. Now, what is the purpose of this loan?
But that's okay, the usury library doesn't judge you. Whether you are trying to set up a savings and loan bank in the MMO of your choice, just trying to do some financial planning / analysis of your debt, or maybe you fell into the trap of loaning money to people... this library can help you do the math.
Well, assuming you want a simple interest loan, that is. Anything else isn't exactly supported yet. More should be Coming Soon (tm).
We welcome feedback on via the issues and pull request system on Github.
To install usury:
$ pip install usury
Documentation is available at https://usury.readthedocs.org/