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.

Source Distribution

rcquerybuilder-0.1.2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rcquerybuilder-0.1.2b-py2.7.egg (19.1 kB view details)

Uploaded Egg

File details

Details for the file rcquerybuilder-0.1.2.tar.gz.

File metadata

File hashes

Hashes for rcquerybuilder-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c586020e914b7a128494fa7ad1184b204d1701cb7193320c0bea033cfb669e7b
MD5 b648ed879d37bf49759ed72576501d06
BLAKE2b-256 62fd1f1412f00f5e92384bc496aa570c884953aa9d0adc9fe010c36d4baee50f

See more details on using hashes here.

File details

Details for the file rcquerybuilder-0.1.2b-py2.7.egg.

File metadata

File hashes

Hashes for rcquerybuilder-0.1.2b-py2.7.egg
Algorithm Hash digest
SHA256 7be25cbe6bd6d5433a46ae3390a0885fc62c56cda80499580c7499333b1a8f6a
MD5 1d685b620494a64eb1607622ef38696a
BLAKE2b-256 617bb99f665adac8a6ab3b9a878c7adf4a2852ad65eb36ffec4024913bcfa715

See more details on using hashes here.

Supported by

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