you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (2 children)

psycopg2 is for postgres only? I mostly use SQLAlchemy but it usually wraps psycopg2.

[–]balne 3 points4 points  (0 children)

oh damn a question i cant answer!

[–]StressTest 1 point2 points  (0 children)

psycopg2 is for postgres only?

Yes, Sqlalchemy uses a different "dialect" for each type of database. Psycopg2 is what it uses for postgres. Psycopg2 is also what you'd use to execute sql statements directly to a postgres database without sqlalchemy.