Print colour in terminal

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

Our great sponsors
  • Sonar - Write Clean Python Code. Always.
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • rich

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

    See rich:

  • escapyde

    Yet another ANSI escape sequence library for Python - now modernised!

    A while back I made a small library for simplifying ANSI escape sequences, called escapyde, though it's not fully complete as I can't properly chain sequences yet. But it does work, as far as the provided example is concerned.

  • 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.

  • urwid

    Console user interface library for Python (official repo)

    You can also take a look at

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts