COMPOUND INTEREST FACTORS
This is a module of compound interest factors which includes single payment, uniform payment series, and arithmetic gradient calculations
By Zaafirrahman
Installation
This library can be installed by the pip command, open your terminal and type in the following command...
pip install compoundinterest
Functions of this library
First import the library using this command
import compoundinterest as ci
and then proceed to call the functions
Single Payment
ci.fp()
This function can be used to calculate compound interest factor of future value based on present value
ci.pf()
This function can be used to calculate compound interest factor of present value based on future value
Uniform Payment Series
ci.fa()
This function can be used to calculate compound interest factor of future value based on annual value
ci.af()
This function can be used to calculate compound interest factor of annual value based on future value
ci.pa()
This function can be used to calculate compound interest factor of present value based on annual value
ci.ap()
This function can be used to calculate compound interest factor of annual value based on present value
Arithmetic Gradient
ci.pg()
This function can be used to calculate compound interest factor of present value based on gradient value
ci.ag()
This function can be used to calculate compound interest factor of annual value based on gradient value
The parameters
i (interest rate) - Interest rate (without percent) used in the calculation
n (time period) - Investment time period (in year/s) used in the calculation
Example :
You are saving $ 30,000 USD in the bank at an interest rate of 10% annually. How much will it be worth when you take it in 5 years?
In this case, the variables that you already know are present value ($ 30,000 USD), interest rate (10%), and investment period (5 years). Whereas the variable that you are looking for is the future value. So you will need the ci.fp() function with the following calculations:
>>> import compoundinterest as ci
>>> ci.fp(10,5)*30000
48315.30000000002
So, your money in the next 5 years is $ 48,315.3 USD
Metadata
Release files for compoundinterest 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| compoundinterest-0.0.1.tar.gz | 3.4 kB | Without provenance | Details for compoundinterest-0.0.1.tar.gz |
Release files / compoundinterest-0.0.1.tar.gz
| Download URL | compoundinterest-0.0.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82d33591f6ccca58e3e1479f7d9af8d2ff0a0bc19300c645ff6dc0e6d0aff63c
|
|
BLAKE2b-256 checksum How to use checksums |
80b4eb02f19e3b640464e188bbf4855be8b5056ad6f7bbe2851d8ef19e7f5df1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.1
|
Security for compoundinterest 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.