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 details)

Uploaded Source

File details

Details for the file psycopg2ct-0.2.1.tar.gz.

File metadata

  • Download URL: psycopg2ct-0.2.1.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for psycopg2ct-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b73c725a721510745cf09096c2662e033c3be7aa7a18d9a4c3ea93f130d33d6d
MD5 7b41ab04c7c44de9297b2257249d1b4d
BLAKE2b-256 0bdc59f608aa1c2c7e85f0115f52cfbec53027363c9fae60748afdcb2ef0fbc0

See more details on using hashes here.

Provenance

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