pydoc > sqlparse

📦 NAME

📦 sqlparse - Parse SQL statements.

🚀 Quick Reference

Use CaseCommandDescription
Import packageimport sqlparseImport the sqlparse module
Parse a SQL stringsqlparse.parse(sql)Parse SQL into a tuple of statements
Format SQLsqlparse.format(sql, reindent=True, keyword_case='upper')Reformat SQL string
Split SQL statementssqlparse.split(sql)Split string containing multiple SQL statements

📦 PACKAGE CONTENTS

📊 DATA

__all__ = ['engine', 'filters', 'formatter', 'sql', 'tokens', 'cli']

🔖 VERSION

0.4.2

📁 FILE

/usr/lib/python3/dist-packages/sqlparse/__init__.py

sqlparse
📦 NAME 🚀 Quick Reference 📦 PACKAGE CONTENTS 📊 DATA 🔖 VERSION 📁 FILE

Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 15:01 @216.73.216.114
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format