Show HN: Py-SQL-cleaner – format SQL embedded in Python strings

作者:

Hi HN, I built py-sql-cleaner, a CLI for formatting SQL embedded in Python files.Python formatters handle Python syntax. They do not format SQL written inside Python code. On the other hand, SQL formatters usually target SQL files or raw SQL text, not SQL embedded inside a Python file.Still, I think it is not uncommon to find long SQL queries inside Python codebases.py-sql-cleaner detects embedded SQL inside Python files and works only on that SQL. The main things it can do are: find the SQL, fo…

查看原文 →


来源:Hacker News · RSS 采集

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注