Skip to content

mvantellingen/psycopg2-ctypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: this module is no longer supported by me. If you want to take over the
maintenance then let me know, otherwise see https://github.com/chtd/psycopg2cffi

---

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.

Packages

No packages published

Languages