From f1f1bce0ba337f8602584d2c82a4d5892e2e8599 Mon Sep 17 00:00:00 2001 From: Robert Hajek Date: Mon, 18 Nov 2019 10:07:24 +0100 Subject: [PATCH] release version 1.1.0 --- README.rst | 11 +++++------ influxdb_client/__init__.py | 2 +- influxdb_client/api_client.py | 2 +- influxdb_client/configuration.py | 2 +- scripts/pom.xml | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index 919ef6f1..5d7f56e0 100644 --- a/README.rst +++ b/README.rst @@ -49,9 +49,6 @@ InfluxDB 2.0 client features - `Line Protocol `_ - `Data Point `__ - `RxPY `__ Observable - - Not implemented yet - - write user types using decorator - - write Pandas DataFrame - `How to writes <#writes>`_ - `InfluxDB 2.0 API `_ client for management - the client is generated from the `swagger `_ by using the `openapi-generator `_ @@ -691,19 +688,21 @@ How to use Jupyter + Pandas + InfluxDB 2 """""""""""""""""""""""""""""""""""""""" The first example shows how to use client capabilities to predict stock price via `Keras `_, `TensorFlow `_, `sklearn `_: +The example is taken from `Kaggle `_. + * sources - `stock-predictions.ipynb `_ -.. image:: docs/images/stock-price-prediction.gif +.. image:: https://raw.githubusercontent.com/influxdata/influxdb-client-python/master/docs/images/stock-price-prediction.gif Result: -.. image:: docs/images/stock-price-prediction-results.png +.. image:: https://raw.githubusercontent.com/influxdata/influxdb-client-python/master/docs/images/stock-price-prediction-results.png The second example shows how to use client capabilities to realtime visualization via `hvPlot `_, `Streamz `_, `RxPY `_: * sources - `realtime-stream.ipynb `_ -.. image:: docs/images/realtime-result.gif +.. image:: https://raw.githubusercontent.com/influxdata/influxdb-client-python/master/docs/images/realtime-result.gif Advanced Usage diff --git a/influxdb_client/__init__.py b/influxdb_client/__init__.py index 819aa624..47bfe3fd 100644 --- a/influxdb_client/__init__.py +++ b/influxdb_client/__init__.py @@ -302,4 +302,4 @@ from influxdb_client.client.influxdb_client import InfluxDBClient from influxdb_client.client.write.point import Point -__version__ = '1.0.1dev' +__version__ = '1.1.0' diff --git a/influxdb_client/api_client.py b/influxdb_client/api_client.py index 131e9837..1399c715 100644 --- a/influxdb_client/api_client.py +++ b/influxdb_client/api_client.py @@ -75,7 +75,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.0.1dev/python' + self.user_agent = 'OpenAPI-Generator/1.1.0/python' def __del__(self): if self._pool: diff --git a/influxdb_client/configuration.py b/influxdb_client/configuration.py index 48460efc..1692e780 100644 --- a/influxdb_client/configuration.py +++ b/influxdb_client/configuration.py @@ -231,7 +231,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 0.1.0\n"\ - "SDK Package Version: 1.0.1dev".\ + "SDK Package Version: 1.1.0".\ format(env=sys.platform, pyversion=sys.version) def update_request_header_params(self, path: str, params: dict): diff --git a/scripts/pom.xml b/scripts/pom.xml index 92928f6b..9752d0e8 100644 --- a/scripts/pom.xml +++ b/scripts/pom.xml @@ -24,7 +24,7 @@ influxdb_client / false - 1.0.1dev + 1.1.0 false false