Search code examples
pythondatabaseormtornado

Non-blocking ORM for Tornado?


Is there any asynchronous Python ORM other than Twistar?

I'm looking for lightweight ORM for non-blocking API, built on top of tornado. Of course, I can write raw SQL queries using momoko, but I'd like to work with objects.


Solution

  • It's been 5 years, and a lot changed. We wrote GINO to be a lightweight ORM on top of asyncpg and SQLAlchemy core. It is for asyncio and PostgreSQL only. GINO as "GINO Is Not ORM", because it applied almost none usual ORM patterns, in order to be explicit and simple.