Utilities for mongoDB mainly based on pymongo python mongoDB driver