Version: 0.1.2 Axioma Tools
Formats SQL queries with consistent style without parsing or executing them.
bash
python3 axiom_sql_formatter.py query.sql
python3 axiom_sql_formatter.py --indent 2 query.sql
python
from axiom_sql_formatter import format_sql
formatted = format_sql('select a,b from t where x=1')
# 'SELECT a, b\nFROM t\nWHERE x = 1'
CheckStatusUnit tests20+ casesPerformance<100msSecurityPure stdlib, no injectionDeterminismByte-to-byte stableLicenseApache-2.0
Last updated: 2026-06-14