bitvavo-api-upgraded 1.15.8__tar.gz → 1.17.0__tar.gz

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.
Files changed (39) hide show
  1. bitvavo_api_upgraded-1.17.0/.github/README.md +3 -0
  2. bitvavo_api_upgraded-1.17.0/.github/workflows/release.yml +30 -0
  3. bitvavo_api_upgraded-1.17.0/.gitignore +27 -0
  4. bitvavo_api_upgraded-1.17.0/.pre-commit-config.yaml +32 -0
  5. bitvavo_api_upgraded-1.17.0/.python-version +5 -0
  6. bitvavo_api_upgraded-1.17.0/CHANGELOG.md +444 -0
  7. {bitvavo-api-upgraded-1.15.8 → bitvavo_api_upgraded-1.17.0}/LICENSE.txt +2 -2
  8. bitvavo_api_upgraded-1.17.0/PKG-INFO +319 -0
  9. bitvavo_api_upgraded-1.17.0/README.md +284 -0
  10. {bitvavo-api-upgraded-1.15.8 → bitvavo_api_upgraded-1.17.0}/README.pypi.md +24 -9
  11. bitvavo_api_upgraded-1.17.0/docs/assets/bitvavo-mark-square-blue.svg +5 -0
  12. bitvavo_api_upgraded-1.17.0/docs/rest.md +72 -0
  13. bitvavo_api_upgraded-1.17.0/pyproject.toml +368 -0
  14. bitvavo_api_upgraded-1.17.0/scripts/bootstrap.sh +17 -0
  15. bitvavo_api_upgraded-1.17.0/src/bitvavo_api_upgraded/__init__.py +3 -0
  16. {bitvavo-api-upgraded-1.15.8 → bitvavo_api_upgraded-1.17.0}/src/bitvavo_api_upgraded/bitvavo.py +271 -184
  17. {bitvavo-api-upgraded-1.15.8 → bitvavo_api_upgraded-1.17.0}/src/bitvavo_api_upgraded/helper_funcs.py +11 -5
  18. {bitvavo-api-upgraded-1.15.8 → bitvavo_api_upgraded-1.17.0}/src/bitvavo_api_upgraded/settings.py +8 -4
  19. {bitvavo-api-upgraded-1.15.8 → bitvavo_api_upgraded-1.17.0}/src/bitvavo_api_upgraded/type_aliases.py +10 -7
  20. bitvavo_api_upgraded-1.17.0/tests/__init__.py +0 -0
  21. bitvavo_api_upgraded-1.17.0/tests/conftest.py +90 -0
  22. bitvavo_api_upgraded-1.17.0/tests/test_bitvavo.py +1660 -0
  23. bitvavo_api_upgraded-1.17.0/tests/test_helper_funcs.py +27 -0
  24. bitvavo_api_upgraded-1.17.0/tox.ini +19 -0
  25. bitvavo_api_upgraded-1.17.0/uv.lock +1266 -0
  26. bitvavo-api-upgraded-1.15.8/MANIFEST.in +0 -3
  27. bitvavo-api-upgraded-1.15.8/PKG-INFO +0 -71
  28. bitvavo-api-upgraded-1.15.8/README.md +0 -2277
  29. bitvavo-api-upgraded-1.15.8/pyproject.toml +0 -121
  30. bitvavo-api-upgraded-1.15.8/requirements/base.txt +0 -6
  31. bitvavo-api-upgraded-1.15.8/requirements/dev.txt +0 -22
  32. bitvavo-api-upgraded-1.15.8/setup.cfg +0 -4
  33. bitvavo-api-upgraded-1.15.8/setup.py +0 -47
  34. bitvavo-api-upgraded-1.15.8/src/bitvavo_api_upgraded.egg-info/PKG-INFO +0 -71
  35. bitvavo-api-upgraded-1.15.8/src/bitvavo_api_upgraded.egg-info/SOURCES.txt +0 -18
  36. bitvavo-api-upgraded-1.15.8/src/bitvavo_api_upgraded.egg-info/dependency_links.txt +0 -1
  37. bitvavo-api-upgraded-1.15.8/src/bitvavo_api_upgraded.egg-info/requires.txt +0 -6
  38. bitvavo-api-upgraded-1.15.8/src/bitvavo_api_upgraded.egg-info/top_level.txt +0 -1
  39. /bitvavo-api-upgraded-1.15.8/src/bitvavo_api_upgraded/__init__.py → /bitvavo_api_upgraded-1.17.0/src/bitvavo_api_upgraded/py.typed +0 -0
@@ -0,0 +1,3 @@
1
+ # Github README
2
+
3
+ I set this up via [Publishing package distribution releases using GitHub Actions CI/CD workflows](https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/)
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: Publish to PyPI and TestPyPI
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ jobs:
8
+ build-n-publish:
9
+ name: Publish to PyPI and TestPyPI
10
+ runs-on: ubuntu-24.04
11
+ environment:
12
+ name: release
13
+ permissions:
14
+ # For PyPI's trusted publishing.
15
+ id-token: write
16
+ steps:
17
+ - name: Checkout Repository
18
+ uses: actions/checkout@v3
19
+ - name: Install uv
20
+ uses: astral-sh/setup-uv@v3
21
+ - name: Build Wheel
22
+ run: uv build
23
+ - name: Publish Release on GitHub
24
+ uses: actions/download-artifact@v4
25
+ with:
26
+ pattern: wheels-*
27
+ path: wheels
28
+ merge-multiple: true
29
+ - name: Publish to PyPI
30
+ run: uv publish --verbose dist/*
@@ -0,0 +1,27 @@
1
+ /*
2
+
3
+ # dirs
4
+ !.github/
5
+ !requirements/
6
+ !scripts/
7
+ !src/
8
+ !tests/
9
+ !docs/
10
+
11
+ # files
12
+ !.bumpversion.cfg
13
+ !.gitignore
14
+ !.pre-commit-config.yaml
15
+ !.python-version
16
+ !CHANGELOG.md
17
+ !LICENSE.txt
18
+ !pyproject.toml
19
+ !README.md
20
+ !README.pypi.md
21
+ !uv.lock
22
+ !tox.ini
23
+
24
+ # re-ignore recursively
25
+ __pycache__
26
+ *.egg-info
27
+ *.pyc
@@ -0,0 +1,32 @@
1
+ ---
2
+ repos:
3
+ # update the rev versions with a `pre-commit autoupdate`
4
+ - repo: https://github.com/astral-sh/ruff-pre-commit
5
+ rev: v0.7.3
6
+ hooks:
7
+ - id: ruff # Run the linter.
8
+ - id: ruff-format # Run the formatter.
9
+ - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
10
+ rev: 0.2.3
11
+ hooks:
12
+ - id: yamlfmt
13
+ args:
14
+ - --mapping
15
+ - "2"
16
+ - --sequence
17
+ - "4"
18
+ - --offset
19
+ - "2"
20
+ - --width
21
+ - "120"
22
+ - --preserve-quotes
23
+ - repo: https://github.com/adrienverge/yamllint
24
+ rev: v1.35.1
25
+ hooks:
26
+ - id: yamllint
27
+ args: [--format, parsable]
28
+ name: yamllint
29
+ description: This hook runs yamllint.
30
+ entry: yamllint
31
+ language: python
32
+ types: [file, yaml]
@@ -0,0 +1,5 @@
1
+ 3.9.20
2
+ 3.10.15
3
+ 3.11.10
4
+ 3.12.7
5
+ 3.13.0
@@ -0,0 +1,444 @@
1
+ # Changelog
2
+
3
+ ## v1.17.0 - 2024-11-24
4
+
5
+ Integrate all changes from Bitvavo's `v1.1.1` to `v1.4.2` lib versions,
6
+ basically catching up their changes with our code. The reason for choosing
7
+ `v1.1.1` as starting point, is because I'm not sure if I missed anything,
8
+ because if I follow the timeline on PyPI is that I should pick `v1.2.2`, but if
9
+ I look at my commit history, I should choose an older point. Oh well, it's only
10
+ a little bit more work.
11
+
12
+ I used [this Github
13
+ link](https://github.com/bitvavo/python-bitvavo-api/compare/v1.1.1...v1.4.2) to
14
+ compare their versions.
15
+
16
+ ### Added
17
+
18
+ - `fees()` call. This was added to the Python SDK in early 2024.
19
+ - `_default(value, fallback)` function, which ensures a `fallback` is returned,
20
+ if `value` is `None`. This ensures sane values will always be available.
21
+ - `strintdict` type, as I had a bunch of `dict` types copied.
22
+
23
+ ### Changed
24
+
25
+ - you can now do `from bitvavo_api_upgraded import Bitvavo`, instead of `from
26
+ bitvavo_api_upgraded.bitvavo import Bitvavo`, which always felt annoying. You
27
+ can still use the old way; no worries.
28
+ - lowercased the http headers like `Bitvavo-Ratelimit-Remaining`, because
29
+ Bitvavo updated the API, which broke this code. This should probably fix the
30
+ issues of older versions of this lib going over the rate limit. 😅
31
+ - `LICENSE.txt`'s year got updated
32
+ - in `README.md`, below my text, I've replaced their old README with their
33
+ current one.
34
+ - fixed coverage report; I switched to `pytest-cov`, from `coverage.py`
35
+ eventhough `pytest-cov` still uses `coverage.py`, but the output was messed up
36
+ (it also covered `tests/`, wich was unintentional)
37
+
38
+ ### Unchanged
39
+
40
+ Normally I don't add this chapter, but I'm moving changes from Bitvavo's repo to
41
+ here, so it's good I'll track this stuff for later.
42
+
43
+ - I did NOT add the `name` var to `__init__.py`, because I'm pretty sure they
44
+ added it for their build process, but since I'm using `uv` I don't need that.
45
+ - Did not add `self.timeout`, as I use `self.ACCESSWINDOW / 1000` instead.
46
+
47
+ ## v1.16.0 - 2024-11-18
48
+
49
+ Quite a few changes, most aimed at the maintenance of this project, but all
50
+ changes are superficial - the functional code has not changed.
51
+
52
+ ### Added
53
+
54
+ - `ruff`, which replaces `auotflake`, `black`, `flake8`, `isort`, and `pyupgrade`, in both `pyproject.toml` and
55
+ `.pre-commit-config.yaml`
56
+ - `from __future__ import annotations`, so I can already use `|` instead of
57
+ `Union`
58
+ - `py.typed` to enable mypy support for people who use this lib :)
59
+ - `wrap_public_request` to `conftest.py`, so I can more easily fix tests, if a market like `BABYDOGE-EUR` returns broken
60
+ data (missing fields, `None` values, etc)
61
+
62
+ ### Changed
63
+
64
+ - replaced `pip` with `uv`; I've become a big fan, since I don't have to handle the Python version anymore
65
+ - [uv installation](https://docs.astral.sh/uv/getting-started/installation/) - do prefer the `curl` installation so
66
+ you can `uv self update` and not need to touch your system's Python installation at all!
67
+ - Just `uv sync` to setup the `.venv`, and then `uv run tox` to run tox, or `uv run black` to run black, etc.
68
+ - updated dependencies in `pyproject.toml`, and `.pre-commit-config.yaml`
69
+ - because we're dropping Python 3.7 and 3.8 support, we can finally use lowercase `list` and `dict`
70
+ - fixed a bunch of tests (disabled one with errorCode 400), due to minor API
71
+ changes.
72
+ - formatting using `ruff`
73
+ - replace the unmaintained `bump2version` with `bump-my-version`
74
+
75
+ ### Removed
76
+
77
+ - support for Python `3.7`, `3.8`; both EOL since last update
78
+ - `check-manifest` (used for `MANIFEST.in`)
79
+ - `rich`, as it would force its use on my users, and that's a no-no, as it's WAY
80
+ too verbose. >:(
81
+
82
+ ## v1.15.8 - 2022-03-13
83
+
84
+ ### Changed
85
+
86
+ - also iso format
87
+
88
+ ## v1.15.7 - 2022-03-13
89
+
90
+ ### Changed
91
+
92
+ - add currentTime to napping-until-reset log
93
+
94
+ ## v1.15.6 - 2022-03-13
95
+
96
+ ### Changed
97
+
98
+ - add buffer time to sleep()
99
+
100
+ ## v1.15.5 - 2022-03-13
101
+
102
+ ### Changed
103
+
104
+ - format targetDatetime
105
+
106
+ ## v1.15.4 - 2022-03-13
107
+
108
+ ### Changed
109
+
110
+ - same as last one, except also for private calls
111
+
112
+ ## v1.15.3 - 2022-03-13
113
+
114
+ ### Changed
115
+
116
+ - add targetDatetime to napping-until-reset info log
117
+
118
+ ## v1.15.2 - 2022-03-13
119
+
120
+ ### Changed
121
+
122
+ - fix not being able to override settings variables
123
+
124
+ ## v1.15.1 - 2022-03-13
125
+
126
+ ### Changed
127
+
128
+ - fix the rateLimit check for private calls (this was a bug that let you get banned when making too many calls)
129
+
130
+ ## v1.15.0 - 2022-02-09
131
+
132
+ ### Changed
133
+
134
+ - fix the callback functions, again
135
+ - internal `Bitvavo.websocket` is now `Bitvavo.WebSocketAppFacade` (which is a better, more descriptive, name)
136
+ - internal `receiveThread` class is now `ReceiveThread`
137
+
138
+ ### Removed
139
+
140
+ - bug that broke the code, lmao
141
+
142
+ ## v1.14.1 - 2022-02-09
143
+
144
+ ### Changed
145
+
146
+ - fixed the websocket's callback functions
147
+
148
+ ## v1.14.0 - 2022-02-06
149
+
150
+ Make `upgraded_bitvavo_api` multi-processing friendly! :D
151
+
152
+ ### Added
153
+
154
+ - add chapted to PyPI to shortly explain how to change settings for this lib.
155
+ - add `BITVAVO_API_UPGRADED_RATE_LIMITING_BUFFER` variable. Default value `25`; Change this to 50 or higher _only_ when
156
+ you keep getting banned, because you're running more than one `Bitvavo` object. If you're only running one `Bitvavo`
157
+ objects, you're probably fine.
158
+
159
+ ## v1.13.2 - 2022-02-06
160
+
161
+ ### Changed
162
+
163
+ - fixed a bug where I subtracted where I should've added, making 304 errors more likely 😅
164
+
165
+ ## v1.13.1 - 2022-01-29
166
+
167
+ ### Changed
168
+
169
+ - You will now be informed that you have been temporary banned, even if you did NOT enable the `DEBUGGING` var during
170
+ creation of the `Bitvavo` object. Such a stupid design, originally.
171
+
172
+ ## v1.13.0 - 2022-01-23
173
+
174
+ ### Changed
175
+
176
+ - fixed the API timeout (which did nothing, client-side), by adding a timeout to the actual API call. If `ACCESSWINDOW`
177
+ is now set (when creating `Bitvavo`) to `2000` ms, it will time-out after `2000` ms, and not wait the full `30_000` ms
178
+ anyway.
179
+
180
+ ## v1.12.0 - 2022-01-21
181
+
182
+ ### Added
183
+
184
+ - A trigger to nap `Bitvavo` when `rateLimitRemaining` is about run empty, until `rateLimitResetAt` has elapsed and
185
+ `rateLimitRemaining` has reset, after which the API call will continue as normal. ONLY WORKS FOR NORMAL CALLS -
186
+ WEBSOCKET NOT (yet?) SUPPORTED!
187
+
188
+ ## v1.11.5 - 2022-01-19
189
+
190
+ A `.env` file is just a text file with "equal-separated" key-value pairs. No spaces around the `=` symbol!
191
+
192
+ ### Added
193
+
194
+ - `calcLag()` to `Bitvavo`, which returns the time difference between the server's clock and your local clock. Set the
195
+ variable 1 line down to the value that comes out of this function :)
196
+ - `BITVAVO_API_UPGRADED_LAG=50` option for your `.env` file, to reduce the amount of `304 "Request was not received
197
+ within acceptable window"` errors I was getting. Default value of this setting is 50 (milliseconds), but it is better
198
+ if you override it :)
199
+ - One or two patch-versions back I added `BITVAVO_API_UPGRADED_EXTERNAL_LOG_LEVEL` as an option, but forgot to mention
200
+ it 😅. This setting covers all loggers that are used by this lib's dependencies (`requests`, which makes use of
201
+ `urllib3`, and `websocket-client` to be a bit more specific). Use this setting to shut them up, by setting the
202
+ variable to `WARNING` or `CRITICAL` 😁
203
+
204
+ ## v1.11.4 - 2022-01-19
205
+
206
+ ### Removed
207
+
208
+ - duplicate log messages ;)
209
+
210
+ ## v1.11.3 - 2022-01-18
211
+
212
+ ### Changed
213
+
214
+ - The logger should now be fixed; I wanted all subloggers to get integrated into the struclog style instead of putting
215
+ out some standard text.
216
+
217
+ ## v1.11.2 - 2022-01-16
218
+
219
+ ### Added
220
+
221
+ - putting `BITVAVO_API_UPGRADED_LOG_LEVEL=DEBUG` into a `.env` file in your client should make this lib spam you with
222
+ log messages.
223
+
224
+ ### Changed
225
+
226
+ - replaced `python-dotenv` with `python-decouple` lib. This enables us to set default values for settible settings.
227
+
228
+ ## v1.11.1 - 2022-01-16
229
+
230
+ I ran the unittests this time >\_>
231
+
232
+ ### Changed
233
+
234
+ - fixed bug where `self.debugging` could not be found in `Bitvavo`
235
+
236
+ ## v1.11.0 - 2022-01-16
237
+
238
+ ### Changed
239
+
240
+ - all external loggers (urllib3 and websocket being big ones) now all use a fancy format to log! Or at least, they
241
+ should be!
242
+ - improved pypi README
243
+
244
+ ## v1.10.0 - 2022-01-15
245
+
246
+ No more `print()` bullshit! :D
247
+
248
+ ### Added
249
+
250
+ - classifiers on the pypi page
251
+ - a better logging library (structlog). This should enable you to control logging better (while providing better logs!)
252
+
253
+ ## v1.9.0 - 2022-01-15
254
+
255
+ ### Changed
256
+
257
+ - fixed a critical bug that broke the `Bitvavo` class
258
+
259
+ ## v1.8.3 - 2022-01-15
260
+
261
+ ### Changed
262
+
263
+ - improve api calls by subtracting some client-server lag; This should make calls more stable
264
+ - simplify Bitvavo constructor (doesn't change anything about the external API)
265
+ - fix time_to_wait by checking whether curr_time > rateLimitResetAt
266
+
267
+ ### Removed
268
+
269
+ - rateLimitThread, because it has been a pain in my ass. Using a regular `sleep()` is much better, I noticed.
270
+
271
+ ## v1.8.2 - 2022-01-15
272
+
273
+ ### Changed
274
+
275
+ - `time_to_wait` now _always_ returns a positive number. I'm getting sick of sleep getting a negative number
276
+
277
+ ## v1.8.1 - 2022-01-15
278
+
279
+ ### Added
280
+
281
+ - type aliases! You can now use `s`, `ms`, `us`, instead of slapping `int` on everything! float versions `s_f`, `ms_f`
282
+ and `us_f` are also available. You'll likely use `ms` and `s_f` most of the time :)
283
+ - helper functions! I added `time_ms` and `time_to_wait` to hide some weird calculations behind functions.
284
+
285
+ ### Changed
286
+
287
+ - improved the timing calculation and typing of certain values a bit
288
+
289
+ ## v1.8.0 - 2022-01-11
290
+
291
+ ### Changed
292
+
293
+ - fixed getRemainingLimit - This explains why it NEVER changed from 1000...
294
+
295
+ ## v1.7.0 - 2021-12-31
296
+
297
+ Documentation now comes built-in! :D
298
+
299
+ I'll probably find some typo/minor error right after creating this version, but I think for users this is one of the
300
+ more important updates, so out it does!
301
+
302
+ PS: Happy new year! I write this as it's 2021-12-31 23:15. Almost stopping, so I can stuff my face with Oliebollen and
303
+ celebrate new year! :D
304
+
305
+ ### Added
306
+
307
+ - documentation/docstrings for almost every function and method!
308
+ - type aliases: `anydict`,`strdict`,`intdict`,`errordict`
309
+ - types for `caplog` and `capsys` in all `test_*` function
310
+
311
+ ### Changed
312
+
313
+ - `candle` wasn't the only wrongly named method. `book` was too. Changed `symbol` argument to `market`
314
+ - string concatenation converted to f-strings
315
+ - a ton of improvements to unit tests, checking for types, and conversion possibilities, though most of them for
316
+ `Bitvavo`, not for `Bitvavo.websocket`
317
+ - simplified a few functions; though I wrote tests for them to confirm behavior before changing them
318
+ - improved type hints for several functions - for example: replaced some `Any`'s with `Union[List[anydict], anydict]`;
319
+ in other words: reduced the use of `Any`
320
+
321
+ ### Removed
322
+
323
+ - the old non-documentation above each function (it usually started with `# options:`)
324
+
325
+ ## v1.6.0 - 2021-12-29
326
+
327
+ Bugfix round! All found bugs in the original code should now be fixed.
328
+
329
+ ### Changed
330
+
331
+ - fixed ["Negative sleep time length"](https://github.com/bitvavo/python-bitvavo-api/pull/22)
332
+ - fixed ["API response error when calling depositAssets()"](https://github.com/bitvavo/python-bitvavo-api/pull/18)
333
+ - in `Bitvavo.candles()` renamed the `symbol` argument to `market`, because candles expects a market, and not a
334
+ symbol... The only API break I've done so far, but it's super minor.
335
+
336
+ ## v1.5.0 - 2021-12-29
337
+
338
+ ### Added
339
+
340
+ - separate README for pypi; now I can keep that separate from the one on Github; they can share _some_ information, but
341
+ don't need to share all
342
+ - guides on how to get started as either a users or a developer (who wants to work on this lib)
343
+ - test support for Python 3.7 - 3.10
344
+
345
+ ### Changed
346
+
347
+ - dependencies are now loosened so users of this lib get more freedom to choose their versions
348
+
349
+ ## v1.4.1 - 2021-12-29
350
+
351
+ ### Changed
352
+
353
+ - nothing, I just need to push a new commit to Github so I can trigger a new publish
354
+
355
+ ## v1.4.0 - 2021-12-29
356
+
357
+ ### Changed
358
+
359
+ - set the `mypy` settings to something sane (as per some rando internet articles)
360
+ - `pre-commit` `flake8` support; this was initially disabled due to too a lack of sane settings
361
+ - reduced pyupgrade from `--py39-plus` to `--py38-plus`, due to `39` changing `Dict` to `dict` and `List` to `list`, but
362
+ `mypy` not being able to handle those new types yet.
363
+ - added types to _all_ functions, methods and classes
364
+
365
+ ## v1.3.3 - 2021-12-29
366
+
367
+ ### Changed
368
+
369
+ - fix the workflow (hopefully) - if I did, then this is the last you'll see about that
370
+
371
+ ## v1.3.2 - 2021-12-29
372
+
373
+ ### Changed
374
+
375
+ - fix requirements; 1.3.1 is _broken_
376
+
377
+ ## v1.3.1 - 2021-12-29
378
+
379
+ ### Changed
380
+
381
+ - easy fix to enable publishing to PyPi: disable the `if` that checks for tags 😅
382
+
383
+ ## v1.3.0 - 2021-12-28
384
+
385
+ ### Changed
386
+
387
+ - when there's a version bump, Github should push to PyPi now (not only to https://test.pypi.org)
388
+
389
+ ## v1.1.1 - 2021-12-28
390
+
391
+ ### Changed
392
+
393
+ - improved description
394
+
395
+ ## v1.1.0 - 2021-12-28
396
+
397
+ ### Added
398
+
399
+ - a metric fuckton of tests to check if everything works as expected. said tests are a bit... rough, but it's better
400
+ than nothing, as I already found two bugs that showed that the original code _did not work!_
401
+ - two fixtures: `bitvavo` and `websocket`, each used to test each category of methods (REST vs websockets)
402
+
403
+ ### Changed
404
+
405
+ - renamed the `python_bitvavo_api` folder to `bitvavo_api_upgraded`
406
+ - replaced `websocket` lib with `websocket-client`; I picked the wrong lib, initially, due to a lack of requirements in
407
+ the original repo
408
+ - the `*ToConsole` functions now use the logging library from Python, as the print statement raised an exception when it
409
+ received a exception object, instead of a string message...... (the `+` symbol was sorta the culprit, but not really -
410
+ the lack of tests was the true culprit)
411
+ - the `on_*` methods now have either an extra `self` or `ws` argument, needed to unfuck the websocket code
412
+
413
+ ### Removed
414
+
415
+ ...
416
+
417
+ ## v1.0.2 - 2021-12-27
418
+
419
+ Everything from since NostraDavid started this project; version `1.0.0` and `1.0.1` did not have `bump2version` working
420
+ well yet, which is why they do not have separate entries
421
+
422
+ ### Added
423
+
424
+ - autopublishing to pypi
425
+ - capability to use a `.env` file to hold `BITVAVO_APIKEY` and `BITVAVO_APISECRET` variables
426
+ - `setup.py`; it was missing as _someone_ added it to .gitignore
427
+ - `__init__.py` to turn the code into a package (for `setup.py`)
428
+ - `MANIFEST.in` to include certain files in the source distribution of the app (needed for tox)
429
+ - `scripts/bootstrap.sh` to get newbies up and running faster
430
+ - ton of tools (`pre-commit`, `tox`, `pytest`, `flake8`, etc; see `requirements/dev.txt` for more information)
431
+ - ton of settings (either in `tox.ini`, `pyproject.toml`, or in a dedicated file like `.pre-commit-config` or
432
+ `.bumpversion.cfg`)
433
+ - stub test to `test_bitvavo.py` to make tox happy
434
+ - added `# type: ignore` in `bitvavo.py` to shush mypy
435
+
436
+ ### Changed
437
+
438
+ - moved `python_bitvavo_api` into the `src` folders
439
+ - moved and renamed `src/python_bitvavo_api/testApi.py` to `tests/test_bitvavo.py` (for `pytest` compatibility)
440
+
441
+ ### Removed
442
+
443
+ - Nothing yet; I kept code changes to a minimum, until I got `bump2version` working with a `CHANGELOG.md` to prevent
444
+ changing things without noting it down.
@@ -1,6 +1,6 @@
1
1
  ISC License
2
2
 
3
- Copyright (c) 2018, Bitvavo
3
+ Copyright (c) 2024, Bitvavo B.V.
4
4
 
5
5
  Permission to use, copy, modify, and/or distribute this software for any
6
6
  purpose with or without fee is hereby granted, provided that the above
@@ -12,4 +12,4 @@ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
12
  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
13
  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
14
  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.