psycopg is a PostgreSQL database adapter for the Python programming language (just like pygresql and popy). It supports the full Python DBAPI 2.0 and it is thread safe at level 2. It was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a conspicuous number of concurrent INSERTs or UPDATEs. Every open Python connection keeps a pool of real (UNIX or TCP/IP) connections to the database. Every time a new cursor is created, one of the unused connections from the pool is used instead of a new connection being opened. That makes psycopg very fast in typical client-server applications that create a servicing thread every time a client request arrives.
released on 16 July 2005
|License||Verified by||Verified on||Notes|
|GPLv2||Janet Casey||7 March 2002|
Leaders and contributors
Resources and communication
|Developer||VCS Repository Webview||http://cvs.initd.org/cgi-bin/viewcvs.cgi/psycopg/|
This entry (in part or in whole) was last reviewed on 18 July 2005.