Skip to main content

A comprehensive toolkit for various financial calculations and tools.

Project description

PyFinOps

FinToolkit is a comprehensive Python package for various financial calculations and tools. It includes:

  • SIP Calculator: Calculate the future value of Systematic Investment Plan (SIP) investments.
  • Compound Interest Calculator: Calculate the future value of investments with compound interest.

Installation

You can install PyFinOps via pip:

pip install PyFinOps

How to use:

SIP Calculator

Calculate the future value of a Systematic Investment Plan (SIP) investment.

from pyfinops import SIPCalculator

# Create an instance of the calculator
sip_calculator = SIPCalculator(monthly_investment=500, annual_rate=12, years=10)
# Calculate the future value of the SIP investment
future_value = sip_calculator.calculate_future_value()
print(f"Future Value of SIP: ${future_value}")
# Display SIP details including total investment and interest earned
sip_calculator.display_sip_details()

Compound Interest Calculator

Calculate the future value of an investment using compound interest.

from pyfinops import CompoundInterestCalculator

# Create an instance of the calculator
compound_interest_calculator = CompoundInterestCalculator(principal=1000, annual_rate=5, times_compounded=12, years=10)

# Calculate the future value of the investment
future_value = compound_interest_calculator.calculate_future_value()
print(f"Future Value of Investment: ${future_value}")

# Display investment details including principal, future value, and total interest earned
compound_interest_calculator.display_investment_details()

Command line usage

sip-calculator --monthly-investment 500 --annual-rate 12 --years 10

compound-interest --principal 1000 --annual-rate 5 --times-compounded 12 --years 10


Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyFinOps-0.3.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file PyFinOps-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: PyFinOps-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.8

File hashes

Hashes for PyFinOps-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 daebd7be6c59a8f35d31e1b81ca26919eb8330bf63999417f0dfd0a90db386c7
MD5 f6bd781c971210074326dc7ea92af83e
BLAKE2b-256 94d202db30b30084a6c6bdcd00439fbab7b5379d7a0bb5a5f3d85b09879ccf8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page