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 530,397 times in total on PyPI, including 3,631 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.
- 015.4%
1.24.4.3
437 downloadsDownloads4375.4% - 025.4%
1.24.0.1
436 downloadsDownloads4365.4% - 035.4%
1.28.0.2
435 downloadsDownloads4355.4% - 045.3%
1.26.4.1
426 downloadsDownloads4265.3% - 052.5%
1.131.0
199 downloadsDownloads1992.5% - 060.9%
1.33.0.0
70 downloadsDownloads700.9% - 070.7%
1.130.1
59 downloadsDownloads590.7% - 080.7%
1.130.0
54 downloadsDownloads540.7% - 0973.9%
Other
6.0k downloadsDownloads6.0k73.9%
Guess the next day
Thirteen recent days of execsql downloads. Drag the green handle on the right to guess where day fourteen lands.