On Tue, Aug 24, 2004 at 02:07:58PM -0400, Matt Wilson wrote:

> Hi.  I've been working on some refactoring of the Python bindings for

Sounds great, thanks for your work on this.  Some things I'd like to see in
a sqlite wrapper:

* DBAPI compliance is important to me.  sqlite is only one of the DBs I'd
  like to support in my apps.

* I use pyformat pretty heavily.  I like being able to use dictionaries as a
  data format, and pyformat makes this really easy.  But it would probably not
  be too hard to create a wrapper for this (there's already a cookbook 
  recipe for this.)
  
* A dictionary-like row object would be nice (pyPgSQL has this).  Currently
  pysqlite has read-only row objects.  But his is not that important as it
  is easy to convert tuples to dicts.
  
* I'd like to have more transparent handling of bools.

* I do like the current pysqlite's transparent handling of date/time types.

* Not having having the "--types" hack is not a loss IMO, as I find it
  rather awkward.  You have to build a string of types for each possible
  query you might do, and it's very specific to pysqlite.

Dave Cook

Reply via email to