Seems similar in inspiration to https://pugsql.org/ which is a python reimplementation of hugSQL, more or less.
I'd say an advantage of pugSQL is that it's sqla-core under the hood, so lots of stuff will Just Work and you can drop down to core to commit war crimes if you have to.