Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb287df6

Browse files
committed
income tax calculator
1 parent125a657 commitb287df6

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+
importrequests
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)

[8]ページ先頭

©2009-2025 Movatter.jp