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
Fork the repository to start making your changes on the master branch (or branch off of it).
Send a pull request and make sure to add yourself to AUTHORS.
Release History
0.1.0 (???)
Initialization
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rcquerybuilder-0.1.2.tar.gz.
File metadata
- Download URL: rcquerybuilder-0.1.2.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c586020e914b7a128494fa7ad1184b204d1701cb7193320c0bea033cfb669e7b
|
|
| MD5 |
b648ed879d37bf49759ed72576501d06
|
|
| BLAKE2b-256 |
62fd1f1412f00f5e92384bc496aa570c884953aa9d0adc9fe010c36d4baee50f
|
File details
Details for the file rcquerybuilder-0.1.2b-py2.7.egg.
File metadata
- Download URL: rcquerybuilder-0.1.2b-py2.7.egg
- Upload date:
- Size: 19.1 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7be25cbe6bd6d5433a46ae3390a0885fc62c56cda80499580c7499333b1a8f6a
|
|
| MD5 |
1d685b620494a64eb1607622ef38696a
|
|
| BLAKE2b-256 |
617bb99f665adac8a6ab3b9a878c7adf4a2852ad65eb36ffec4024913bcfa715
|