Need help with pyeqs?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

206 Stars 7 Forks MIT License 160 Commits 5 Opened issues


Python Elasticsearch Querysets

Services available


Need anything else?

Contributors list

PyEQS Build Status Coverage Status

Python Elasticsearch QuerySets

A python library to simplify building complex Elasticsearch JSON queries. Based on the Django QuerySet API, backed by the official python elasticsearch library. Supports Elasticsearch


This is an attempt to provide an interface familiar to users of Django Querysets. Due to the differences in the backends it was impossible to mirror the Queryset API and maintain full search functionality. Be aware when using this library that the interfaces may not have the same trade-offs and caveats.

Current Development Status

Currently pre

, so the API is not locked in. This project aims to follow semantic versioning once it reaches a stable API. Issues may arise as the backend
library locks its versions to Elasticsearch releases.


pip install pyeqs


Check out the API Reference for examples.



  • ElasticUtils: A library by Mozilla uses a syntax leveraging built-in &, | and ~ to construct queries.
  • Elasticsearch-dsl-py: A library by Elasticsearch that is similar and compatible with ElasticUtils.
  • Django-Haystack: A library that wraps multiple search backends and presents them in the same interface as Django models. In my experience a very all-in-one solution that makes it hard to manipulate Elasticsearch directly, but wonderful when you need the feature set.


  • Plunk: A ruby library to allow you to write strings to queries that have more power than simple 'query string' requests


  • Bloodhound: A basic Elasticsearch Client that also has the ability to leverage the language's built-in operators to construct queries.


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.