Skip to main content

Provides a fluent query builder wrapper around pymongo

Project description

The rcquerybuilder package provides a fluent api wrapper around pymongo queries.

This allows you to write and execute mongodb queries like this:

>>> from rcquerybuilder.builder import Builder
>>> qb = Builder(collection=None)
>>> qb.field('name').equals('foobar') \
...   .field('fizz').ne(None) \
...   .get_query_list()
{'name': 'foobar', 'fizz': {'$ne': None}}

Installation

To install rcquerybuilder, simply:

$ pip install rcquerybuilder

Documentation

Documentation is available at https://rcquerybuilder.readthedocs.org.

How to Contribute

  1. Fork the repository to start making your changes on the master branch (or branch off of it).
  2. Send a pull request and make sure to add yourself to AUTHORS.

Release History

0.1.0 (???)

  • Initialization

Project details


Download files

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

Files for rcquerybuilder, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size rcquerybuilder-0.1.2b-py2.7.egg (19.1 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size rcquerybuilder-0.1.2.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page