Skip to main content

Calculate income tax based on state

Project description


This is a simple application which allows you to use the function and calculate (roughly) what you income taxes should be. This is for other developers who want a function to quickly calculate state income tax based on their state and income. This information should be used for FUN only, I am not an accountant :).

How to use this?

As a Function you can: With the and in your repository: import states_income_tax as si

si.calculate_itaxes(700, 'AL')

How the Data was Compiled.

I got the data from this project on Then I converted the exel document to a CSV file. Then I developed and ran the file included in the document and took the printed result and set that as a dictionary stored in the file.

How this works!

This dictionary (in allows the main function in states_income_tax/ to take your income and state and give you your estimated state income tax.


The testing is currently in tests/ As time goes I am working on adding new tests in there.

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 sit-calc-rileycworstell, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size sit_calc_rileycworstell-0.0.1-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sit-calc-rileycworstell-0.0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

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