Map Elasticsearch Documents to Python Classes.
At Lovely Systems we build scalable web services and we often use crate.io as our favorite scalable datastore. Crate provides us high scalability and easy cluster handling. Crate also provides convenient SQL support, but sometimes it is more handy to fetch data via the JSON query language from the underlaying Elasticsearch.
For this usecase we have created a simple elasticsearch document manager. Its main purpose is to map ES documents to python classes with the possibility to work with raw ES data for simple JSON mappings.
We published this functionality in the package lovely.esdb and provide it as open source under the MIT license.
The full documentation is available here
Written by Manfred Schwendinger
Posted on August 5, 2016