Skip to content

Commit 38a58fa

Browse files
2.8.1 RC
1 parent 2a45cfb commit 38a58fa

37 files changed

+2148
-2132
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
generate_release_notes: true
9191
name: unicorn-binance-websocket-api
9292
prerelease: false
93-
tag_name: 2.8.0
93+
tag_name: 2.8.1
9494
token: ${{ secrets.GITHUB_TOKEN }}
9595

9696
- name: Create PyPi Release

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
99

1010
[How to upgrade to the latest version!](https://unicorn-binance-websocket-api.docs.lucit.tech/readme.html#installation-and-upgrade)
1111

12-
## 2.8.0.dev (development stage/unreleased/unstable)
12+
## 2.8.1.dev (development stage/unreleased/unstable)
13+
14+
## 2.8.1
15+
### Changed
16+
- Log levels in `send_with_stream()` to be less verbose.
17+
### Fixed
18+
- `AttributeError: 'NoneType' object has no attribute 'get'` in `get_latest_version()`.
1319

1420
## 2.8.0
1521
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,10 +487,10 @@ Run in bash:
487487
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/$(curl -s https://api.github.com/repos/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")').tar.gz --upgrade`
488488

489489
#### Windows
490-
Use the below command with the version (such as 2.8.0) you determined
490+
Use the below command with the version (such as 2.8.1) you determined
491491
[here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest):
492492

493-
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.0.tar.gz --upgrade`
493+
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.1.tar.gz --upgrade`
494494
### From the latest source (dev-stage) with PIP from [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api)
495495
This is not a release version and can not be considered to be stable!
496496

dev/set_version_config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
2.8.0
1+
2.8.1
22
meta.yaml,pyproject.toml,setup.py,README.md,.github/workflows/build_wheels.yml,dev/sphinx/source/conf.py,unicorn_binance_websocket_api/manager.py

dev/sphinx/create_docs.sh

100644100755
File mode changed.

dev/sphinx/install_sphinx.sh

100644100755
File mode changed.

dev/sphinx/source/changelog.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
99

1010
[How to upgrade to the latest version!](https://unicorn-binance-websocket-api.docs.lucit.tech/readme.html#installation-and-upgrade)
1111

12-
## 2.8.0.dev (development stage/unreleased/unstable)
12+
## 2.8.1.dev (development stage/unreleased/unstable)
13+
14+
## 2.8.1
15+
### Changed
16+
- Log levels in `send_with_stream()` to be less verbose.
17+
### Fixed
18+
- `AttributeError: 'NoneType' object has no attribute 'get'` in `get_latest_version()`.
1319

1420
## 2.8.0
1521
### Added

dev/sphinx/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# The short X.Y version
2828
version = ''
2929
# The full version, including alpha/beta/rc tags
30-
release = '2.8.0'
30+
release = '2.8.1'
3131

3232
html_last_updated_fmt = "%b %d %Y at %H:%M (CET)"
3333

dev/sphinx/source/readme.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async def main():
113113
stream_label="TRADES",
114114
process_asyncio_queue=process_asyncio_queue)
115115
while not ubwa.is_manager_stopping():
116-
await asyncio.sleep(1)
116+
await asyncio.sleep(1)
117117
118118
with BinanceWebSocketApiManager(exchange='binance.com') as ubwa:
119119
try:
@@ -334,6 +334,8 @@ parameter of
334334
to control the output format.
335335

336336
- Helpful management features like
337+
[`clear_asyncio_queue()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.clear_asyncio_queue),
338+
[`clear_stream_buffer()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.clear_stream_buffer),
337339
[`get_binance_api_status()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_binance_api_status),
338340
[`get_current_receiving_speed()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_current_receiving_speed),
339341
[`get_errors_from_endpoints()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.get_errors_from_endpoints),
@@ -357,7 +359,6 @@ to control the output format.
357359
[`set_ringbuffer_error_max_size()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.set_ringbuffer_error_max_size),
358360
[`subscribe_to_stream()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.subscribe_to_stream),
359361
[`stop_stream()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.stop_stream),
360-
[`stop_manager_with_all_streams()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.stop_manager_with_all_streams),
361362
[`unsubscribe_from_stream()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.unsubscribe_from_stream),
362363
[`wait_till_stream_has_started()`](https://unicorn-binance-websocket-api.docs.lucit.tech/unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.wait_till_stream_has_started)
363364
and many more! Explore them [here](https://unicorn-binance-websocket-api.docs.lucit.tech/modules.html).
@@ -404,8 +405,8 @@ If you like the project, please [![star](https://raw.githubusercontent.com/lucit
404405
[GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api)!
405406

406407
## Live Demo
407-
This live demo script is streaming from [binance.com](https://www.binance.com) and runs on a *cx31* virtual
408-
machine of [HETZNER CLOUD](https://www.hetzner.com) - [get 20 EUR starting credit!](https://hetzner.cloud/?ref=rKgYRMq0l8fd)
408+
This live demo script is streaming from [binance.com](https://www.binance.com) and runs on a *CCX13* virtual
409+
machine of [HETZNER CLOUD](https://hetzner.cloud/?ref=rKgYRMq0l8fd)
409410

410411
[Open live monitor!](https://www.lucit.tech/unicorn-binance-websocket-api-live-demo.html)
411412

@@ -486,25 +487,15 @@ Run in bash:
486487
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/$(curl -s https://api.github.com/repos/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")').tar.gz --upgrade`
487488

488489
#### Windows
489-
Use the below command with the version (such as 2.8.0) you determined
490+
Use the below command with the version (such as 2.8.1) you determined
490491
[here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest):
491492

492-
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.0.tar.gz --upgrade`
493+
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/2.8.1.tar.gz --upgrade`
493494
### From the latest source (dev-stage) with PIP from [GitHub](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api)
494495
This is not a release version and can not be considered to be stable!
495496

496497
`pip install https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/tarball/master --upgrade`
497498

498-
### [Conda environment](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html), [Virtualenv](https://virtualenv.pypa.io/en/latest/) or plain [Python](https://www.python.org)
499-
Download the [latest release](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest)
500-
or the [current master branch](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/archive/master.zip)
501-
and use:
502-
503-
- ./environment.yml
504-
- ./pyproject.toml
505-
- ./requirements.txt
506-
- ./setup.py
507-
508499
## Change Log
509500
[https://unicorn-binance-websocket-api.docs.lucit.tech/changelog.html](https://unicorn-binance-websocket-api.docs.lucit.tech/changelog.html)
510501

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 2378c4895ab8bf9c492f28e3df6cc630
3+
config: fd133eda891a50821eb39e080c87ce22
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_modules/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Overview: module code &#8212; unicorn-binance-websocket-api 2.8.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Overview: module code &#8212; unicorn-binance-websocket-api 2.8.1 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
88

99
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=92fd9be5" />
1010
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=fdf8e9ae" />
@@ -98,7 +98,7 @@ <h3>GitHub</h3>
9898
</div>
9999
</div>
100100

101-
<div class="related" role="navigation" aria-label="related navigation">
101+
<div class="related" role="navigation" aria-label="Related">
102102
<h3>Navigation</h3>
103103
<ul>
104104
<li class="right" style="margin-right: 10px">
@@ -156,7 +156,7 @@ <h1>All modules for which code is available</h1>
156156
</div>
157157
</div>
158158
</div>
159-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
159+
<div class="sphinxsidebar" role="navigation" aria-label="Main">
160160
<div class="sphinxsidebarwrapper">
161161
<p class="logo">
162162
<div style="text-align: center;">
@@ -212,7 +212,7 @@ <h3>GitHub</h3>
212212
</div>
213213
<div class="clearer"></div>
214214
</div>
215-
<div class="related" role="navigation" aria-label="related navigation">
215+
<div class="related" role="navigation" aria-label="Related">
216216
<h3>Navigation</h3>
217217
<ul>
218218
<li class="right" style="margin-right: 10px">
@@ -254,10 +254,10 @@ <h3>Navigation</h3>
254254
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
255255
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
256256
See <a href="/license.html">License</a> for more information.<br />
257-
Last updated on May 16 2024 at 22:48 (CET).
257+
Last updated on Nov 01 2024 at 11:34 (CET).
258258
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
259259
<br />
260-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
260+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
261261
with <a href="https://github.com/LUCIT-Systems-and-Development/python-docs-theme-lucit">python-docs-theme-lucit</a>
262262
by <a href="https://www.lucit.tech">LUCIT Systems and Development</a>.
263263
</div>

docs/_modules/unicorn_binance_websocket_api/api.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>unicorn_binance_websocket_api.api &#8212; unicorn-binance-websocket-api 2.8.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>unicorn_binance_websocket_api.api &#8212; unicorn-binance-websocket-api 2.8.1 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
88

99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=92fd9be5" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/pydoctheme.css?v=fdf8e9ae" />
@@ -98,7 +98,7 @@ <h3>GitHub</h3>
9898
</div>
9999
</div>
100100

101-
<div class="related" role="navigation" aria-label="related navigation">
101+
<div class="related" role="navigation" aria-label="Related">
102102
<h3>Navigation</h3>
103103
<ul>
104104
<li class="right" style="margin-right: 10px">
@@ -2142,7 +2142,7 @@ <h1>Source code for unicorn_binance_websocket_api.api</h1><div class="highlight"
21422142
</div>
21432143
</div>
21442144
</div>
2145-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
2145+
<div class="sphinxsidebar" role="navigation" aria-label="Main">
21462146
<div class="sphinxsidebarwrapper">
21472147
<p class="logo">
21482148
<div style="text-align: center;">
@@ -2198,7 +2198,7 @@ <h3>GitHub</h3>
21982198
</div>
21992199
<div class="clearer"></div>
22002200
</div>
2201-
<div class="related" role="navigation" aria-label="related navigation">
2201+
<div class="related" role="navigation" aria-label="Related">
22022202
<h3>Navigation</h3>
22032203
<ul>
22042204
<li class="right" style="margin-right: 10px">
@@ -2241,10 +2241,10 @@ <h3>Navigation</h3>
22412241
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
22422242
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
22432243
See <a href="/license.html">License</a> for more information.<br />
2244-
Last updated on May 16 2024 at 22:48 (CET).
2244+
Last updated on Nov 01 2024 at 11:34 (CET).
22452245
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
22462246
<br />
2247-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
2247+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
22482248
with <a href="https://github.com/LUCIT-Systems-and-Development/python-docs-theme-lucit">python-docs-theme-lucit</a>
22492249
by <a href="https://www.lucit.tech">LUCIT Systems and Development</a>.
22502250
</div>

docs/_modules/unicorn_binance_websocket_api/connection.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>unicorn_binance_websocket_api.connection &#8212; unicorn-binance-websocket-api 2.8.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>unicorn_binance_websocket_api.connection &#8212; unicorn-binance-websocket-api 2.8.1 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
88

99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=92fd9be5" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/pydoctheme.css?v=fdf8e9ae" />
@@ -98,7 +98,7 @@ <h3>GitHub</h3>
9898
</div>
9999
</div>
100100

101-
<div class="related" role="navigation" aria-label="related navigation">
101+
<div class="related" role="navigation" aria-label="Related">
102102
<h3>Navigation</h3>
103103
<ul>
104104
<li class="right" style="margin-right: 10px">
@@ -370,7 +370,7 @@ <h1>Source code for unicorn_binance_websocket_api.connection</h1><div class="hig
370370
</div>
371371
</div>
372372
</div>
373-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
373+
<div class="sphinxsidebar" role="navigation" aria-label="Main">
374374
<div class="sphinxsidebarwrapper">
375375
<p class="logo">
376376
<div style="text-align: center;">
@@ -426,7 +426,7 @@ <h3>GitHub</h3>
426426
</div>
427427
<div class="clearer"></div>
428428
</div>
429-
<div class="related" role="navigation" aria-label="related navigation">
429+
<div class="related" role="navigation" aria-label="Related">
430430
<h3>Navigation</h3>
431431
<ul>
432432
<li class="right" style="margin-right: 10px">
@@ -469,10 +469,10 @@ <h3>Navigation</h3>
469469
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
470470
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
471471
See <a href="/license.html">License</a> for more information.<br />
472-
Last updated on May 16 2024 at 22:48 (CET).
472+
Last updated on Nov 01 2024 at 11:34 (CET).
473473
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
474474
<br />
475-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
475+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
476476
with <a href="https://github.com/LUCIT-Systems-and-Development/python-docs-theme-lucit">python-docs-theme-lucit</a>
477477
by <a href="https://www.lucit.tech">LUCIT Systems and Development</a>.
478478
</div>

docs/_modules/unicorn_binance_websocket_api/exceptions.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>unicorn_binance_websocket_api.exceptions &#8212; unicorn-binance-websocket-api 2.8.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>unicorn_binance_websocket_api.exceptions &#8212; unicorn-binance-websocket-api 2.8.1 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
88

99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=92fd9be5" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/pydoctheme.css?v=fdf8e9ae" />
@@ -98,7 +98,7 @@ <h3>GitHub</h3>
9898
</div>
9999
</div>
100100

101-
<div class="related" role="navigation" aria-label="related navigation">
101+
<div class="related" role="navigation" aria-label="Related">
102102
<h3>Navigation</h3>
103103
<ul>
104104
<li class="right" style="margin-right: 10px">
@@ -242,7 +242,7 @@ <h1>Source code for unicorn_binance_websocket_api.exceptions</h1><div class="hig
242242
</div>
243243
</div>
244244
</div>
245-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
245+
<div class="sphinxsidebar" role="navigation" aria-label="Main">
246246
<div class="sphinxsidebarwrapper">
247247
<p class="logo">
248248
<div style="text-align: center;">
@@ -298,7 +298,7 @@ <h3>GitHub</h3>
298298
</div>
299299
<div class="clearer"></div>
300300
</div>
301-
<div class="related" role="navigation" aria-label="related navigation">
301+
<div class="related" role="navigation" aria-label="Related">
302302
<h3>Navigation</h3>
303303
<ul>
304304
<li class="right" style="margin-right: 10px">
@@ -341,10 +341,10 @@ <h3>Navigation</h3>
341341
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
342342
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
343343
See <a href="/license.html">License</a> for more information.<br />
344-
Last updated on May 16 2024 at 22:48 (CET).
344+
Last updated on Nov 01 2024 at 11:34 (CET).
345345
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
346346
<br />
347-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
347+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
348348
with <a href="https://github.com/LUCIT-Systems-and-Development/python-docs-theme-lucit">python-docs-theme-lucit</a>
349349
by <a href="https://www.lucit.tech">LUCIT Systems and Development</a>.
350350
</div>

0 commit comments

Comments
 (0)