SaaSHub helps you find the best software and product alternatives Learn more →
Top 12 Python syntax-highlighting Projects
-
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!
-
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. https://github.com/dbcli/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.
-
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. https://twitter.com/httpie
-
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: Ask HN: What piece of code/codebase blew your mind when you saw it? | news.ycombinator.com | 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.
-
Project mention: Show HN: Clamshell- an experimental Python based shell | news.ycombinator.com | 2023-01-28
I like pdbpp. Make sure to install from source as there hasn’t been a release in a while.
-
Try https://github.com/numirias/semshi 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
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)
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.
from quo.console import Console console = Console() console.launch("https://quo.rtfd.io/")
Python syntax-highlighting related posts
- coBib 4.0: a modern UI using Textualize libraries
- Looking for two plugins for Log Analysis
- Does anyone prefer the CLI over the shell, or other way around? If so, why?
- Understanding highlighting for Python in Neovim
- How to show formatted code block?
- Is anyone still making text user interfaces for end users?
- C-style macros in Python!
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007f0920a97ec0>
www.saashub.com | 3 Jun 2023
Index
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 |