Amortization Library
Project description
py-amortization
Python library for calculating amortizations and generating amortization schedules
Installation
pip install py-amortization
Usage
Python
Amortization Amount
from py_amortization import AmortizationAmount
amo_amount = AmortizationAmount(1000, 3)
# amortization amount in case of monthly payment for the period of 12 months
amo_amount.monthly(period=12)
# amortization amount in case of weekly payment for the period of 10 weeks
amo_amount.weekly(period=10)
Amortization Period
from py_amortization import AmortizationPeriod
amo_period = AmortizationPeriod(1000, 3)
# amortization period in case of monthly payment for amount of 100 per month
amo_period.monthly(amount=100)
# amortization period in case of weekly payment for amount of 100 per week
amo_period.weekly(amount=100)
Amortization Schedule
from py_amortization import AmortizationSchedule
amo_schedule = AmortizationSchedule(1000, 3)
# amortization schedule in case of monthly payment for the period of 12 months
amo_schedule.monthly(period=12)
# amortization schedule in case of weekly payment for for the period of 10 weeks
amo_schedule.weekly(period=10)
frequency types available
- monthly
- semi_monthly
- bi_monthly
- quarterly
- annual
- semi_annual
- weekly
- bi_weekly
- daily
0.1.0 (December 13, 2022)
- initital deployment
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
py-amortization-0.1.0.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py-amortization-0.1.0.tar.gz.
File metadata
- Download URL: py-amortization-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
505bc2f73e61be6e6ce386457ad60c9fa643eb784c3336b5cb342d04d8e7b5d8
|
|
| MD5 |
f734759a00d72ed7c45ab38cdbf05024
|
|
| BLAKE2b-256 |
a5b3f601ad30f7ecb296c5a35c23b71a003d6e3b68a62cf1d52fc5d0c9d2b8c0
|
File details
Details for the file py_amortization-0.1.0-py3-none-any.whl.
File metadata
- Download URL: py_amortization-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43f8e922cd08aa7e9f6e19837b1c0af29275d8bd73f5eaacc0272851faf5b877
|
|
| MD5 |
d040420466feb6c56531664ea84952aa
|
|
| BLAKE2b-256 |
92f21e7c6b23fe9a048478a2006d1acefa21525ff90c841265945214e94de136
|