This example uses the influxdb library to connect to InfluxDB, write some data points, and read them out again.
pip install influxdb
Note: You can find the connection details in the "Overview" tab in the Aiven Console.
./main.py --url https+influxdb://<username>:<password>@<host>:<port>/<database>