Thread: Python and PSQL

Python and PSQL

From
"kadimal"
Date:
Hi Guys:
 
I have psql and python on my linux red hat 6.0 machine, Please tell me what i need to do in order to connect python to psql.
 
Thank you so much for your great efforts.
My email address is kadimal@hotmail.com
 
Kadim Al.

Re: Python and PSQL

From
Jason Earl
Date:
There is literally a wealth of Python modules for
PostgreSQL, most of which claim to offer Python
DBI-API 2.0 compatibility.  I personally use the
PyGreSQL package written by D'Arcy Cain

http://www.druid.net/pygresql/

It has been around the longest, and is well tested. 
It also has a DBI-API 2.0 compliant wrapper.

Jason Earl


--- kadimal <kadimal@netzero.net> wrote:
> Hi Guys:
> 
> I have psql and python on my linux red hat 6.0
> machine, Please tell me what i need to do in order
> to connect python to psql. 
> 
> Thank you so much for your great efforts.
> My email address is kadimal@hotmail.com
> 
> Kadim Al.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/


Re: Python and PSQL

From
darcy@druid.net (D'Arcy J.M. Cain)
Date:
Thus spake Jason Earl
> There is literally a wealth of Python modules for
> PostgreSQL, most of which claim to offer Python
> DBI-API 2.0 compatibility.  I personally use the
> PyGreSQL package written by D'Arcy Cain
> 
> http://www.druid.net/pygresql/
> 
> It has been around the longest, and is well tested. 
> It also has a DBI-API 2.0 compliant wrapper.

And it comes in the PostgreSQL distribution.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.