pymongo_mate

A library extend pymongo module, makes CRUD easier, and more.


License
MIT
Install
pip install pymongo_mate==0.0.4

Documentation

https://travis-ci.org/MacHu-GWU/pymongo_mate-project.svg?branch=master https://img.shields.io/badge/Star_Me_on_GitHub!--None.svg?style=social

Welcome to pymongo_mate Documentation

A library extend pymongo module, makes CRUD easier.

Quick Links

Features

  • query builder: you don't have to remember mongodb operator syntax, just select builder from from pymongo_mate import query_builder as qb, for example: qb.Text.startswith("/usr/bin")
  • select helper: writing complexe aggregation pipeline is pain, pymongo_mate provide functional interface to help you, just follow your human instinct.
  • insert helper: a smart insert function helps you for bulk-insert with best performance, and plus, allows to insert pandas.DataFrame.
  • update helper.
  • mongomock support: allows you to dump your mongomock database to a file. With this data persistence layer, you can use mongomock as a rich-featured pure-python faked mongodb.

Install

pymongo_mate is released on PyPI, so all you need is:

$ pip install pymongo_mate

To upgrade to latest version:

$ pip install --upgrade pymongo_mate