SQL commands using Python pandas functions.
I suggest you download the Jupyter notebook and run it locally to get the full functionality (e.g. the table of contents) and let me know if there's anything you want added.
See https://github.com/steviecurran/sql2csv to convert .sql to .csv, via the C shell