execsql (pypi): Runs a SQL script against a PostgreSQL, MS-Access, SQLite, MS-SQL-Server, MySQL, MariaDB, Firebird, 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.
Keywords: SQL|Postgres|PostgreSQL|SQLite|Firebird|Access|SQL Server|MySQL|MariaDb|ODBC|Oracle|database|xlrd|psycopg2|pyodbc|pymysql|fdb|cx_Oracle|cx-Oracle|odfpy|ETL|CSV|TSV|XML|HTML|JSON|Feather|LaTeX|OpenDocument|table|DBMS|Redshift|CockroachDB|query|script|import|export|Parquet|template|Jinja|Airspeed|zip