All Projects → elastic → Elasticsearch Py

elastic / Elasticsearch Py

Licence: apache-2.0
Official Elasticsearch client library for Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Elasticsearch Py

Elasticsearch Ruby
Ruby integrations for Elasticsearch
Stars: ✭ 1,848 (-46.99%)
Mutual labels:  search, elasticsearch, client
Rated Ranking Evaluator
Search Quality Evaluation Tool for Apache Solr & Elasticsearch search-based infrastructures
Stars: ✭ 134 (-96.16%)
Mutual labels:  search, elasticsearch
Elasticsearch tutorial
An action-packed, example-based ElasticSearch tutorial
Stars: ✭ 133 (-96.18%)
Mutual labels:  search, elasticsearch
Toshi
A full-text search engine in rust
Stars: ✭ 3,373 (-3.24%)
Mutual labels:  search, elasticsearch
Search
PHP search-systems made possible
Stars: ✭ 101 (-97.1%)
Mutual labels:  search, elasticsearch
Haystack
🔍 Haystack is an open source NLP framework that leverages Transformer models. It enables developers to implement production-ready neural search, question answering, semantic document search and summarization for a wide range of applications.
Stars: ✭ 3,409 (-2.21%)
Mutual labels:  search, elasticsearch
Vue Innersearch
🔎 UI components built with Vue.js for ElasticSearch
Stars: ✭ 135 (-96.13%)
Mutual labels:  search, elasticsearch
Quicknote
QuckNote allows you to quickly create and search tens of thousands of short notes.
Stars: ✭ 54 (-98.45%)
Mutual labels:  search, elasticsearch
Rusticsearch
Lightweight Elasticsearch compatible search server.
Stars: ✭ 171 (-95.09%)
Mutual labels:  search, elasticsearch
Jkes
A search framework and multi-tenant search platform based on java, kafka, kafka connect, elasticsearch
Stars: ✭ 173 (-95.04%)
Mutual labels:  search, elasticsearch
Search Server
⭐️ Our core search API repository
Stars: ✭ 181 (-94.81%)
Mutual labels:  search, elasticsearch
Search Ui
Search UI. Libraries for the fast development of modern, engaging search experiences.
Stars: ✭ 1,294 (-62.88%)
Mutual labels:  search, elasticsearch
Photon
an open source geocoder for openstreetmap data
Stars: ✭ 1,177 (-66.24%)
Mutual labels:  search, elasticsearch
Elassandra
Elassandra = Elasticsearch + Apache Cassandra
Stars: ✭ 1,610 (-53.82%)
Mutual labels:  search, elasticsearch
Foselasticabundle
Elasticsearch PHP integration for your Symfony project using Elastica.
Stars: ✭ 1,142 (-67.24%)
Mutual labels:  search, elasticsearch
Elastix
A simple Elasticsearch REST client written in Elixir.
Stars: ✭ 231 (-93.37%)
Mutual labels:  search, elasticsearch
Rom Elasticsearch
Elasticsearch adapter for rom-rb
Stars: ✭ 30 (-99.14%)
Mutual labels:  search, elasticsearch
Elasticpress
A fast and flexible search and query engine for WordPress.
Stars: ✭ 1,037 (-70.25%)
Mutual labels:  search, elasticsearch
Query Translator
Query Translator is a search query translator with AST representation
Stars: ✭ 165 (-95.27%)
Mutual labels:  search, elasticsearch
Book Elastic Search In Action
Elastic 搜索开发实战
Stars: ✭ 205 (-94.12%)
Mutual labels:  search, elasticsearch

Elasticsearch Python Client

https://img.shields.io/pypi/v/elasticsearch https://img.shields.io/conda/vn/conda-forge/elasticsearch?color=blue https://pepy.tech/badge/elasticsearch https://clients-ci.elastic.co/job/elastic+elasticsearch-py+main/badge/icon 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

Install the elasticsearch package with pip:

$ python -m pip install elasticsearch

If your application uses async/await in Python you can install with the async extra:

$ python -m pip install elasticsearch[async]

Read more about how to use asyncio with this project.

Compatibility

Language clients are forward compatible; meaning that clients support communicating with greater or equal minor versions of Elasticsearch. Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made.

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

Documentation

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

Quick Start

# Import the client from the 'elasticsearch' module
>>> from elasticsearch import Elasticsearch

# Instantiate a client instance
>>> client = Elasticsearch("http://localhost:9200")

# Call an API, in this example `info()`
>>> resp = client.info()

# View the result
>>> resp
{
  "name" : "instance-name",
  "cluster_name" : "cluster-name",
  "cluster_uuid" : "cluster-uuid",
  "version" : {
    "number" : "7.14.0",
    ...
  },
  "tagline" : "You know, for Search"
}

You can read more about configuring the client in the documentation.

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].