File: installation.asciidoc

package info (click to toggle)
python-elasticsearch 8.17.2-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 20,124 kB
  • sloc: python: 69,424; makefile: 150; javascript: 75
file content (25 lines) | stat: -rw-r--r-- 789 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
23
24
25
[[installation]]
== Installation

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

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

[source,sh]
-------------------------------------
$ python -m pip install elasticsearch
-------------------------------------

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

[source,sh]
--------------------------------------------
$ python -m pip install elasticsearch[async]
--------------------------------------------

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