Installationedit

Download the latest version of Elasticsearch or sign-up for a free trial of Elastic Cloud.

The Python client for Elasticsearch can be installed with pip:

$ python -m pip install elasticsearch

If your application uses async/await in Python you can install with the async extra:

$ python -m pip install elasticsearch[async]

Read more about how to use asyncio with this project.