Skip to content

Commit

Permalink
release 2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-zehentleitner committed May 11, 2024
1 parent 74e92eb commit beffb65
Show file tree
Hide file tree
Showing 29 changed files with 1,958 additions and 1,929 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
generate_release_notes: true
name: unicorn-binance-websocket-api
prerelease: false
tag_name: 2.6.0
tag_name: 2.6.1
token: ${{ secrets.GITHUB_TOKEN }}

- name: Create PyPi Release
Expand Down
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

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

## 2.6.0.dev (development stage/unreleased/unstable)
## 2.6.1.dev (development stage/unreleased/unstable)

## 2.6.1
### Added
- `print_summary()` and `print_stream_info()` now display `binance_api_status_code` in color! Green at 200 otherwise red.
### Changed
- Typing of `create_stream()` parameters
### Fixed
- Type of parameter `stream_label` in `manager.get_stream_id_by_label()`
- Type of parameter `stream_label` in `get_stream_id_by_label()`

## 2.6.0
### Added
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@ Run in bash:
`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`

#### Windows
Use the below command with the version (such as 2.6.0) you determined
Use the below command with the version (such as 2.6.1) you determined
[here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest):

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

Expand Down
2 changes: 1 addition & 1 deletion dev/set_version_config.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2.6.0
2.6.1
meta.yaml,pyproject.toml,setup.py,README.md,.github/workflows/build_wheels.yml,dev/sphinx/source/conf.py,unicorn_binance_websocket_api/manager.py
8 changes: 6 additions & 2 deletions dev/sphinx/source/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

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

## 2.6.0.dev (development stage/unreleased/unstable)
## 2.6.1.dev (development stage/unreleased/unstable)

## 2.6.1
### Added
- `print_summary()` and `print_stream_info()` now display `binance_api_status_code` in color! Green at 200 otherwise red.
### Changed
- Typing of `create_stream()` parameters
### Fixed
- Type of parameter `stream_label` in `manager.get_stream_id_by_label()`
- Type of parameter `stream_label` in `get_stream_id_by_label()`

## 2.6.0
### Added
Expand Down
2 changes: 1 addition & 1 deletion dev/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
release = '2.6.0'
release = '2.6.1'

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

Expand Down
4 changes: 2 additions & 2 deletions dev/sphinx/source/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@ Run in bash:
`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`

#### Windows
Use the below command with the version (such as 2.6.0) you determined
Use the below command with the version (such as 2.6.1) you determined
[here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest):

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

Expand Down
2 changes: 1 addition & 1 deletion docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 4b0fdacd6b1defec9fafd6ad78232530
config: 5f1f03a826c0e219f2a79afca595fa79
tags: 645f666f9bcd5a90fca523b33c5a78b7
4 changes: 2 additions & 2 deletions docs/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; unicorn-binance-websocket-api 2.6.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Overview: module code &#8212; unicorn-binance-websocket-api 2.6.1 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=92fd9be5" />
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=fdf8e9ae" />
Expand Down Expand Up @@ -254,7 +254,7 @@ <h3>Navigation</h3>
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
See <a href="/license.html">License</a> for more information.<br />
Last updated on May 10 2024 at 19:01 (CET).
Last updated on May 11 2024 at 16:56 (CET).
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
<br />
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
Expand Down
22 changes: 13 additions & 9 deletions docs/_modules/unicorn_binance_websocket_api/manager.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>unicorn_binance_websocket_api.manager &#8212; unicorn-binance-websocket-api 2.6.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>unicorn_binance_websocket_api.manager &#8212; unicorn-binance-websocket-api 2.6.1 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=92fd9be5" />
<link rel="stylesheet" type="text/css" href="../../_static/pydoctheme.css?v=fdf8e9ae" />
Expand Down Expand Up @@ -206,7 +206,7 @@ <h1>Source code for unicorn_binance_websocket_api.manager</h1><div class="highli
<span class="kn">from</span> <span class="nn">typing_extensions</span> <span class="kn">import</span> <span class="n">Literal</span>

<span class="n">__app_name__</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;unicorn-binance-websocket-api&quot;</span>
<span class="n">__version__</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;2.6.0.dev&quot;</span>
<span class="n">__version__</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;2.6.1.dev&quot;</span>

<span class="n">logger</span> <span class="o">=</span> <span class="n">logging</span><span class="o">.</span><span class="n">getLogger</span><span class="p">(</span><span class="s2">&quot;unicorn_binance_websocket_api&quot;</span><span class="p">)</span>

Expand Down Expand Up @@ -1810,14 +1810,14 @@ <h1>Source code for unicorn_binance_websocket_api.manager</h1><div class="highli
<div class="viewcode-block" id="BinanceWebSocketApiManager.create_stream">
<a class="viewcode-back" href="../../unicorn_binance_websocket_api.html#unicorn_binance_websocket_api.manager.BinanceWebSocketApiManager.create_stream">[docs]</a>
<span class="k">def</span> <span class="nf">create_stream</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span>
<span class="n">channels</span><span class="o">=</span><span class="p">[],</span>
<span class="n">markets</span><span class="o">=</span><span class="p">[],</span>
<span class="n">stream_label</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">channels</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">markets</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">stream_label</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">stream_buffer_name</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span>
<span class="n">api_key</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">api_secret</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">api_key</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">api_secret</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">symbols</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">output</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span>
<span class="n">output</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">Literal</span><span class="p">[</span><span class="s1">&#39;dict&#39;</span><span class="p">,</span> <span class="s1">&#39;raw_data&#39;</span><span class="p">,</span> <span class="s1">&#39;UnicornFy&#39;</span><span class="p">]]</span> <span class="o">=</span> <span class="s2">&quot;raw_data&quot;</span><span class="p">,</span>
<span class="n">ping_interval</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">ping_timeout</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">close_timeout</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
Expand Down Expand Up @@ -1956,6 +1956,10 @@ <h1>Source code for unicorn_binance_websocket_api.manager</h1><div class="highli

<span class="sd"> :return: stream_id or &#39;None&#39;</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">if</span> <span class="n">channels</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">channels</span> <span class="o">=</span> <span class="p">[]</span>
<span class="k">if</span> <span class="n">markets</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">markets</span> <span class="o">=</span> <span class="p">[]</span>
<span class="c1"># handle Websocket API streams: https://developers.binance.com/docs/binance-trading-api/websocket_api</span>
<span class="k">if</span> <span class="n">api</span> <span class="ow">is</span> <span class="kc">True</span><span class="p">:</span>
<span class="k">if</span> <span class="n">api_key</span> <span class="ow">is</span> <span class="kc">None</span> <span class="ow">or</span> <span class="n">api_secret</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
Expand Down Expand Up @@ -5410,7 +5414,7 @@ <h3>Navigation</h3>
<a href="https://docs.lucit.tech">Index of all LUCIT Software Documentation</a><br />
&copy; <a href="/license.html">Copyright</a> 2023-2023, LUCIT Systems and Development. All Rights Reserved..
See <a href="/license.html">License</a> for more information.<br />
Last updated on May 10 2024 at 18:54 (CET).
Last updated on May 11 2024 at 16:55 (CET).
<a href="https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/new/choose">Found a bug</a>?
<br />
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
Expand Down
8 changes: 6 additions & 2 deletions docs/_sources/changelog.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

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

## 2.6.0.dev (development stage/unreleased/unstable)
## 2.6.1.dev (development stage/unreleased/unstable)

## 2.6.1
### Added
- `print_summary()` and `print_stream_info()` now display `binance_api_status_code` in color! Green at 200 otherwise red.
### Changed
- Typing of `create_stream()` parameters
### Fixed
- Type of parameter `stream_label` in `manager.get_stream_id_by_label()`
- Type of parameter `stream_label` in `get_stream_id_by_label()`

## 2.6.0
### Added
Expand Down
4 changes: 2 additions & 2 deletions docs/_sources/readme.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@ Run in bash:
`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`

#### Windows
Use the below command with the version (such as 2.6.0) you determined
Use the below command with the version (such as 2.6.1) you determined
[here](https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/releases/latest):

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

Expand Down
Loading

0 comments on commit beffb65

Please sign in to comment.