[DB-SIG] SQLAlchemy and py-postgresql?

Marco A. Gonzalez marcoinc at mac.com
Tue Apr 7 20:55:47 CEST 2009


I'm trying to understand all the different pieces I need to use a  
database from Python, and I found SQLAlchemy and it seems  
"good" (without really knowing what I'm talking about yet.)

I understand that py-postgresql provides a DB-API 2.0 interface for  
using a PostgreSQL database. However, when I read about SQLAlchemy at  
http://www.sqlalchemy.org/docs/05/dbengine.html#supported-dbapis I  
saw that it uses psycopg2 for supporting Postgres.

Is there a reason I can't use py-postgresql with SQLAlchemy? What's  
the relationship between the py-postgresql and SQLAlchemy and psycopg2?

------------------------------------------------------
Marco A. Gonzalez, President
Amagavi, Inc., Developer of database-driven web sites
web: http://www.amagavi.com/
email: marcoinc at mac.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/db-sig/attachments/20090407/3186ab55/attachment.htm>


More information about the DB-SIG mailing list