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 522,047 times in total on PyPI, including 2,594 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.
- 014.0%
1.131.0
392 downloadsDownloads3924.0% - 022.0%
1.33.0.0
193 downloadsDownloads1932.0% - 031.6%
1.24.0.1
157 downloadsDownloads1571.6% - 041.6%
1.26.4.1
156 downloadsDownloads1561.6% - 051.6%
1.28.0.2
156 downloadsDownloads1561.6% - 061.6%
1.24.4.3
155 downloadsDownloads1551.6% - 071.5%
1.130.1
147 downloadsDownloads1471.5% - 080.8%
1.130.0
78 downloadsDownloads780.8% - 0985.3%
Other
8.3k downloadsDownloads8.3k85.3%
Guess the next day
Thirteen recent days of execsql downloads. Drag the green handle on the right to guess where day fourteen lands.