20 lines
569 B
Plaintext
20 lines
569 B
Plaintext
[[installation]]
|
|||
|
|
== Installation
|
||
|
|
|
||
|
|
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].
|