Re: [sqlite] Recommended wrapper for Python?

2007-04-23 Thread Gilles Ganault

At 21:14 23/04/2007 +0100, Martin Jenkins wrote:
pysqlite implements Python's DBAPI and was integrated into Python. There 
is another wrapper, APSW, which is thinner and closer to SQLite's C API. 
Choose whichever you feel most comfortable with.


If you choose pysqlite be aware that it will start transactions behind 
your back and can produce the wrong error message if you start your own 
transactions.


APSW works with Python 2.5, is usually a bit faster than pysqlite and is 
more frequently updated - it's not tied to the DBAPI.


Thanks for the clarification.


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] Recommended wrapper for Python?

2007-04-23 Thread Martin Jenkins

Gilles Ganault wrote:

At 14:40 23/04/2007 +0200, Stef Mientki wrote:
I've no experience whatsover, but if I see the list, the top one is 
the best choice, because it'll be integrated in the standard Python.


Thanks. I didn't know SQLite was part of Python 2.5.


pysqlite implements Python's DBAPI and was integrated into Python. There 
is another wrapper, APSW, which is thinner and closer to SQLite's C API. 
Choose whichever you feel most comfortable with.


If you choose pysqlite be aware that it will start transactions behind 
your back and can produce the wrong error message if you start your own 
transactions.


APSW works with Python 2.5, is usually a bit faster than pysqlite and is 
more frequently updated - it's not tied to the DBAPI.


Martin


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] Recommended wrapper for Python?

2007-04-23 Thread Gilles Ganault

At 14:40 23/04/2007 +0200, Stef Mientki wrote:
I've no experience whatsover, but if I see the list, the top one is the 
best choice, because it'll be integrated in the standard Python.


Thanks. I didn't know SQLite was part of Python 2.5.


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] Recommended wrapper for Python?

2007-04-23 Thread Stef Mientki



Gilles Ganault wrote:

Hello

I browsed through the archives at Gname, but most threads regarding 
wrappers for Python date back to 2005.


There are several wrappers listed in the wiki 
(http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers), so I'd like 
some feedback about which you would recommend to use SQLite from 
Python (2.4).

I've no experience whatsover,
but if I see the list, the top one is the best choice,
because it'll be integrated in the standard Python.

cheers,
Stef


Thank you
GG.


- 


To unsubscribe, send email to [EMAIL PROTECTED]
- 







Kamer van Koophandel - handelsregister 41055629  / Netherlands Chamber of 
Commerce - trade register 41055629



-
To unsubscribe, send email to [EMAIL PROTECTED]
-



[sqlite] Recommended wrapper for Python?

2007-04-23 Thread Gilles Ganault

Hello

I browsed through the archives at Gname, but most threads regarding 
wrappers for Python date back to 2005.


There are several wrappers listed in the wiki 
(http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers), so I'd like some 
feedback about which you would recommend to use SQLite from Python (2.4).


Thank you
GG.


-
To unsubscribe, send email to [EMAIL PROTECTED]
-