Django Mongoengine RQL Filtering
Project description
Django Mongoengine RQL
Introduction
RQL (Resource query language) is designed for modern application development. It is built for the web, ready for NoSQL, and highly extensible with simple syntax. This is a query language fast and convenient database interaction. RQL was designed for use in URLs to request object-style data structures.
This library is a Django-Mongoengine specific implementation of RQL filtering.
Install
Django Mongoengine RQL
can be installed from pypi.org using pip:
$ pip install django-mongoengine-rql
Notes
Due to implementation and Mongo engine features there may be some limitations in filtering, for example:
distinct
setting is not supported for filters- annotations are not supported, as well
Development
- Python 3.8+
- Install dependencies
pip install poetry && poetry install
Testing
- Python 3.8+
- Install dependencies
pip install poetry && poetry install
Check code style: poetry run flake8
Run tests: poetry run pytest
Tests reports are generated in tests/reports
.
out.xml
- JUnit test resultscoverage.xml
- Coverage xml results
To generate HTML coverage reports use:
--cov-report html:tests/reports/cov_html
License
Django Mongoengine RQL
is released under the Apache License Version 2.0.
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
Built Distribution
Hashes for django-mongoengine-rql-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c51d86cfaf46730d3fd1716b77acf56d69e4d17f11d8fd79f5735dfac15c6e91 |
|
MD5 | 3912c823694f4ecd2f4e7a902eb62f09 |
|
BLAKE2b-256 | 7ee83d4673280baa32262472eeed6f09cb7ce546b8f12fa687e9f6645e7ad677 |
Hashes for django_mongoengine_rql-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d586ef41815fb06792f8bf008c074e28f0dea59a3d974b04aefdae6428aa983a |
|
MD5 | c10c23915937c6658f4489a0de42d001 |
|
BLAKE2b-256 | a0d5ca0a27eee1a8019f58b820a63ec10db54032a8fa54159f5d8aade43f5a8d |