Say I have a SON-document (typically fetched using a mongodb query, but not necessarily), and a query-filter expression (e.g. { \'x\': {\'$ne\': 5} }), is there a c
{ \'x\': {\'$ne\': 5} }
MongoDB's matcher algorithm is written in C++. You'd need at least a partial rewrite of the matcher in Python, which does not, to my knowledge, exist.