petl-developers / petl

Python Extract Transform and Load Tables of Data
MIT License
1.25k stars 193 forks source link

Can petl work with asyncpg? #486

Open guoyingtao opened 4 years ago

guoyingtao commented 4 years ago

I checked this link https://petl.readthedocs.io/en/stable/_modules/petl/io/db.html It says petl work with any DB-API 2.0 connection.

It seems asyncpg hasn't support DB-API yet. So can petl work with asyncpg anyway? Thanks!

alimanfoo commented 4 years ago

Hi @guoyingtao, petl pre-dates async in Python, so no support for async I'm afraid. asyncpg does look very nice though.