Skip to main content

A Python 3.9+ loan calculator

Project description

http://mybinder.org/badge.svg https://travis-ci.com/araichev/payulator.svg?branch=master

A small Python 3.9+ library that calculates loan payments. Similar to the business loan calculator at Calculator.net.

Installation

poetry add payulator

Usage

Play with the examples in the Jupyter notebook at notebooks/examples.ipynb You can even do so online by clicking the Binder badge above.

Authors

  • Alex Raichev, 2018-01-20

Documentation

On Github Pages here.

Changes

6.1.0, 2021-11-24

  • Tidied validation and post init in the Loan class.

6.0.0, 2021-11-23

  • Refactored by simplifying back down to one (more versatile) loan class.

5.0.0, 2021-11-23

  • Refactored by creating separate loan classes.

4.1.1, 2021-11-22

  • Renamed key interest_and_fee_total/principal to interest_and_fee_total_over_principal, which is a valid Python variable name.

4.1.0, 2021-11-22

  • Made validation automatic after instatiation, so no bad Loans can be created.

4.0.0, 2021-11-19

  • Refactored with an eye toward simplification.
  • Upgraded to Python 3.9.

3.4.0, 2020-09-30

  • Updated dependencies.

3.3.0, 2019-06-04

  • Added the key periodic_payment to the output of the function summarize_interest_only_loan.
  • Added the keys first_payment_date and last_payment_date to the output of the functions summarize_interest_only_loan and summarize_ammortized_loan.
  • Updated dependencies.

3.2.0, 2019-04-15

  • Added a fee_payment column to payment schedules. It’s debatable whether this is a breaking change. I’ll say no.
  • Added date slicing to the function aggregate_payment_schedules and some cumulative sum columns to the output. It’s debatable whether the latter is a breaking change. I’ll say no.
  • Added more type hints.
  • Published to PyPI.

3.1.0, 2019-02-22

  • Switched to Poetry
  • Switched to Python 3.6
  • Used data class

3.0.0, 2018-03-24

  • Changed function names
  • Added a Loan class

2.0.0, 2018-03-10

  • Changed function names
  • Replaced number of years with number of payments
  • Added a function to compute interest-only loans

1.1.0, 2018-03-03

  • Added the function aggregate_payment_schedules

1.0.0, 2018-01-27

  • First release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

payulator-6.1.0.tar.gz (9.1 kB view hashes)

Uploaded source

Built Distribution

payulator-6.1.0-py3-none-any.whl (8.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page