Skip to main content

An implementation of the psycopg2 module using ctypes.

Project description

An implementation of the psycopg2 module using ctypes. The module is currently compatible with Psycopg 2.4.4.

To use this package with Django or SQLAlchemy create a psycopg2.py file somewhere in your python path (e.g. the current working dir) and add:

from psycopg2ct import compat
compat.register()

This will map psycopg2ct to psycopg2.

This module is only tested with python 2.6+ and PyPy 1.6+

This is a port of Alex Gaynor’s rpython port (https://bitbucket.org/alex_gaynor/pypy-postgresql/overview) of psycopg2 to python + ctypes.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page