-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please suggest an ORM/db layer #2
Comments
Checkout peewee |
I have checked out peewee, sqlalchemy async, psycopg, psycopg2, 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 There always caveats with using databases with async frameworks - and I'm
|
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: https://github.com/aio-libs 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
The text was updated successfully, but these errors were encountered: