[Twisted-Python] adbapi, transactions and threading

Stephen Waterbury waterbug at pangalactic.us
Fri Apr 4 09:07:56 MDT 2008


Atilla wrote:
> Basically, the way I understand it - adbapi is just a deferToThread
> wrapper around the normal python API, correct? As in - if I used
> something different to access my database, for example - sqlalchemy, I
> would only need to appropriately wrap that functionality with
> deferToThread, just as adbapi does?

If a twisted integration for sqlalchemy is specifically what you
want, that is already available:

http://foss.eepatents.com/sAsync/

(or do a pypi search on 'sasync').

Steve




More information about the Twisted-Python mailing list