Interpreter between another language and N1QL

I’m trying to interpret a custom query language to N1QL in order to test the results in Couchbase. I’m using Python SDK for Couchbase. What python libraries should i use in order to make complete interpretation from my QL to N1QL?

Check this out