{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"Provides DBAPI (PEP-249) and SQLAlchemy dialect access to Elasticsearch and OpenSearch clusters via SQL, enabling read-only queries against these search engines.","skillfed_tags":["elasticsearch","sqlalchemy-dialect","opensearch"],"use_cases":["Query Elasticsearch indices using standard SQL syntax from Python without learning the native query DSL.","Integrate Elasticsearch data into SQLAlchemy-based applications for ORM-style table reflection and queries.","Connect AWS Elasticsearch Service (OpenSearch) clusters to Python analytics or reporting tools via DBAPI.","Build data pipelines that treat Elasticsearch indices as queryable tables alongside traditional SQL databases.","Prototype or migrate applications from SQL databases to Elasticsearch by reusing existing DBAPI-compatible code."],"what_it_does":"elasticsearch-dbapi bridges Python's standard database API and SQLAlchemy ORM to Elasticsearch and OpenSearch clusters. It translates SQL queries into the native SQL APIs provided by Elastic X-Pack (for Elasticsearch) and OpenSearch SQL plugins, enabling read-only access to indexed data through familiar Python database patterns. The library supports Elasticsearch 7.x, 8.x (with compatibility mode), and OpenSearch 2.x, with special support for AWS Elasticsearch Service.\n\nYou can use it three ways: directly via DBAPI (connect and cursor), through SQLAlchemy's raw execute interface, or via SQLAlchemy's ORM reflection to introspect indices as tables. Connection strings follow RFC-1738 and accept transport parameters like http_compress and timeout. The library defaults to a 10000-row fetch limit and UTC timezone but allows both to be customized per connection.","worth_installing":"Yes. The package is actively maintained, has no known security vulnerabilities, low install friction, and fills a genuine gap for developers needing SQL access to Elasticsearch or OpenSearch. The permissive Apache License, Version 2.0 poses no adoption barrier. Install it if you need to query Elasticsearch/OpenSearch via SQL or SQLAlchemy; skip it only if you prefer native query DSLs or have no Elasticsearch infrastructure."},"id":"elasticsearch-dbapi","links":{"html":"https://skillfed.io/packages/elasticsearch-dbapi","md":"https://skillfed.io/packages/elasticsearch-dbapi.md","pypi":"https://pypi.org/project/elasticsearch-dbapi/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-07","license_spdx":null,"license_treatment":"permissive","name":"elasticsearch-dbapi","python_support":"supports_current","summary":"A DBAPI and SQLAlchemy dialect for Elasticsearch"},"popularity":{"monthly_downloads":1386514,"position":3972,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.2.13"}
