predicate
URL:
Pypi: https://pypi.org/project/predicate/
Gitlab: https://gitlab.com/mc706/predicate
Description
Predicate takes the django queryset filtering language and applies it to building python native predicate functions that you can pass to the filter
builtin.
This library is mean to make creating native python filter functions readable and easy:
1 | from predicate import where |
Technologies
- Python
- Functional Composition
- Enums (for lack of ADTs in Python)
Setup
1 | $ pip install predicate |