elasticsearch 8.13.2


pip install elasticsearch==8.13.2


Meta
Author: Elastic Client Library Maintainers
Requires Python: >=3.7

Classifiers

Development Status
  • 5 - Production/Stable

License
  • OSI Approved :: Apache Software License

Intended Audience
  • Developers

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy
https://img.shields.io/pypi/v/elasticsearch https://img.shields.io/conda/vn/conda-forge/elasticsearch?color=blue https://static.pepy.tech/badge/elasticsearch https://badge.buildkite.com/68e22afcb2ea8f6dcc20834e3a5b5ab4431beee33d3bd751f3.svg https://readthedocs.org/projects/elasticsearch-py/badge/?version=latest&style=flat

The official Python client for Elasticsearch.

Features

  • Translating basic Python data types to and from JSON

  • Configurable automatic discovery of cluster nodes

  • Persistent connections

  • Load balancing (with pluggable selection strategy) across available nodes

  • Failed connection penalization (time based - failed connections won’t be retried until a timeout is reached)

  • Support for TLS and HTTP authentication

  • Thread safety across requests

  • Pluggable architecture

  • Helper functions for idiomatically using APIs together

Installation

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

Refer to the Installation section of the getting started documentation.

Connecting

Refer to the Connecting section of the getting started documentation.

Usage

Compatibility

Language clients are forward compatible; meaning that the clients support communicating with greater or equal minor versions of Elasticsearch without breaking. It does not mean that the clients automatically support new features of newer Elasticsearch versions; it is only possible after a release of a new client version. For example, a 8.12 client version won’t automatically support the new features of the 8.13 version of Elasticsearch, the 8.13 client version is required for that. Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made.

Elasticsearch version

elasticsearch-py branch

Supported

main

main

8.x

8.x

8.x

7.x

7.x

7.17

If you have a need to have multiple versions installed at the same time older versions are also released as elasticsearch7 and elasticsearch8.

Documentation

Documentation for the client is available on elastic.co and Read the Docs.

License

Copyright 2023 Elasticsearch B.V. Licensed under the Apache License, Version 2.0.

9.1.1 Sep 12, 2025
9.1.0 Jul 30, 2025
9.0.4 Sep 12, 2025
9.0.3 Jul 30, 2025
9.0.2 Jun 05, 2025
9.0.1 Apr 28, 2025
9.0.0 Apr 15, 2025
8.19.1 Sep 12, 2025
8.19.0 Jul 30, 2025
8.18.1 Apr 29, 2025
8.18.0 Apr 15, 2025
8.17.2 Mar 04, 2025
8.17.1 Jan 23, 2025
8.17.0 Dec 16, 2024
8.16.0 Nov 13, 2024
8.15.1 Sep 10, 2024
8.15.0 Aug 13, 2024
8.14.0 Jun 06, 2024
8.13.2 May 24, 2024
8.13.1 May 03, 2024
8.13.0 Mar 27, 2024
8.12.1 Feb 22, 2024
8.12.0 Jan 19, 2024
8.11.1 Dec 08, 2023
8.11.0 Nov 13, 2023
8.10.1 Oct 13, 2023
8.10.0 Sep 22, 2023
8.9.0 Jul 27, 2023
8.8.2 Jul 06, 2023
8.8.1 Jul 06, 2023
8.8.0 May 25, 2023
8.7.0 Apr 06, 2023
8.6.2 Feb 16, 2023
8.6.1 Jan 27, 2023
8.6.0 Jan 10, 2023
8.5.3 Dec 08, 2022
8.5.2 Nov 23, 2022
8.5.1 Nov 21, 2022
8.5.0 Nov 02, 2022
8.4.3 Oct 06, 2022
8.4.2 Sep 20, 2022
8.4.1 Sep 06, 2022
8.4.0 Aug 25, 2022
8.3.3 Jul 28, 2022
8.3.2 Jul 28, 2022
8.3.1 Jun 30, 2022
8.3.0 Jun 29, 2022
8.2.3 Jun 15, 2022
8.2.2 Jun 01, 2022
8.2.1 Jun 01, 2022
8.2.0 May 03, 2022
8.1.3 Apr 26, 2022
8.1.2 Mar 31, 2022
8.1.1 Mar 22, 2022
8.1.0 Mar 08, 2022
8.0.1 Mar 01, 2022
8.0.0 Feb 10, 2022
8.0.0b2 Feb 03, 2022
8.0.0b1 Jan 18, 2022
8.0.0a4 Jan 04, 2022
8.0.0a3 Dec 09, 2021
8.0.0a2 Dec 03, 2021
8.0.0a1 Nov 29, 2021
7.17.12 Sep 19, 2024
7.17.9 Feb 02, 2023
7.17.8 Dec 08, 2022
7.17.7 Oct 26, 2022
7.17.6 Aug 25, 2022
7.17.5 Aug 25, 2022
7.17.4 Jun 01, 2022
7.17.3 Apr 26, 2022
7.17.2 Mar 31, 2022
7.17.1 Feb 28, 2022
7.17.0 Feb 01, 2022
7.16.3 Jan 13, 2022
7.16.2 Dec 27, 2021
7.16.1 Dec 13, 2021
7.16.0 Dec 07, 2021
7.15.2 Nov 10, 2021
7.15.1 Oct 14, 2021
7.15.0 Sep 22, 2021
7.15.0a1 Sep 09, 2021
7.14.2 Sep 21, 2021
7.14.1 Sep 01, 2021
7.14.0 Aug 03, 2021
7.14.0a2 Jul 27, 2021
7.14.0a1 Jul 13, 2021
7.13.4 Jul 20, 2021
7.13.3 Jul 07, 2021
7.13.2 Jun 21, 2021
7.13.1 Jun 02, 2021
7.13.0 May 25, 2021
7.12.1 Apr 27, 2021
7.12.0 Mar 23, 2021
7.11.0 Feb 10, 2021
7.11.0b1 Feb 02, 2021
7.10.1 Dec 09, 2020
7.10.0 Nov 11, 2020
7.10.0a2 Oct 20, 2020
7.10.0a1 Oct 14, 2020
7.9.1 Aug 20, 2020
7.9.0 Aug 18, 2020
7.9.0a1 Jul 20, 2020
7.8.1 Jul 30, 2020
7.8.0 Jun 18, 2020
7.8.0a1 May 29, 2020
7.7.1 May 26, 2020
7.7.0 May 13, 2020
7.7.0a2 Apr 03, 2020
7.7.0a1 Apr 01, 2020
7.6.0 Mar 19, 2020
7.6.0a1 Mar 16, 2020
7.5.1 Jan 19, 2020
7.1.0 Nov 14, 2019
7.0.5 Oct 01, 2019
7.0.4 Aug 22, 2019
7.0.3 Aug 21, 2019
7.0.2 May 28, 2019
7.0.1 May 10, 2019
7.0.0 Apr 11, 2019
6.8.2 Mar 09, 2021
6.8.1 Mar 31, 2020
6.8.0 Mar 12, 2020
6.4.0 May 28, 2019
6.3.1 Aug 09, 2018
6.3.0 Jun 20, 2018
6.2.0 Mar 20, 2018
6.1.1 Jan 06, 2018
6.0.0 Nov 14, 2017
5.5.3 Jun 22, 2018
5.5.2 Jan 16, 2018
5.5.1 Nov 10, 2017
5.5.0 Nov 10, 2017
5.4.0 May 18, 2017
5.3.0 Mar 31, 2017
5.2.0 Feb 12, 2017
5.1.0 Jan 11, 2017
5.0.1 Nov 02, 2016
5.0.0 Oct 19, 2016
2.4.1 Jan 03, 2017
2.4.0 Aug 17, 2016
2.3.0 Feb 29, 2016
2.2.0 Jan 05, 2016
2.1.0 Oct 19, 2015
2.0.0 Oct 13, 2015
1.9.0 Oct 19, 2015
1.8.0 Oct 13, 2015
1.7.0 Sep 21, 2015
1.6.0 Jun 10, 2015
1.5.0 May 18, 2015
1.4.0 Feb 11, 2015
1.3.0 Dec 31, 2014
1.2.0 Aug 03, 2014
1.1.1 Jul 04, 2014
1.1.0 Jul 02, 2014
1.0.0 Feb 11, 2014
0.4.5 Feb 11, 2014
0.4.4 Dec 23, 2013
0.4.3 Oct 22, 2013
0.4.2 Oct 08, 2013
0.4.1 Sep 24, 2013

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
elastic-transport (<9,>=8.13)