Pygments VS sqlparse

Compare Pygments vs sqlparse and see what are their differences.


A non-validating SQL parser module for Python (by andialbrecht)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • SonarQube - Static code analysis for 29 languages.
Pygments sqlparse
0 4
- 2,686
- -
- 5.1
over 5 years ago 18 days ago
- BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Pygments. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning Pygments yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of sqlparse. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-08.

What are some alternatives?

When comparing Pygments and sqlparse you can also consider the following projects:

pyparsing - Python library for creating PEG parsers [Moved to:]

PLY - Python Lex-Yacc

Highlight.js - JavaScript syntax highlighter with language auto-detection and zero dependencies.

Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.

pydantic - Data parsing and validation using Python type hints

kotlin-latex-listing - A syntax highlighting template for the Kotlin language in LaTeX listings.

jellyfish - 🎐 a python library for doing approximate and phonetic matching of strings.

Rouge - A pure Ruby code highlighter that is compatible with Pygments

python-user-agents - A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.