py-sql-cleaner: A CLI tool for finding, formatting, and extracting embedded SQL from Python codebases
By
enumura
Master baker tier. Every paragraph earns its place on the tray.
Summary
py-sql-cleaner is an early-stage CLI tool (MVP) designed to find, format, and extract SQL queries embedded within Python files. It targets codebases where SQL is written inside triple-quoted Python strings. The tool uses SQLGlot for formatting, supports database-specific dialects via a --dialect flag, and can either format SQL in place or extract it into external .sql files. It does not connect to databases.
Key quotes
· 4 pulledpy-sql-cleaner is a CLI tool for finding, formatting, and extracting SQL embedded in Python files.
It is built for Python codebases where long SQL queries are written directly inside triple-quoted Python strings.
py-sql-cleaner can format that SQL in place, or extract it into an external .sql file.
It uses SQLGlot internally for best-effort SQL formatting. It does not connect
You might also wanna read
Microsoft Foundry Skill: Reusable Guidance for Coding Agent Workflows
The Microsoft Foundry Skill is a meta-skill for coding agents that provides reusable guidance for Foundry agent workflows. It helps standard
Erlang Ecosystem Foundation Launches Central Company Registry
The Erlang Ecosystem Foundation has launched a new canonical company registry at registry.erlef.org. The registry aims to serve members, spo
aislop: Open-source CLI tool detects low-quality code patterns left by AI coding agents
aislop is an open-source CLI tool (MIT-licensed) that detects low-quality patterns left behind by AI coding agents like Claude Code, Cursor,
wterm: A DOM-based Web Terminal Emulator Powered by Zig and WebAssembly
wterm is a web-based terminal emulator that renders directly to the DOM, providing native text selection, copy/paste, find functionality, an
PromptLayer: AI observability tool for tracing multi-step workflows, costs, and failures
PromptLayer is an AI observability tool for developers that provides a unified timeline and waterfall view to trace AI requests, workflows,
Anthropic launches dynamic workflows for Claude Code with parallel subagent orchestration
Anthropic introduces dynamic workflows in Claude Code, enabling Claude to autonomously orchestrate tens to hundreds of parallel subagents wi
