elasticsearch6
Python client for Elasticsearch
Decision gist · record as of 2026-08-14
Yes, if targeting Elasticsearch 6.x. This is the official client with low install friction, active maintenance status, no known vulnerabilities, and permissive Apache-2.0 licensing. Note that the latest release is 2021-03-09; verify whether a newer major version would be more appropriate for new projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a matching major version Elasticsearch 6.x server running and accessible.
- Low install friction with a single runtime dependency (urllib3).
- The package is actively maintained with recent commits and has been in production use for years.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
last release 2021-03-09 (1984 days) · last repo commit 2026-08-13 · 4,385 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 240,021 downloads/mo, #8,912 on PyPI
Alternatives
Verify before relying
pip install 'elasticsearch6>=6.8.2'
from elasticsearch6 import Elasticsearch
es = Elasticsearch()
es.indices.create(index='my-index', ignore=400)
es.index(index='my-index', doc_type='test-type', id=42, body={'data': 'value'})- Whether this package is still receiving security updates given the latest release was 2021-03-09.
- Performance characteristics under high-concurrency workloads.
What it is and what it does
elasticsearch6 is the official low-level Python client for Elasticsearch 6.x servers. It provides direct access to Elasticsearch REST APIs through a Python interface, handling connection pooling, load balancing across cluster nodes, automatic node discovery, and serialization of Python data types to JSON. The client is opinion-free and extensible, designed as a foundation for higher-level libraries rather than as a user-facing ORM.
The package connects over HTTP with optional SSL/TLS and authentication support, manages persistent connections with configurable retry and timeout behavior, and translates Python method calls into REST requests. It includes thread safety, pluggable node selection strategies, and failed-connection penalization to avoid hammering unavailable nodes.
Use it for
- Index and search documents in a 6.x server from a Python application.
- Perform bulk operations, aggregations, and complex queries against a cluster.
- Build a search backend for a web application or data pipeline needing full-text search.
- Manage indices, mappings, and cluster settings programmatically.
- Integrate into a data processing or analytics workflow.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if targeting Elasticsearch 6.x.
This is the official client with low install friction, active maintenance status, no known vulnerabilities, and permissive Apache-2.0 licensing. Note that the latest release is 2021-03-09; verify whether a newer major version would be more appropriate for new projects.
Install
elasticsearch6 on PyPI
Before you install
Low install friction with a single runtime dependency (urllib3). The package is actively maintained with recent commits and has been in production use for years.
Requires a matching major version Elasticsearch 6.x server running and accessible.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install 'elasticsearch6>=6.8.2'
from elasticsearch6 import Elasticsearch
es = Elasticsearch()
es.indices.create(index='my-index', ignore=400)
es.index(index='my-index', doc_type='test-type', id=42, body={'data': 'value'})
Verify before relying
- Whether this package is still receiving security updates given the latest release was 2021-03-09.
- Performance characteristics under high-concurrency workloads.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageurllib3 |
| Maintenance | Actively maintained 1,984 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 240,021 / month, #8,912 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: elasticsearch6-6.8.2-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “elasticsearch http client”
- elasticsearch6Low-level Python client for Elasticsearch that handles HTTP…
- elasticsearch7Official Python client for Elasticsearch that handles connection…
- elasticsearch9Official Python client for Elasticsearch that handles connection…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
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.
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.
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.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
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.
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.
See also elastic-transport · elasticsearch5 · elasticsearch7 · elasticsearch · elasticsearch-dsl · elasticsearch8-dsl · elasticsearch9 · es-client · prawcore · elastic-agent-client