Skip to main content

A partial implementation of the psycopg2 module using ctypes.

Project description

A partial implementation of the psycopg2 module using ctypes.

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.

Note: this module currently does not implement the full psycopg2 API. Only the parts of the API which are used by Django / SQLAlchemy are implemented.

This module is only tested with python 2.7 (cpython and pypy).

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psycopg2ct-0.2.1.tar.gz (24.4 kB view hashes)

Uploaded Source

Supported by

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