aiosql – Simple SQL in Python

JSON →
library 15.0 ·python
verified May 1, 2026

aiosql allows you to write SQL queries in separate .sql files and call them directly from Python as async or sync functions. It supports multiple database drivers (sqlite3, aiosqlite, psycopg2, asyncpg, etc.) and provides a clean separation of SQL and Python. Current version 15.0, requires Python ≥3.10. Release cadence is irregular but actively maintained.

total hits 30
actors 7 distinct systems
last hit 1d ago human
Amazonbot
3
MetaBot
3
GPTBot
2
Search engines
2
Humans
9

top countries 🇺🇸 United States · 🇩🇪 Germany · VN · 🇨🇦 Canada · 🇫🇷 France