I write code in Python, and I use SQLAlchemy to connect and query the database.
I do this because after 20 years of writing Perl and connecting to the database with DBI and writing hand-rolled SQL, I decided that I wanted a slightly easier life. 99% of all web apps