News for hackers. Stuff that matters.
Re:Growler: Asyncio Micro-Framework in Python by sandGorgon on Thursday May 05, 2016 @01:19AM (#11634152)
a quick request (and something similar was discussed here - https://news.ycombinator.com/item?id=11626454)

could you add a representative example to show how we can use your framework with Postgres ? For example, psycopg vs psycopg2 vs psycogreen vs psycopg2-cffi vs aiopg ... I dont even know which one will work properly using your framework and how (and maintain async characteristics).

Re:Growler: Asyncio Micro-Framework in Python by Leynos on Thursday May 05, 2016 @03:24AM (#11634512)
(Comment from a bystander). You probably want aiopg in order to maintain the async characteristics and use the "friendly" asyncio syntax.

There is also peewee-async (http://peewee-async.readthedocs.io/en/latest/) if you want an ORM using asyncio. (I've been meaning to try this myself, but haven't had an opportunity).

Re:Growler: Asyncio Micro-Framework in Python by sandGorgon on Thursday May 05, 2016 @04:27AM (#11634651)
absolutely.. i am concerned about frameworks not fundamentally thinking about DB. With async, there is that additional problem of "this does not work in async mode". So I would hope the developers include database hookup as part of their unit test suite.