sqlparse 0.5.0


A non-validating SQL parser.

A non-validating SQL parser.

Stars: 3622, Watchers: 3622, Forks: 683, Open Issues: 235

The andialbrecht/sqlparse repo was created 12 years ago and the last code push was 1 months ago.
The project is very popular with an impressive 3622 github stars!

How to Install sqlparse

You can install sqlparse using pip

pip install sqlparse

or add it to a project with poetry

poetry add sqlparse

Package Details

GitHub Repo:


  • Database
  • Software Development
No  sqlparse  pypi packages just yet.


A list of common sqlparse errors.

Code Examples

Here are some sqlparse code examples and snippets.

GitHub Issues

The sqlparse package has 235 open issues on GitHub

  • Fix INDICATOR keyword
  • Incorrect regex for matching the String.Single token
  • docs: Add a PiPY package badge

See more issues on GitHub

Related Packages & Articles

pycparser 2.22

pycparser is a Python package that provides a complete parser for the C programming language. It is written purely in Python and is often used as a front-end for C compilers or analysis tools. The package can parse C source code into an abstract syntax tree (AST), which can then be traversed and manipulated using Python. pycparser is library for developers that want to analyze or transform C code programmatically.

djongo 1.3.6

Driver for allowing Django to use MongoDB as the database backend.

syslogmp 0.4

A parser for BSD syslog protocol (RFC 3164) messages

sqlmodel 0.0.19

SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness.