Skip to content

Commit

Permalink
release version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rhajek committed Nov 18, 2019
1 parent fb97b11 commit f1f1bce
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
11 changes: 5 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ InfluxDB 2.0 client features
- `Line Protocol <https://docs.influxdata.com/influxdb/v1.6/write_protocols/line_protocol_tutorial>`_
- `Data Point <https://github.com/influxdata/influxdb-client-python/blob/master/influxdb_client/client/write/point.py#L16>`__
- `RxPY <https://rxpy.readthedocs.io/en/latest/>`__ Observable
- Not implemented yet
- write user types using decorator
- write Pandas DataFrame
- `How to writes <#writes>`_
- `InfluxDB 2.0 API <https://github.com/influxdata/influxdb/blob/master/http/swagger.yml>`_ client for management
- the client is generated from the `swagger <https://github.com/influxdata/influxdb/blob/master/http/swagger.yml>`_ by using the `openapi-generator <https://github.com/OpenAPITools/openapi-generator>`_
Expand Down Expand Up @@ -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 <https://keras.io>`_, `TensorFlow <https://www.tensorflow.org>`_, `sklearn <https://scikit-learn.org/stable/>`_:

The example is taken from `Kaggle <https://www.kaggle.com/chaitanyacc4/predicting-stock-prices-of-apple-inc>`_.

* sources - `stock-predictions.ipynb <notebooks/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 <https://hvplot.pyviz.org>`_, `Streamz <https://streamz.readthedocs.io/en/latest/>`_, `RxPY <https://rxpy.readthedocs.io/en/latest/>`_:

* sources - `realtime-stream.ipynb <notebooks/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
Expand Down
2 changes: 1 addition & 1 deletion influxdb_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion influxdb_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion influxdb_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion scripts/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<packageName>influxdb_client</packageName>
<sourceFolder>/</sourceFolder>
<validatable>false</validatable>
<packageVersion>1.0.1dev</packageVersion>
<packageVersion>1.1.0</packageVersion>
</configOptions>
<generateModelDocumentation>false</generateModelDocumentation>
<generateApiDocumentation>false</generateApiDocumentation>
Expand Down

0 comments on commit f1f1bce

Please sign in to comment.