Skip to content

Commit b287df6

Browse files
committed
income tax calculator
1 parent 125a657 commit b287df6

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

28_income_tax_calculator.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import requests
2+
3+
headers = {
4+
'Content-Type': 'application/x-www-form-urlencoded',
5+
'Accept': 'application/json',
6+
}
7+
8+
data = {
9+
'pay_rate': '10000',
10+
'filing_status': 'single',
11+
'pay_periods': 1,
12+
'state': 'CO',
13+
'year':
14+
'2014'
15+
}
16+
17+
r = requests.post(
18+
'http://taxee.io/api/v1/calculate/2014',
19+
data=data,
20+
headers=headers
21+
)
22+
23+
print(r.text)

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@
2727
1. **25_ip2geolocation.py**: Given a CSV file with an ip address (see sample - *25_sample_csv.csv*), return the geolocation based on the ip.
2828
1. **26_stock_scraper.py**: Scrape the S&P 500 Companies list from Wikipedia, then output the data.
2929
1. **27_send_sms.py**: Send SMS message via [TextBelt](http://textbelt.com/)
30+
1. **28_income_tax_calculator.py**: Income tax calcuator via [Taxee](http://taxee.io/)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy