About
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
si.calculate_itaxes(700, 'AL')
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.
Testing
The testing is currently in tests/test_states.py. As time goes I am working on adding new tests in there.
Release files for sit-calc-rileycworstell 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sit-calc-rileycworstell-0.0.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sit_calc_rileycworstell-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / sit-calc-rileycworstell-0.0.1.tar.gz
| Download URL | sit-calc-rileycworstell-0.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
253c9c4b68f9eb0755a94f8592781f038bc0d2a8661b0c3e24d15361a06444e4
|
|
BLAKE2b-256 checksum How to use checksums |
8d358db9f320c657dc558a93184c0a65661e13489f2fd4cf7ae329c8af0ce77c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.2
|
Release files / sit_calc_rileycworstell-0.0.1-py3-none-any.whl
| Download URL | sit_calc_rileycworstell-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69bb957030e042d41ac8ad9f8c0a33abd5a54ec07b5e3851a79454d1e5cfc901
|
|
BLAKE2b-256 checksum How to use checksums |
2693fddfc7642dec123a517f50d43be92486d9dbc6df2c34fc8a32c1ac4b56fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.2
|