Link pypq

pypq is a DBAPI 2.0 compliant Python driver for PostgreSQL, made using ctypes and libpq.so library.

This means, that it can be used with PyPy, or any other circumstances, where ctypes is available, but psycopg2, the most popular PostgreSQL driver, is not.

Features :

  • full DBAPI 2.0 compliance
  • should be faster than pure python implementations, cause it uses PostgreSQL c library libpq.so
  • a psycopg2-like extension API
  • has a Django backend
  • casting of all standard python types implemented, including datetime, date and timedelta, except converting lists into postgres arrays and vice versa