mcfunley / pugsql

A HugSQL-inspired database library for Python
https://pugsql.org
Apache License 2.0
673 stars 22 forks source link

asyncpg + pugsql #2

Closed kwuite closed 5 years ago

kwuite commented 5 years ago

Dear Mister Mcfunly,

Would this library work with https://github.com/MagicStack/asyncpg ?

I found https://github.com/loop0/pugsql 6 months ago. Have you taken over development or is the a pure coincidence in naming the library?

Thanks in advance.

Sine cera, Kelvin

mcfunley commented 5 years ago

This library depends on SQLAlchemy to handle connections and present a unified dialect for named parameters.

I'm not really familiar with asyncpg, but it looks like it might work if you try this SQLAlchemy adapter? https://github.com/CanopyTax/asyncpgsa

Re: the other project it's coincidence. I think it's just the obvious riff on "hugsql for python." Looks like I just won the race to pypi.