influxdb-python

How connect to locallhost influxdb from python and without token?

How connect to locallhost influxdb from python and without token? Question: I am trying just simple connect to influxdb which started on localhost. When I try just client: influx –host 192.168.0.2 –port 8086 It works. But when I try python: import os import json from influxdb_client import InfluxDBClient, Point, WritePrecision influxdb_url = os.environ[‘INFLUXDB_URL’] influxdb_host = …

Total answers: 2

Python InfluxDB2 – write_api.write(…) How to check for success?

Python InfluxDB2 – write_api.write(…) How to check for success? Question: I need to write historic data into InfluxDB (I’m using Python, which is not a must in this case, so I maybe willing to accept non-Python solutions). I set up the write API like this write_api = client.write_api(write_options=ASYNCHRONOUS) The Data comes from a DataFrame with …

Total answers: 4