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 535,781 times in total on PyPI, including 2,671 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.
- 017.8%
1.24.4.3
734 downloadsDownloads7347.8% - 027.8%
1.24.0.1
732 downloadsDownloads7327.8% - 037.8%
1.28.0.2
732 downloadsDownloads7327.8% - 047.7%
1.26.4.1
730 downloadsDownloads7307.7% - 052.6%
1.131.0
244 downloadsDownloads2442.6% - 060.7%
1.130.1
65 downloadsDownloads650.7% - 070.6%
1.130.0
53 downloadsDownloads530.6% - 080.4%
1.78.2
40 downloadsDownloads400.4% - 0964.7%
Other
6.1k downloadsDownloads6.1k64.7%
Guess the next day
Thirteen recent days of execsql downloads. Drag the green handle on the right to guess where day fourteen lands.