You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InfluxDB is an open-source distributed time series database, find more about InfluxDB_ at http://influxdb.com/
31
+
InfluxDB is an open-source distributed time series database, find more about InfluxDB_ at https://docs.influxdata.com/influxdb/latest
35
32
36
33
37
34
.. _installation:
38
35
39
-
InfluxDB v0.8.X users
40
-
=====================
36
+
InfluxDB pre v1.1.0 users
37
+
-------------------------
41
38
42
-
InfluxDB 0.9 was released and it is the new recommended version. However, InfluxDB 0.8.x users may still use the legacy client by using ``from influxdb.influxdb08 import InfluxDBClient`` instead.
39
+
This module is tested with InfluxDB v1.2.4, our recommended version. Though there have been v1.3 (initial TSI branch) and v1.4 releases these are not
40
+
yet supported.
41
+
42
+
Those users still on InfluxDB v0.8.x users may still use the legacy client by importing ``from influxdb.influxdb08 import InfluxDBClient``.
43
43
44
44
Installation
45
-
============
45
+
------------
46
46
47
-
Install, upgrade and uninstall InfluxDB-Python with these commands::
47
+
Install, upgrade and uninstall influxdb-python with these commands::
48
48
49
49
$ pip install influxdb
50
50
$ pip install --upgrade influxdb
@@ -55,9 +55,11 @@ On Debian/Ubuntu, you can install it with this command::
55
55
$ sudo apt-get install python-influxdb
56
56
57
57
Dependencies
58
-
============
58
+
------------
59
+
60
+
The influxdb-python distribution is supported and tested on Python 2.7, 3.3, 3.4, 3.5, 3.6, PyPy and PyPy3.
59
61
60
-
The InfluxDB-Python distribution is supported and tested on Python 2.7, 3.2, 3.3, 3.4, PyPy and PyPy3.
62
+
**Note:** Python 3.2 is currently untested. See ``.travis.yml``.
61
63
62
64
Main dependency is:
63
65
@@ -73,9 +75,9 @@ Additional dependencies are:
73
75
74
76
75
77
Documentation
76
-
=============
78
+
-------------
77
79
78
-
InfluxDB-Python documentation is available at http://influxdb-python.readthedocs.org
80
+
Documentation is available at https://influxdb-python.readthedocs.io/en/latest/.
79
81
80
82
You will need Sphinx_ installed to generate the documentation.
81
83
@@ -88,7 +90,7 @@ Generated documentation can be found in the *docs/build/html/* directory.
88
90
89
91
90
92
Examples
91
-
========
93
+
--------
92
94
93
95
Here's a basic example (for more see the examples directory)::
94
96
@@ -120,23 +122,9 @@ Here's a basic example (for more see the examples directory)::
120
122
121
123
>>> print("Result: {0}".format(result))
122
124
123
-
If you want to connect to a cluster, you could initialize a ``InfluxDBClusterClient``::
124
-
125
-
$ python
126
-
127
-
>>> from influxdb import InfluxDBClusterClient
128
-
129
-
>>> cc = InfluxDBClusterClient(hosts = [('192.168.0.1', 8086),
130
-
('192.168.0.2', 8086),
131
-
('192.168.0.3', 8086)],
132
-
username='root',
133
-
password='root',
134
-
database='example')
135
-
136
-
``InfluxDBClusterClient`` has the same methods as ``InfluxDBClient``, it basically is a proxy to multiple InfluxDBClients.
137
125
138
126
Testing
139
-
=======
127
+
-------
140
128
141
129
Make sure you have tox by running the following::
142
130
@@ -148,34 +136,43 @@ To test influxdb-python with multiple version of Python, you can use Tox_::
148
136
149
137
150
138
Support
151
-
=======
139
+
-------
152
140
153
141
For issues with, questions about, or feedback for InfluxDB_, please look into
154
142
our community page: http://influxdb.com/community/.
155
143
144
+
We are also lurking on the following:
145
+
146
+
- #influxdb on irc.freenode.net
147
+
- #influxdb on gophers.slack.com
148
+
156
149
157
150
Development
158
-
===========
151
+
-----------
159
152
160
153
All development is done on Github_. Use Issues_ to report
Copy file name to clipboardExpand all lines: docs/source/resultset.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Using ``rs.get_points()`` will return a generator for all the points in the Resu
18
18
Filtering by measurement
19
19
------------------------
20
20
21
-
Using ``rs.get_points('cpu')`` will return a generator for all the points that are in a serie with measurement name ``cpu``, no matter the tags.
21
+
Using ``rs.get_points('cpu')`` will return a generator for all the points that are in a series with measurement name ``cpu``, no matter the tags.
22
22
::
23
23
24
24
rs = cli.query("SELECT * from cpu")
@@ -36,7 +36,7 @@ Using ``rs.get_points(tags={'host_name': 'influxdb.com'})`` will return a genera
36
36
Filtering by measurement and tags
37
37
---------------------------------
38
38
39
-
Using measurement name and tags will return a generator for all the points that are in a serie with the specified measurement name AND whose tags match the given tags.
39
+
Using measurement name and tags will return a generator for all the points that are in a series with the specified measurement name AND whose tags match the given tags.
0 commit comments