I Forked “Asyncpg” — And It Parses Database Records to Numpy 20x Faster | by Vadim Markovtsev | Jun, 2022

Presenting the fork of asyncpg — asynchronous PostgreSQL client for Python — based on NumPy structured arrays Photo by SpaceX on Unsplash I hacked asyncpg — an asyncio PostgreSQL client library — to parse the SELECT-ed records from low-level PostgreSQL protocol directly to NumPy structured arrays without materializing Python objects, and avoided most of the … Read more