Py-SQL-Cleaner – SQL Formatter for Python Code
A CLI tool that detects and formats SQL queries embedded in Python strings and files. Solves the gap where Python formatters ignore SQL and SQL formatters can't handle embedded queries. Target users are Python developers with complex data pipelines.
The rise of dbt, SQLAlchemy, and data-heavy Python stacks means more developers are writing raw SQL inside Python files than ever, and the tooling gap is real — black and ruff ignore SQL content inside strings entirely, and sqlfluff has no awareness of Python context. No clear incumbent owns this specific slice. Revenue is genuinely unclear: this fits better as a freemium OSS project or a bundled feature in a larger dev tooling suite than as a standalone paid product, which makes the "unknown revenue band" honest rather than optimistic. The biggest risk is that the addressable base willing to pay for a standalone CLI formatter is small, and the likely path is this gets absorbed into an existing formatter like sqlfluff or ruff as a plugin before it finds commercial traction.
Idea Signals
Indexed against 3619 ideas in the database
Activity
Spotted 7 time across the internet since May 29, 2026.