[Twisted-Python] SQL ORM for Twisted & PostgreSQL

Matt Haggard haggardii at gmail.com
Thu Jul 18 15:20:46 MDT 2013


> On Jul 17, 2013, at 5:04 PM, Jeffrey Ollie <jeff at ocjtech.us> wrote:

>
> > I know that this has been asked before, but it's been a while and I'm
> > hoping for some good news.  Is there a SQL ORM that works well with
> > Twisted and PostgreSQL?  In particular I'm hoping to find something
> > that works with txpostgres as that's the library I prefer to access
> > the database with.
>
> There's bits of one in Calendar Server: <http://trac.calendarserver.org/browser/CalendarServer/trunk/twext/enterprise/dal/record.py>  It doesn't use txpostgres, but that's because it relies on adbapi2 (also in calendar server, hopefully to be moved into Twisted at some point).
>
> -glyph

I've made a thing that has a similar API to txpostgres and will use
txpostgres underneath if it's installed:

https://github.com/iffy/norm

I welcome feedback/patches.

- Matt Haggard

(I wasn't on the mailing list when the original message was sent, so
this "reply" may not appear quite correctly)



More information about the Twisted-Python mailing list