Tax-Calculator

Structural Overview

Tax-Calculator has been designed using object-oriented programming (OOP) principles. There are seven classes and a collection of global utility functions, but most Python programming involves using only a few methods in three classes.

Quick Summary

Typical Tax-Calculator usage involves creating two Calculator class objects: both containing the same sample of filing units (that is, Records class object), but each containing a different tax policy (that is, Policy class object). The idea is to compare the calculated tax liabilities of the sample units under the two different tax policies, one of which is usually current-law policy and the other is a tax reform of interest.

For examples of Python scripts that use these classes and methods, see the Python Cookbook.

For detailed documentation and source code for these three classes, see:

Complete Story

Tax-Calculator contains eight basic classes, and a collection of global utility functions, that together provide the full range of Tax-Calculator capabilities. Here is a description of their role in Tax-Calculator and a link to each the detailed documentation and source code for each class and all its methods.

Classes

Utilities

Documentation and source code for the global utility functions are in utils.py.