Psycopg

From PostgreSQL wiki

Revision as of 19:52, 18 May 2012 by Boshomi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Psycopg is a PostgreSQL database adapter for the Python programming language. It conforms to DB-API 2.0 standard.

It is currently at version 2.x, which is a complete rewrite of the original 1.x code to provide new-style classes for connection and cursor objects and other sweet candies. Like the psycopg1, psycopg2 was written with the aim of being very small and fast, and stable as a rock.

Psycopg is designed for heavily multi-threaded applications that create and destroy lots of cursors and make a conspicuous number of concurrent INSERTs or UPDATEs.

Version 2.2 introduces async support and is compatible with coroutine libraries, allowing its use with nonblocking I/O libraries such as Eventlet, gevent, uGreen.

Links

Mailing Lists

Getting GIT repo

git clone git://luna.dndg.it/public/psycopg2.git
Personal tools