Good SQLBuilder for Python?

Posted by yughiro_destroyer@reddit | Python | View on Reddit | 38 comments

Hello!
I need to develop a small-medium forum with basic functionalities but I also need to make sure it supports DB swaps easily. I don't like to use ORMs because of their poor performance and I know SQL good enough not to care about it's conveinences.

Many suggest SQLAlchemy Core but for 2 days I've been trying to read the official documentation. At first I thought "woah, so much writing, must be very solid and straightforward" only to realize I don't understand much of it. Or perhaps I don't have the patience.

Another alternative is PyPika which has a very small and clear documentation, easy to memorize the API after using it a few times and helps with translating an SQL query to multiple SQL dialects.

Just curious, are there any other alternatives?
Thanks!