File: installation.md

package info (click to toggle)
python-elasticsearch 9.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,552 kB
  • sloc: python: 108,433; makefile: 149; javascript: 97
file content (22 lines) | stat: -rw-r--r-- 725 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
mapped_pages:
  - https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/installation.html
---

# Installation [installation]

[Download the latest version of Elasticsearch](https://www.elastic.co/downloads/elasticsearch) or [sign-up](https://cloud.elastic.co/registration?elektra=en-ess-sign-up-page) for a free trial of Elastic Cloud.

The Python client for {{es}} can be installed with pip:

```sh
$ python -m pip install elasticsearch
```

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

```sh
$ python -m pip install elasticsearch[async]
```

Read more about [how to use asyncio with this project](https://elasticsearch-py.readthedocs.io/en/master/async.md).