This example uses the elastic library to connect to Elasticsearch, add a document, and read it out again.
pip install elasticsearch
Note: You can find the connection details in the "Overview" tab in the Aiven Console.
./main.py --url https://<user>:<password>@<host>:<port>