bitvavo-api-upgraded 1.15.8__py3-none-any.whl → 1.16.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bitvavo_api_upgraded/bitvavo.py +207 -166
- bitvavo_api_upgraded/helper_funcs.py +10 -4
- bitvavo_api_upgraded/py.typed +0 -0
- bitvavo_api_upgraded/settings.py +8 -4
- bitvavo_api_upgraded/type_aliases.py +8 -7
- bitvavo_api_upgraded-1.16.0.dist-info/METADATA +2429 -0
- bitvavo_api_upgraded-1.16.0.dist-info/RECORD +10 -0
- {bitvavo_api_upgraded-1.15.8.dist-info → bitvavo_api_upgraded-1.16.0.dist-info}/WHEEL +1 -2
- bitvavo_api_upgraded-1.15.8.dist-info/METADATA +0 -77
- bitvavo_api_upgraded-1.15.8.dist-info/RECORD +0 -10
- bitvavo_api_upgraded-1.15.8.dist-info/top_level.txt +0 -1
- {bitvavo_api_upgraded-1.15.8.dist-info → bitvavo_api_upgraded-1.16.0.dist-info/licenses}/LICENSE.txt +0 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
bitvavo_api_upgraded/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
bitvavo_api_upgraded/bitvavo.py,sha256=9TryOvHxo_z91FzGVNv3fyF84HcxRLqxafSlgshpCV4,124065
|
3
|
+
bitvavo_api_upgraded/helper_funcs.py,sha256=0R-vDTYMVkRi-0Zn0or9k1AfaWypSAKlTasiwBRmhNo,3210
|
4
|
+
bitvavo_api_upgraded/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
+
bitvavo_api_upgraded/settings.py,sha256=MalcO2buJso4NZktDRGGSZ7poF593ceb66zrmX-8dc4,1903
|
6
|
+
bitvavo_api_upgraded/type_aliases.py,sha256=RFBOvwyrX19wt7kE5n3k22h0xDgw2GJyzaVo8sxeYGA,834
|
7
|
+
bitvavo_api_upgraded-1.16.0.dist-info/METADATA,sha256=QgH_BVEfhZAYd9dfCBT2WELpoxS9ipaxRsDRRX8B_Vw,57945
|
8
|
+
bitvavo_api_upgraded-1.16.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
9
|
+
bitvavo_api_upgraded-1.16.0.dist-info/licenses/LICENSE.txt,sha256=FeSYm9RMOo-dfmbSYloapBdRwG_edqJHc1dApkjkfGk,738
|
10
|
+
bitvavo_api_upgraded-1.16.0.dist-info/RECORD,,
|
@@ -1,77 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: bitvavo-api-upgraded
|
3
|
-
Version: 1.15.8
|
4
|
-
Summary: A unit-tested fork of the Bitvavo API
|
5
|
-
Home-page: https://github.com/Thaumatorium/python-bitvavo-api
|
6
|
-
Author: Bitvavo BV (original code) and NostraDavid (rebuild)
|
7
|
-
License: ISC License
|
8
|
-
Platform: UNKNOWN
|
9
|
-
Classifier: Development Status :: 5 - Production/Stable
|
10
|
-
Classifier: Environment :: Console
|
11
|
-
Classifier: Framework :: Pytest
|
12
|
-
Classifier: Framework :: tox
|
13
|
-
Classifier: Intended Audience :: Developers
|
14
|
-
Classifier: Intended Audience :: Financial and Insurance Industry
|
15
|
-
Classifier: License :: OSI Approved :: ISC License (ISCL)
|
16
|
-
Classifier: Operating System :: MacOS :: MacOS X
|
17
|
-
Classifier: Operating System :: Microsoft :: Windows
|
18
|
-
Classifier: Operating System :: POSIX
|
19
|
-
Classifier: Programming Language :: Python :: 3.10
|
20
|
-
Classifier: Programming Language :: Python :: 3.7
|
21
|
-
Classifier: Programming Language :: Python :: 3.8
|
22
|
-
Classifier: Programming Language :: Python :: 3.9
|
23
|
-
Classifier: Programming Language :: Python
|
24
|
-
Classifier: Typing :: Typed
|
25
|
-
Requires-Python: >=3.7
|
26
|
-
Description-Content-Type: text/markdown
|
27
|
-
License-File: LICENSE.txt
|
28
|
-
Requires-Dist: python-decouple (==3.*,>=3.5)
|
29
|
-
Requires-Dist: python-semantic-release (==7.*,>=7.23)
|
30
|
-
Requires-Dist: requests (==2.*,>=2.26)
|
31
|
-
Requires-Dist: rich (==11.*,>=11.0)
|
32
|
-
Requires-Dist: structlog (==21.*,>=21.5)
|
33
|
-
Requires-Dist: websocket-client (==1.*,>=1.2)
|
34
|
-
|
35
|
-
# Bitvavo API (upgraded)
|
36
|
-
|
37
|
-
Hi, this is *not* the official API, but this one has:
|
38
|
-
|
39
|
-
- build-in documentation
|
40
|
-
- typing for *all* functions and classes
|
41
|
-
- unit tests (I already found ~~three~~ ~~four~~ ~~five~~ six bugs that I fixed, because the original code wasn't tested, at all)
|
42
|
-
- a changelog, so you can track of the changes that I make
|
43
|
-
- compatible with Python 3.7 and newer ([3.6 isn't supported as of 2021-12-23](https://endoflife.date/python))
|
44
|
-
- a working version of `getRemainingLimit()`
|
45
|
-
- will actually wait until the ban has been lifted (in case you get banned)
|
46
|
-
- more stable api-calls, due to calculating lag between client and server
|
47
|
-
- fancy logging via `structlog`, including external loggers like from the urllib3 and websocket libs!
|
48
|
-
- a working `ACCESSWINDOW` variable that actually times the api calls out - makes failing Bitvavo API calls fail faster!
|
49
|
-
|
50
|
-
Version `1.*` is guaranteed compatible\* with the original API.
|
51
|
-
|
52
|
-
\*: Except for `Bitvavo.candles`. I had to renamed the `symbol` argument to `market`, because the `candles` call actually excpects a `market`. So that's more of a bugfix.
|
53
|
-
|
54
|
-
\*\*: Same goes for `Bitvavo.book`; it had the same problem as `candles`.
|
55
|
-
|
56
|
-
\*\*\*: And I removed the `rateLimitThread` class, but that should've been used internally only anyway
|
57
|
-
|
58
|
-
## Customizable settings
|
59
|
-
|
60
|
-
Through the magic of the python-decouple lib, when you use this lib, you can create a `settings.ini` (Windows [example](https://pypi.org/project/python-decouple/#ini-file)) or a `.env` (Linux [example](https://pypi.org/project/python-decouple/#env-file)) and add some handy settings there.
|
61
|
-
|
62
|
-
Here is an example list of the settings for this lib:
|
63
|
-
|
64
|
-
```ini
|
65
|
-
BITVAVO_API_UPGRADED_LOG_LEVEL=INFO # Set the lib's log level
|
66
|
-
BITVAVO_API_UPGRADED_LOG_EXTERNAL_LEVEL=WARNING # Set the libs that are used by *this* lib's log level
|
67
|
-
BITVAVO_API_UPGRADED_LAG=50 # the time difference between the server and your local time (you'll have to calculate this yourself - tip: use the bitvavo.time() functionality in a separate script)
|
68
|
-
BITVAVO_API_UPGRADED_RATE_LIMITING_BUFFER=25 # default 25, set to 50 if you get "you have been banned" messages (or even higher, if needed)
|
69
|
-
```
|
70
|
-
|
71
|
-
## Links
|
72
|
-
|
73
|
-
- [Official API Documentation](https://docs.bitvavo.com/)
|
74
|
-
- [Official Trading Rules](https://bitvavo.com/en/trading-rules) (recommended read, as it explains a lot of jargon; It's OK to not understand this document if you're just starting out - I don't fully understand the document either)
|
75
|
-
- [Github for this lib](https://github.com/Thaumatorium/bitvavo-api-upgraded)
|
76
|
-
|
77
|
-
|
@@ -1,10 +0,0 @@
|
|
1
|
-
bitvavo_api_upgraded/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
bitvavo_api_upgraded/bitvavo.py,sha256=Q0oOkKPX8lNHZ_3S8TZ9dEOnsXBmOuZRVxz6ZC3dDko,122717
|
3
|
-
bitvavo_api_upgraded/helper_funcs.py,sha256=owtZ11s2IYKEmWnGrQgbvlR8H0QuKNQeRTrqBKpBL2w,3011
|
4
|
-
bitvavo_api_upgraded/settings.py,sha256=cql1NmPbU3V1omEj4zzvcG-YKCFa1u3CsHt7PfgDOJ4,1837
|
5
|
-
bitvavo_api_upgraded/type_aliases.py,sha256=hcs-SotnvBewRpnV644fpbtq3sLKK5jeWPdylv3y_DA,839
|
6
|
-
bitvavo_api_upgraded-1.15.8.dist-info/LICENSE.txt,sha256=FeSYm9RMOo-dfmbSYloapBdRwG_edqJHc1dApkjkfGk,738
|
7
|
-
bitvavo_api_upgraded-1.15.8.dist-info/METADATA,sha256=8aMm4Mb32YlrbjqSHFWu9--817cYVBueB1DRH9dzL9A,3907
|
8
|
-
bitvavo_api_upgraded-1.15.8.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
9
|
-
bitvavo_api_upgraded-1.15.8.dist-info/top_level.txt,sha256=jc0cBaIC_2T7T38vNd5yn5qHwi-m8rPf3FdYTvq3eSk,21
|
10
|
-
bitvavo_api_upgraded-1.15.8.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
bitvavo_api_upgraded
|
{bitvavo_api_upgraded-1.15.8.dist-info → bitvavo_api_upgraded-1.16.0.dist-info/licenses}/LICENSE.txt
RENAMED
File without changes
|