<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><div>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.)</div><div><br></div><div>I understand that py-postgresql provides a DB-API 2.0 interface for using a PostgreSQL database. However, when I read about SQLAlchemy at <a href="http://www.sqlalchemy.org/docs/05/dbengine.html#supported-dbapis">http://www.sqlalchemy.org/docs/05/dbengine.html#supported-dbapis</a> I saw that it uses psycopg2 for supporting Postgres. </div><div><br></div><div>Is there a reason I can't use py-postgresql with SQLAlchemy? What's the relationship between the py-postgresql and SQLAlchemy and psycopg2?</div><div><br></div><div>------------------------------------------------------</div></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>Marco A. Gonzalez, President</div><div>Amagavi, Inc., Developer of database-driven web sites</div><div>web: <a href="http://www.amagavi.com">http://www.amagavi.com</a>/</div><div>email: <a href="mailto:marcoinc@mac.com">marcoinc@mac.com</a></div><div><br></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></span> </div><br></body></html>