Skip to main content

Financial modelling in Python

Project description

pypi Build Status codecov Documentation Status

Financial modelling with Python and Pandas

Implemented functions:

  • Basic calculations
    • Net present Value
    • Internal rate of returns
    • Flat loan payments
    • Future value
    • Continuously compounded interest rate
  • Enterprise value
    • Free Cash Flows
    • Weighted average cost of capital and DCF

Based on this book Financial Modeling by Simon Benninga



  • Fixed broken API link
  • Fixed minor bugs


  • Fixed failed tests
  • Integrate code coverage
  • Cleaned-up code, relative paths, broken links


  • Switched to API for financials
  • PyPI release
  • readthedocs release

Features in the next releases

  • Optimal portfolio calculation
  • Caching of API results


The latest docs are available here.


Easiest way to install is to use pip

pip install pyfinmod


All contributions in the form of pull-requests and issue reports are welcome.


This package is originally created by Alexey Smirnov. All credits to him for his awesome work.

  1. Send him am email
  2. Shoot him a message in Linkedin
  3. Buy him a coffee here

Buy me a coffee

Project details

Download files

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

Files for pyfinmod, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size pyfinmod-0.2.2-py3-none-any.whl (7.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyfinmod-0.2.2.tar.gz (8.4 kB) File type Source Python version None Upload date Hashes View

Supported by

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