File tree Expand file tree Collapse file tree 3 files changed +8
-15
lines changed
Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 11import uuid
2-
3- # Due to compatibility requirements, we are importing a class here.
4- try :
5- from json import JSONDecodeError
6- except ImportError :
7- from simplejson import JSONDecodeError
2+ from json import JSONDecodeError
3+ from urllib .parse import urlencode
84
95import requests
106
11- from bunq .sdk .json import converter
12- from bunq .sdk import security
137from bunq .sdk import context
148from bunq .sdk import exception
15-
16- try :
17- from urllib import urlencode
18- except ImportError :
19- from urllib .parse import urlencode
9+ from bunq .sdk import security
10+ from bunq .sdk .json import converter
2011
2112
2213class ApiClient (object ):
Original file line number Diff line number Diff line change 22# This flag says that the code is written to work on both Python 2 and Python
33# 3. If at all possible, it is good practice to do this. If you cannot, you
44# will need to generate wheels for each Python version that you support.
5- universal =1
5+ universal =0
Original file line number Diff line number Diff line change 5656
5757 # Specify the Python versions you support here. In particular, ensure
5858 # that you indicate whether you support Python 2, Python 3 or both.
59- 'Programming Language :: Python :: 2.7' ,
6059 'Programming Language :: Python :: 3' ,
6160 'Programming Language :: Python :: 3.3' ,
6261 'Programming Language :: Python :: 3.4' ,
6362 'Programming Language :: Python :: 3.5' ,
6463 'Programming Language :: Python :: 3.6' ,
6564 ],
6665
66+ # Require Python version equal or more than Python 3.
67+ python_requires = '>=3' ,
68+
6769 # Keywords related to the project
6870 keywords = 'open-banking sepa bunq finance api payment' ,
6971
You can’t perform that action at this time.
0 commit comments