Hacker News new | ask | show | jobs
by chrisjc 585 days ago
Since you're using python, have you looked into sqlglot? I think it has some pretty-print options.

https://github.com/tobymao/sqlglot