Python syntax-highlighting

Open-source Python projects categorized as syntax-highlighting

Top 17 Python syntax-highlighting Projects

  • rich

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

    Project mention: Rich is a Python library for rich text and beautiful formatting in the terminal | news.ycombinator.com | 2024-03-14
  • 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. https://github.com/dbcli/mycli "Terminal Client for MySQL with AutoCompletion and Syntax Highlighting"

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • gdb-dashboard

    Modular visual interface for GDB in Python

    Project mention: Everything You Never Wanted to Know About CMake (Redux) | news.ycombinator.com | 2023-06-25

    Disclaimer: I'm making a competing build system.

    I won't tell you specific build systems, but I will tell you what to look for.

    Look for power. Unlimited power. [1]

    Usually, this means a few things:

    1. The build system uses a general-purpose language, even if the language needs features to be added.

    2. The build system does not reduce the power of the general-purpose language. For example, say it starts with Python but prohibits recursion. In that case, you know it is not unlimited power. Looking at you, Starlark.

    3. The build can be dynamically changed, i.e., the build is not statically determined before it even begins.

    4. Each task has unlimited power. This means that the task can use a general-purpose language, not just run external processes.

    5. And there has to be some thought put it in user experience.

    Why are these important? Well, let's look at why with CMake, which fails all of them.

    For #1, CMake's language started as a limited language for enumerating lists. (Hence, CMakeLists.txt is the file name.) And yet, it's grown to be as general-purpose as possible. Why? Because when you need an if statement, nothing else will do, and when you need a loop, nothing else will do.

    And that brings us to #2: if CMake's language started limited, are there still places where it's limited? I argue yes, and I point to the article where it says that your couldn't dynamically call functions until recently. There are probably other places.

    For #3, CMake's whole model precludes it. CMake generates the build upfront then expects another build system to actually execute it. There is no changing the build without regenerating it. (And even then, CMake did a poor job until the addition of `--fresh`.) A fully dynamic build should be able to add targets and make others targets depend on those new targets dynamically, among other things.

    For #4, obviously CMake limits what tasks can do because Ninja and Make limit tasks to running commands.

    As another example, to implement a LaTeX target, you technically need a while loop to iterate until a fixed point. To do that with Make and Ninja, you have to jump through hoops or use an external script that may not work on all platforms.

    CMake obviously fails #5, and to see how much other build systems fail it, just look for comments pouring hate on those build systems. CMake fails the most, but I haven't seen one that passes yet.

    As an example, CMake barely got a debugger. Wow! Cool! It's been 20 years! My build system will have a debugger in public release #2 (one after the MVP) that will be capable of outputting to multiple TTY's like gdb-dashboard. [2] They should have had this years ago!

    Should other comments suggest specific build systems, like the one that suggested Bazel, judge them by this list. Some will be better than others. None will pass everything, IMO, which is why I'm making my own.

    [1]: https://youtube.com/watch?v=Sg14jNbBb-8

    [2]: https://github.com/cyrus-and/gdb-dashboard

  • 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

  • rich-cli

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

    Project mention: FLaNK Stack Weekly 12 February 2024 | dev.to | 2024-02-12
  • litecli

    CLI for SQLite Databases with auto-completion and syntax highlighting

    Project mention: SQLite Functions for Working with JSON | news.ycombinator.com | 2023-08-10

    GitHub: https://github.com/dbcli/litecli

  • pygments

    Pygments is a generic syntax highlighter written in Python

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • pdbpp

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

    Project mention: The new pdbp (Pdb+) Python debugger! | dev.to | 2023-08-02

    Why not just use Python’s built-in pdb debugger or another existing one like ipdb or pdbpp?

  • semshi

    🌈 Semantic Highlighting for Python in Neovim

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

    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

    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

  • Aura-Text

    Aura Text is a versatile and powerful text editor powered by QScintilla that provides all the necessary tools for developers. It is build using PyQt6 and Python.

    Project mention: How to store user passwords safely? | /r/learnprogramming | 2023-12-09

    So, here's the story in short. I'm making an IDE using PyQt6 (GitHub) and I want to add Gist support. My IDE currently has Pastebin support, which doesn't require any logins. The issue with implementing Gist is, that you'll have to log in to GitHub. So my question is, how can I locally store the user's passwords safely?

  • syntax-highlighting

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

    Project mention: does someone use anki for learning programming? | /r/Anki | 2023-07-10

    Syntax Highlighting (https://ankiweb.net/shared/info/1463041493) (Anki addon) Allows you to insert syntax-highlighted code snippets into your notes.

  • rich-argparse

    A rich help formatter for argparse

    Project mention: rich-argparse: A rich help formatter for argparse | news.ycombinator.com | 2023-10-19
  • rainbow_csv.nvim

    Neovim port of mechatroner/rainbow_csv

  • anki-code-highlighter

    Anki plugin for code syntax highlighting.

    Project mention: Syntax Highlighting for Code add-on and dark mode | /r/Anki | 2023-06-16

    There is a new Anki add-on for syntax highlighting [link] which apparently changes color scheme based on the selected theme (e.g., light or dark), but I have not used it myself.

  • NimPlus

    Nim plugin for Sublime Text 4 with IDE like features

  • quo

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

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2024-03-14.

Python syntax-highlighting related posts

Index

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

Project Stars
1 rich 46,683
2 mycli 11,218
3 gdb-dashboard 10,265
4 HTTP Prompt 8,858
5 rich-cli 2,925
6 litecli 2,004
7 pygments 1,676
8 pdbpp 1,234
9 semshi 1,004
10 rainbow_csv 564
11 Aura-Text 256
12 syntax-highlighting 106
13 rich-argparse 77
14 rainbow_csv.nvim 56
15 anki-code-highlighter 48
16 NimPlus 39
17 quo 30
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com