This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Installation
editInstallation
editDownload 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.