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.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.