Mongo Filter Evaluator
Evaluator & validator for mongo-like queries
Free software: MIT license
Documentation: https://mongo-filter-evaluator.readthedocs.io.
Features
Evaluate mongo-like queries in Python:
DataConditionEvaluator({
'value': 'value',
'int': {'$lte': 2}
}, {
'value': 'value',
'int': 1
}).evaluate()
Validate typed mongo-like queries:
errors = ConditionValidator({
'value': 'value',
'int': {'$lte': 1}
}, {
'value': StringField,
'int': NumericField
}).validate()
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
1.0.0 (2018-07-24)
First release on PyPI.
Metadata
Release files for mongo-filter-evaluator 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mongo_filter_evaluator-1.0.0.tar.gz | 11.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mongo_filter_evaluator-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 17.1 kB
Release files / mongo_filter_evaluator-1.0.0.tar.gz
| Download URL | mongo_filter_evaluator-1.0.0.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b46b36a1ca453933c5167af217f7bd68c4dcf71d4f31ad3ef70461284bf665c9
|
|
BLAKE2b-256 checksum How to use checksums |
17f0dfec57d1bbad2eb9b45889b13f9106260e8383b91efad6bae105975469f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mongo_filter_evaluator-1.0.0-py2.py3-none-any.whl
| Download URL | mongo_filter_evaluator-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5ab205f1bdc20b08f13a7edab4d0f7bd4ef1e37e593ca5e4057d1cc3f951ff4f
|
|
BLAKE2b-256 checksum How to use checksums |
916a742d3ddcecccd847a4c0605e7a13ef1441b85aa7a4c85e49e0b06808293c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |