Skip to main content

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

Project description

https://travis-ci.org/MacHu-GWU/pymongo_mate-project.svg?branch=master https://codecov.io/gh/MacHu-GWU/pymongo_mate-project/branch/master/graph/badge.svg https://img.shields.io/pypi/v/pymongo_mate.svg https://img.shields.io/pypi/l/pymongo_mate.svg https://img.shields.io/pypi/pyversions/pymongo_mate.svg 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.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymongo_mate-0.0.4.tar.gz (73.0 kB view details)

Uploaded Source

Built Distribution

pymongo_mate-0.0.4-py2-none-any.whl (93.2 kB view details)

Uploaded Python 2

File details

Details for the file pymongo_mate-0.0.4.tar.gz.

File metadata

File hashes

Hashes for pymongo_mate-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3222d360224f1c58de0d2e3b4a16e1ff3dd96983a02794f21175bdec9377c386
MD5 b90da57118b1b98df0586da51895206e
BLAKE2b-256 6227d353c9acc55cb1ddacd7b8b930d7821538001a4f4e75d6cb4ad480d1f973

See more details on using hashes here.

File details

Details for the file pymongo_mate-0.0.4-py2-none-any.whl.

File metadata

File hashes

Hashes for pymongo_mate-0.0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 2369e1df834ad1a59240853a706a8b436f8b7809c19e00017e66ac7b02362ef5
MD5 1296d0885d56e2d4576df46d0bf7229a
BLAKE2b-256 1a0dc733a4f180d76eb040f8cd430cd73cc4f42c07fa41c59689bd58122b9820

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page