Calculate income tax based on state
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 states_itax.py and tax_dict.py in your repository:
import states_income_tax as si
How the Data was Compiled.
I got the data from this project on https://taxfoundation.org/facts-and-figures-2020/ Then I converted the exel document to a CSV file. Then I developed and ran the pycsv.py file included in the document and took the printed result and set that as a dictionary stored in the tax_dict.py file.
How this works!
This dictionary (in tax_dict.py) allows the main function in states_income_tax/init.py to take your income and state and give you your estimated state income tax.
The testing is currently in tests/test_states.py. As time goes I am working on adding new tests in there.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for sit-calc-rileycworstell-0.0.1.tar.gz
Hashes for sit_calc_rileycworstell-0.0.1-py3-none-any.whl