sqlparse is a Python library for the programmatic analysis and manipulation of SQL statements. It provides a non-validating parser that breaks down SQL text into tokens and a utility to divide strings containing multiple queries into individual statements. The project includes a code formatter that reorganizes SQL statements using consistent indentation and keyword casing. It also provides mechanisms for automating this formatting and linting process through version control hooks to maintain code consistency.
mycli is a MySQL command line client, database administration tool, and SQL query editor. It functions as a terminal interface for executing queries and managing MySQL connections, incorporating an integrated assistant that uses large language models to generate and analyze SQL statements based on the current database schema. The tool provides specialized query authoring capabilities, including context-sensitive syntax suggestions, fuzzy-matching identifier completion for tables and columns, and the ability to handover query buffers to external system text editors. It distinguishes its connec
Java SQL Formatter, Beautifier and Pretty Printer
A whitespace formatter for different query languages
Language-agnostic pretty-printing through machine learning (uh, like, is this possible? YES, apparently).
The main features of antlr/codebuff are: SQL Formatting.
Open-source alternatives to antlr/codebuff include: andialbrecht/sqlparse — sqlparse is a Python library for the programmatic analysis and manipulation of SQL statements. It provides a… dbcli/mycli — mycli is a MySQL command line client, database administration tool, and SQL query editor. It functions as a terminal… manticore-projects/jsqlformatter — Java SQL Formatter, Beautifier and Pretty Printer. zeroturnaround/sql-formatter — A whitespace formatter for different query languages. pawelsalawa/sqlitestudio — SQLiteStudio is an open-source graphical tool for browsing, editing, and managing SQLite database files. It combines a… thoughtbot/guides — This project is a software engineering style guide and a curated collection of architectural patterns and coding…