Tornado + PostgreSQL + Queries in Python
The best way to integrate straight SQL with the Tornado server is to use the Queries library. I wrote a full article on how to do it in a sample project. You can find it in this link on my hashnode blog:
Queries Library for Tornado
This is the git repo:
Hope this helps!