Database engine bindings for Python (was: Database statements via python but database left intact)

Dan Sommers dan at tombstonezero.net
Sun Oct 6 02:22:54 EDT 2013


On Sun, 06 Oct 2013 12:19:13 +1100, Chris Angelico wrote:

> On Sun, Oct 6, 2013 at 12:05 PM, Ben Finney wrote:

[ ... ]

>> With a separately-installed, far more complex database engine like
>> MySQL or PostgreSQL, the Python bindings will only work if they are
>> compiled against the correct client library.

[ ... ]

> The alternative is a pure-Python implementation of the PostgreSQL wire
> protocol ... I don't know if one exists already or not ...

The PostgreSQL Python wiki [0] says that three such implementations do
exist.  Some time ago, before psycopg worked with Python3, I tried
pg8000, and I could access my local databases, but I never got further
than that.

- Dan

[0] http://wiki.postgresql.org/wiki/Python



More information about the Python-list mailing list