[Python-Dev] SQLite module for Python 2.5 (original) (raw)

Gerhard Haering lists at ghaering.de
Wed Oct 20 18:29:05 CEST 2004


Hi python-dev-elopers,

Last December, we had a short thread discussing the integration of PySQLite into Python 2.4. At the time, I was against inclusion, because I thought PySQLite was not ripe for it, mostly because I thought the API was not stable.

Now, I have started writing a new PySQLite module, which has the following key features:

So why am I bothering you about this?

I think that a simple embedded relational database would be a good thing to have in Python by default. And as Python 2.5 won't happen anytime soon, there's plenty of time for developing it, getting it stable, and integrating it.

Especially those of you that have used PySQLite in the past, do you have any suggestions that would make the rewrite a better candidate for inclusion into Python?

One problem I see is that even the new PySQLite will grow and try to wrap much of the SQLite API that are not directly related to the DB-API. If such a thing is too complicated/big for the standard library, then maybe it would be better to produce a much simpler PySQLite, especially for the Python standard library that leaves all the fancy stuff out. My codename would be "embsql".

So, what would you like to see? "import sqlite", "import embsql", or "pypi.install('pysqlite')" ?

-- Gerhard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://mail.python.org/pipermail/python-dev/attachments/20041020/69edba0d/attachment.pgp



More information about the Python-Dev mailing list