Open sandys opened 8 years ago
I have checked out peewee, sqlalchemy async, psycopg, psycopg2, psycopg-cffi and aiopg (loosely based on psycopg).
I mention them, I'm sure there are going to be a lot more suggestions.
I'm looking for one that has been tested and validated as working with growler.
There always caveats with using databases with async frameworks - and I'm looking for the developer to.help me out here. For example sqlalchemy async will only operate in autocommit mode in async,etc. On May 6, 2016 01:29, "John Flynn Matthew" notifications@github.com wrote:
Checkout peewee project
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/pyGrowler/Growler/issues/2#issuecomment-217261367
For growler app talking to mongodb, you can checkout motor (http://motor.readthedocs.io/en/stable/) a db driver that supports non blocking async access. It's not an ORM though.
Maybe this might help:
There seems to exist support for mysql, postgresql, couchdb, redis, etc.
coming from HN (https://news.ycombinator.com/item?id=11634152 and https://news.ycombinator.com/item?id=11632650)
Could you please include something like aiopg in your setup instructions - not as a requirement, but as a recommendation. Too many of us are using something like Flask with postgres and we would love to try Growler out.
But the world of Python ORMs is problematic when it comes to asyncio compatible libraries. This includes mysql, postgresql and redis - three of the biggest ones which pretty much everyone uses.
As someone else put it on HN - https://news.ycombinator.com/item?id=11629444