# PyEQS: Query Elasticsearch like a Django Queryset

**URL:** <https://discuss.elastic.co/t/pyeqs-query-elasticsearch-like-a-django-queryset/17603>\
**Category:** Elasticsearch\
**Created:** [May 19, 2014, 8:13pm UTC](https://discuss.elastic.co/t/pyeqs-query-elasticsearch-like-a-django-queryset/17603 "2014-05-19T20:13:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Gross](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_gross/32/1552_2.png) [@Andrew\_Gross](https://discuss.elastic.co/u/Andrew_Gross)\
**Post date:** [May 19, 2014, 8:13pm UTC](https://discuss.elastic.co/t/pyeqs-query-elasticsearch-like-a-django-queryset/17603/1 "2014-05-19T20:13:12Z")

</div>

Hey all,

I wrote a wrapper around 'elasticsearch-py' to simplify building JSON  
queries. It aims to mimic the Django Queryset API so make it easier to  
work with and replicate queries against elasticsearch. Check it out here[https://github.com/Yipit/pyeqs](https://github.com/Yipit/pyeqs)  
.

Thanks,  
Andrew

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/bf05ca9e-107f-4cee-8b3d-4759db9e77d5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bf05ca9e-107f-4cee-8b3d-4759db9e77d5%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Michael\_Sander](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_sander/32/838_2.png) [@Michael\_Sander](https://discuss.elastic.co/u/Michael_Sander)\
**Post date:** [May 20, 2014, 6:36am UTC](https://discuss.elastic.co/t/pyeqs-query-elasticsearch-like-a-django-queryset/17603/2 "2014-05-20T06:36:27Z")

</div>

Hi Andrew,

Looks interesting, but you may also want to take a look at haystack, which  
appears to support similar functionality. That said, an ES specific API  
definitely has it's benefits, as you can more quickly implement ES specific  
features.

On Monday, May 19, 2014 4:13:12 PM UTC-4, Andrew Gross wrote:

> Hey all,
> 
> I wrote a wrapper around 'elasticsearch-py' to simplify building JSON  
> queries. It aims to mimic the Django Queryset API so make it easier to  
> work with and replicate queries against elasticsearch. Check it out here[https://github.com/Yipit/pyeqs](https://github.com/Yipit/pyeqs)  
> .
> 
> Thanks,  
> Andrew

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7bfed05b-457f-449e-abc0-27a9a2f048f8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7bfed05b-457f-449e-abc0-27a9a2f048f8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Andrew\_Gross](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_gross/32/1552_2.png) [@Andrew\_Gross](https://discuss.elastic.co/u/Andrew_Gross)\
**Post date:** [May 20, 2014, 2:28pm UTC](https://discuss.elastic.co/t/pyeqs-query-elasticsearch-like-a-django-queryset/17603/3 "2014-05-20T14:28:48Z")

</div>

Hey Michael,

We used to use Haystack, but found it to be a bit too complex and hard to  
work with when you wanted more than just the basic functionality, since it  
has to support multiple search backends. After posting to HN found a few  
alternatives as well.

ElasticUtils  
Elasticsearch-dsl-py \<- Official Client, but still in progress.

On Tuesday, May 20, 2014 2:36:27 AM UTC-4, Michael Sander wrote:

> Hi Andrew,
> 
> Looks interesting, but you may also want to take a look at haystack, which  
> appears to support similar functionality. That said, an ES specific API  
> definitely has it's benefits, as you can more quickly implement ES specific  
> features.
> 
> On Monday, May 19, 2014 4:13:12 PM UTC-4, Andrew Gross wrote:
> 
> > Hey all,
> > 
> > I wrote a wrapper around 'elasticsearch-py' to simplify building JSON  
> > queries. It aims to mimic the Django Queryset API so make it easier to  
> > work with and replicate queries against elasticsearch. Check it out here[https://github.com/Yipit/pyeqs](https://github.com/Yipit/pyeqs)  
> > .
> > 
> > Thanks,  
> > Andrew

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f2563e34-71fe-4bdc-86e1-730165e6cc63%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f2563e34-71fe-4bdc-86e1-730165e6cc63%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:28am UTC](https://discuss.elastic.co/t/pyeqs-query-elasticsearch-like-a-django-queryset/17603/4 "2017-07-06T01:28:06Z")

</div>


