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 13 May 2014
|License||Verified by||Verified on||Notes|
|LGPLv3orlater||genium||29 May 2014|
Leaders and contributors
|Federico Di Gregorio||Maintainer|
Resources and communication
|Developer||VCS Repository Webview||https://github.com/psycopg/psycopg2/|
|Help & Development||mailto:email@example.com|
This entry (in part or in whole) was last reviewed on 29 May 2014.