execsql
Runs a SQL script against a PostgreSQL, SQLite, MariaDB/MySQL, DuckDB, Firebird, MS-Access, MS-SQL-Server, or Oracle database, or an ODBC DSN. Provides metacommands to import and export data, copy data between databases, conditionally execute SQL and metacommands, and dynamically alter SQL and metacommands with substitution variables. Data can be exported in 18 different formats, including CSV, TSV, ODS, HTML, JSON, LaTeX, and Markdown tables, and using custom templates.
execsql has been downloaded 527,221 times in total on PyPI, including 2,219 in the last 30 days. The latest version is 1.131.0, released May 11, 2026. It is distributed under the GPL license.
Downloads
Weekly, last 90d.
Includes CI traffic.
Sponsorships keep pepy free to read
Version distribution
Share of downloads by released version. Computed over the last quarter.
- 013.6%
1.24.4.3
270 downloadsDownloads2703.6% - 023.6%
1.24.0.1
270 downloadsDownloads2703.6% - 033.6%
1.131.0
268 downloadsDownloads2683.6% - 043.6%
1.28.0.2
268 downloadsDownloads2683.6% - 053.5%
1.26.4.1
260 downloadsDownloads2603.5% - 061.0%
1.33.0.0
76 downloadsDownloads761.0% - 071.0%
1.130.1
72 downloadsDownloads721.0% - 080.8%
1.130.0
61 downloadsDownloads610.8% - 0979.4%
Other
6.0k downloadsDownloads6.0k79.4%
Guess the next day
Thirteen recent days of execsql downloads. Drag the green handle on the right to guess where day fourteen lands.