Skip to content

Commit 6da3f49

Browse files
committed
cleanup in README
1 parent 6f1bf22 commit 6da3f49

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

README.rst

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ InfluxDB 2.0 client features
5050
- write user types using decorator
5151
- write Pandas DataFrame
5252
- `InfluxDB 2.0 API <https://github.com/influxdata/influxdb/blob/master/http/swagger.yml>`_ client for management
53-
- the client is generated from `swagger <https://github.com/influxdata/influxdb/blob/master/http/swagger.yml>`_ by using `openapi-generator <https://github.com/OpenAPITools/openapi-generator>`_
53+
- 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>`_
5454
- organizations & users management
5555
- buckets management
5656
- tasks management
@@ -69,18 +69,12 @@ InfluxDB python library uses `RxPY <https://github.com/ReactiveX/RxPY>`_ - The R
6969
pip install
7070
^^^^^^^^^^^
7171

72-
If the python package is hosted on Github, you can install latest version directly from Github
72+
The python package is hosted on Github, you can install latest version directly:
7373

7474
.. code-block:: sh
7575
7676
pip3 install git+https://github.com/influxdata/influxdb-client-python.git
7777
78-
(you may need to run ``pip`` with root permission:
79-
80-
.. code-block:: sh
81-
82-
sudo pip3 install git+https://github.com/influxdata/influxdb-client-python.git
83-
8478
Then import the package:
8579

8680
.. code-block:: python
@@ -98,18 +92,12 @@ Install via `Setuptools <http://pypi.python.org/pypi/setuptools>`_.
9892
9993
(or ``sudo python setup.py install`` to install the package for all users)
10094

101-
Then import the package:
102-
103-
.. code-block:: python
104-
105-
import influxdb_client
106-
10795
.. marker-install-end
10896
10997
Getting Started
11098
---------------
11199

112-
Please follow the `installation procedure <#installation>`_ and then run the following:
100+
Please follow the `Installation`_ and then run the following:
113101

114102
.. marker-query-start
115103
@@ -459,7 +447,7 @@ Gzip support
459447
^^^^^^^^^^^^
460448
.. marker-gzip-start
461449
462-
``InfluxDBClient`` does not enable gzip compress for http request by default. If you want to enable gzip to reduce transfer data's size, you can call:
450+
``InfluxDBClient`` does not enable gzip compression for http requests by default. If you want to enable gzip to reduce transfer data's size, you can call:
463451

464452
.. code-block:: python
465453

0 commit comments

Comments
 (0)