Python syntax-highlighting

Open-source Python projects categorized as syntax-highlighting

Top 12 Python syntax-highlighting Projects

  • rich

    Rich is a Python library for rich text and beautiful formatting in the terminal.

    Project mention: I made a library for making user terminal input really really pretty! | /r/Python | 2023-06-03

    You might consider taking inspiration from the rich module. In particular, I like how rich supports inline color theming which seems much more cumbersome in your framework, requiring the use of context managers as well as familiarity with how your framework structures color objects. Other than that though, I'm impressed!

  • mycli

    A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.

    Project mention: Does anyone prefer the CLI over the shell, or other way around? If so, why? | /r/mysql | 2023-04-23

    Also, check out MyCLI. "Terminal Client for MySQL with AutoCompletion and Syntax Highlighting"

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • gdb-dashboard

    Modular visual interface for GDB in Python

    Project mention: VSCode -> VIM, but how do I accomplish the other IDE tasks? | /r/vim | 2022-11-27

    To debug, termdebug is built in to vim and supports a front end to gdb. In combination with gdb-dashboard this gives a reasonably good debugging experience

  • HTTP Prompt

    An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more.

  • rich-cli

    Rich-cli is a command line toolbox for fancy output in the terminal

    Project mention: coBib 4.0: a modern UI using Textualize libraries | /r/Python | 2023-05-20

    For more than a year I have been refactoring coBib, getting rid of its original ncurses-based TUI in favor of a more modern and a lot more maintainable textual-based TUI. Developing it has been a lot of fun and I must say that the team over at Textualize is doing a great job at developing libraries which are somehow very powerful and extensible while still being easy to use!

  • litecli

    CLI for SQLite Databases with auto-completion and syntax highlighting

    Project mention: Awesome SQLite | | 2022-07-11

    litecli - CLI for SQLite Databases with auto-completion and syntax highlighting

  • pygments

    Pygments is a generic syntax highlighter written in Python

    Project mention: Ask HN: What piece of code/codebase blew your mind when you saw it? | | 2022-10-31

    Its been a while since I worked with this lib but I always thought Pygments was pretty.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • pdbpp

    pdb++, a drop-in replacement for pdb (the Python debugger)

    Project mention: Show HN: Clamshell- an experimental Python based shell | | 2023-01-28

    I like pdbpp. Make sure to install from source as there hasn’t been a release in a while.

  • semshi

    🌈 Semantic Highlighting for Python in Neovim

    Project mention: Understanding highlighting for Python in Neovim | /r/neovim | 2023-03-28

    Try Semantic Highlighting for Python in Neovim

  • rainbow_csv

    🌈Rainbow CSV - Vim plugin: Highlight columns in CSV and TSV files and run queries in SQL-like language

    Project mention: Looking for two plugins for Log Analysis | /r/neovim | 2023-04-26

    Probably not an exact fit, but this plugin came to mind: rainbow_csv

  • syntax-highlighting

    A fork of Tiago Barroso's Syntax Highlighting add-on with support for Anki 2.1 (by glutanimate)

    Project mention: How to show formatted code block? | /r/Anki | 2023-03-21

    You can use the Syntax Highlighting Addon.

  • quo

    🚦🛠️⚙️Quo, a toolkit for writing Command-Line Interface applications and a Text User Interface framework for Python.

    Project mention: Getting Started with quo python | | 2022-08-31

    from quo.console import Console console = Console() console.launch("")

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-06-03.

Python syntax-highlighting related posts


What are some of the best open-source syntax-highlighting projects in Python? This list will help you:

Project Stars
1 rich 43,442
2 mycli 10,909
3 gdb-dashboard 9,395
4 HTTP Prompt 8,717
5 rich-cli 2,678
6 litecli 1,824
7 pygments 1,307
8 pdbpp 1,098
9 semshi 976
10 rainbow_csv 509
11 syntax-highlighting 95
12 quo 22
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives