$npx skillfedfor your agent

elasticsearch7

Python client for Elasticsearch

Worth itPyPI DatabaseReleased Jan 2026211.8K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — elasticsearch7-7.17.13-py2.py3-none-any.whl
v7.17.13 · released 2026-01-12 · Python !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,<4,>=2.7 · 2 runtime deps: urllib3, certifi

Yes. This is the official, actively maintained client with low install friction, permissive licensing, no known vulnerabilities, and broad Python version support. It is the standard choice for any Python application that needs to communicate with Elasticsearch. Install it unless you have a specific reason to use an alternative client or are not using Elasticsearch.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Elasticsearch server accessible at the specified host and port.
  • Low install friction with only two lightweight runtime dependencies (urllib3, certifi).
  • Actively maintained with recent commits and a large repository presence (4385 stars), indicating stable ongoing support.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; attribution and license inclusion required in distributions.

last release 2026-01-12 (214 days) · last repo commit 2026-08-13 · 4,385 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 211,769 downloads/mo, #9,475 on PyPI

Verify before relying

pip install elasticsearch7

from elasticsearch import Elasticsearch
client = Elasticsearch("http://localhost:9200")
resp = client.info()
  • Whether async/await support is available via the [async] extra and what additional dependencies that requires.
  • Specific version compatibility guarantees between this client and Elasticsearch server versions beyond 'forward compatible'.
Same gist for agents: .md · .json

What it is and what it does

elasticsearch7 is the official Python client library for communicating with Elasticsearch clusters. It abstracts away the HTTP protocol layer, providing a Python API for cluster discovery, node selection, connection pooling, and authentication. The package handles automatic serialization of Python data types to JSON, manages persistent connections with load balancing across available nodes, and includes retry logic with connection penalization.

Developers use it to query, index, and manage documents in Elasticsearch from Python applications. The client supports both synchronous and asynchronous patterns (via optional extras), thread-safe concurrent requests, and pluggable components for customizing connection strategies and authentication. It's designed to work with Elasticsearch versions greater than or equal to the server's minor version.

Use it for

  • Building search functionality into web applications that index and query documents stored in Elasticsearch.
  • Automating bulk indexing of data into Elasticsearch from Python ETL pipelines or data processing workflows.
  • Monitoring and managing Elasticsearch cluster health and node status from Python applications.
  • Integrating full-text search capabilities into Python backends without writing raw HTTP requests.
  • Implementing real-time analytics dashboards that query Elasticsearch data through Python services.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is the official, actively maintained client with low install friction, permissive licensing, no known vulnerabilities, and broad Python version support. It is the standard choice for any Python application that needs to communicate with Elasticsearch. Install it unless you have a specific reason to use an alternative client or are not using Elasticsearch.

Install

elasticsearch7 on PyPI

Before you install

Low install friction with only two lightweight runtime dependencies (urllib3, certifi). Actively maintained with recent commits and a large repository presence (4385 stars), indicating stable ongoing support.

Requires a running Elasticsearch server accessible at the specified host and port.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; attribution and license inclusion required in distributions.

Quickstart

pip install elasticsearch7

from elasticsearch import Elasticsearch
client = Elasticsearch("http://localhost:9200")
resp = client.info()

Verify before relying

  • Whether async/await support is available via the [async] extra and what additional dependencies that requires.
  • Specific version compatibility guarantees between this client and Elasticsearch server versions beyond 'forward compatible'.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,<4,>=2.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
urllib3certifi
MaintenanceActively maintained 214 days since the last release
Last repo commit
First released
Downloads211,769 / month, #9,475 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: elasticsearch7-7.17.13-py2.py3-none-any.whl

Tags

Capabilities
elasticsearch python clientelasticsearch api wrapperelasticsearch connection managementsearch engine python libraryelasticsearch cluster clientelasticsearch http clientelasticsearch query library
Topics
search-engineelasticsearchdatabase-client

Let your AI agent find packages like this

Example. Real query, live index.

An agent finds packages by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language. Give your agent the search over MCP.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also elasticsearch · elasticsearch9 · elasticsearch5 · elasticsearch6 · elastic-transport · es-client · elasticsearch-dsl · elasticsearch8-dsl · elasticsearch-dbapi · elasticsearch-curator