default monokai night-owlish
$ python -m rich rainbow
warning : Malware checks are experimental and may change without warning. Pass
`--preview-features malware-check` to disable this warning.
Rich features
Colors ✓ 4-bit color ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ 8-bit color ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ Truecolor (16.7 million) ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ Dumb terminals ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ Automatic color conversion ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
Styles All ansi styles: bold , dim , italic , underline , strikethrough , reverse , and
even blink .
Text Word wrap text. Justify left , center , right or full .
Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor
sit amet, sit amet, sit amet, sit amet,
consectetur consectetur consectetur consectetur
adipiscing elit. adipiscing elit. adipiscing elit. adipiscing elit.
Quisque in metus Quisque in metus Quisque in metus Quisque in metus
sed sapien sed sapien sed sapien sed sapien
ultricies pretium ultricies pretium ultricies pretium ultricies pretium
a at justo. a at justo. a at justo. a at justo.
Maecenas luctus Maecenas luctus Maecenas luctus Maecenas luctus
velit et auctor velit et auctor velit et auctor velit et auctor
maximus. maximus. maximus. maximus.
Asian 🇨🇳 该库支持中文,日文和韩文文本!
language 🇯🇵 ライブラリは中国語、日本語、韓国語のテキストをサポートしています
support 🇰🇷 이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다
Markup Rich supports a simple bbcode -like markup for color , style , and emoji! 👍
🍎 🐜 🐻 🥖 🚌
Tables Date Title Production Budget Box Office
───────────────────────────────────────────────────────────────────────────
Dec 20, 2019 Star Wars: The Rise $275,000,000 $375,126,118
of Skywalker
May 25, 2018 Solo : A Star Wars $275,000,000 $393,151,347
Story
Dec 15, 2017 Star Wars Ep. VIII: $262,000,000 $1,332,539,889
The Last Jedi
May 19, 1999 Star Wars Ep. I : The $115,000,000 $1,027,044,677
phantom Menace
Syntax 1 def iter_last ( values : Iterable [ T {
highlighting 2 │ """Iterate and generate a tu │ 'foo' : [
& 3 │ iter_values = iter ( values ) │ │ 3.1427 ,
pretty 4 │ try : │ │ (
printing 5 │ │ previous_value = next ( it │ │ │ 'Paul Atreides' ,
6 │ except StopIteration : │ │ │ 'Vladimir Harkonnen' ,
7 │ │ return │ │ │ 'Thufir Hawat'
8 │ for value in iter_values : │ │ )
9 │ │ yield False , previous_va │ ] ,
10 │ │ previous_value = value │ 'atomic' : ( False , True , None )
11 │ yield True , previous_value }
Markdown # Markdown Markdown
Supports much of the *markdown* Supports much of the markdown
__syntax__! syntax !
- Headers • Headers
- Basic formatting: **bold**, • Basic formatting: bold , italic ,
*italic*, `code` code
- Block quotes • Block quotes
- Lists, and more... • Lists, and more...
+more! Progress bars, columns, styled logging handler, tracebacks, etc...
rendered in 46. 0ms ( cold cache )
rendered in 16. 4ms ( warm cache )
╭─ ─────────────────────────── Help ensure Rich is maintained ─────────────────────────── ─╮
│ │
│ Hope you enjoy using Rich! │
│ │
│ Consider sponsoring to ensure this project is maintained. │
│ │
│ https://github.com/sponsors/willmcgugan │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────╯
$ python -m rich rainbow
warning : Malware checks are experimental and may change without warning. Pass
`--preview-features malware-check` to disable this warning.
Rich features
Colors ✓ 4-bit color ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ 8-bit color ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ Truecolor (16.7 million) ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ Dumb terminals ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ Automatic color conversion ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
Styles All ansi styles: bold , dim , italic , underline , strikethrough , reverse , and
even blink .
Text Word wrap text. Justify left , center , right or full .
Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor
sit amet, sit amet, sit amet, sit amet,
consectetur consectetur consectetur consectetur
adipiscing elit. adipiscing elit. adipiscing elit. adipiscing elit.
Quisque in metus Quisque in metus Quisque in metus Quisque in metus
sed sapien sed sapien sed sapien sed sapien
ultricies pretium ultricies pretium ultricies pretium ultricies pretium
a at justo. a at justo. a at justo. a at justo.
Maecenas luctus Maecenas luctus Maecenas luctus Maecenas luctus
velit et auctor velit et auctor velit et auctor velit et auctor
maximus. maximus. maximus. maximus.
Asian 🇨🇳 该库支持中文,日文和韩文文本!
language 🇯🇵 ライブラリは中国語、日本語、韓国語のテキストをサポートしています
support 🇰🇷 이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다
Markup Rich supports a simple bbcode -like markup for color , style , and emoji! 👍
🍎 🐜 🐻 🥖 🚌
Tables Date Title Production Budget Box Office
───────────────────────────────────────────────────────────────────────────
Dec 20, 2019 Star Wars: The Rise $275,000,000 $375,126,118
of Skywalker
May 25, 2018 Solo : A Star Wars $275,000,000 $393,151,347
Story
Dec 15, 2017 Star Wars Ep. VIII: $262,000,000 $1,332,539,889
The Last Jedi
May 19, 1999 Star Wars Ep. I : The $115,000,000 $1,027,044,677
phantom Menace
Syntax 1 def iter_last ( values : Iterable [ T {
highlighting 2 │ """Iterate and generate a tu │ 'foo' : [
& 3 │ iter_values = iter ( values ) │ │ 3.1427 ,
pretty 4 │ try : │ │ (
printing 5 │ │ previous_value = next ( it │ │ │ 'Paul Atreides' ,
6 │ except StopIteration : │ │ │ 'Vladimir Harkonnen' ,
7 │ │ return │ │ │ 'Thufir Hawat'
8 │ for value in iter_values : │ │ )
9 │ │ yield False , previous_va │ ] ,
10 │ │ previous_value = value │ 'atomic' : ( False , True , None )
11 │ yield True , previous_value }
Markdown # Markdown Markdown
Supports much of the *markdown* Supports much of the markdown
__syntax__! syntax !
- Headers • Headers
- Basic formatting: **bold**, • Basic formatting: bold , italic ,
*italic*, `code` code
- Block quotes • Block quotes
- Lists, and more... • Lists, and more...
+more! Progress bars, columns, styled logging handler, tracebacks, etc...
rendered in 41. 1ms ( cold cache )
rendered in 19. 0ms ( warm cache )
╭─ ─────────────────────────── Help ensure Rich is maintained ─────────────────────────── ─╮
│ │
│ Hope you enjoy using Rich! │
│ │
│ Consider sponsoring to ensure this project is maintained. │
│ │
│ https://github.com/sponsors/willmcgugan │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────╯
$ python -m rich rainbow
warning : Malware checks are experimental and may change without warning. Pass
`--preview-features malware-check` to disable this warning.
Rich features
Colors ✓ 4-bit color ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ 8-bit color ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ Truecolor (16.7 million) ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ Dumb terminals ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
✓ Automatic color conversion ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄
Styles All ansi styles: bold , dim , italic , underline , strikethrough , reverse , and
even blink .
Text Word wrap text. Justify left , center , right or full .
Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor
sit amet, sit amet, sit amet, sit amet,
consectetur consectetur consectetur consectetur
adipiscing elit. adipiscing elit. adipiscing elit. adipiscing elit.
Quisque in metus Quisque in metus Quisque in metus Quisque in metus
sed sapien sed sapien sed sapien sed sapien
ultricies pretium ultricies pretium ultricies pretium ultricies pretium
a at justo. a at justo. a at justo. a at justo.
Maecenas luctus Maecenas luctus Maecenas luctus Maecenas luctus
velit et auctor velit et auctor velit et auctor velit et auctor
maximus. maximus. maximus. maximus.
Asian 🇨🇳 该库支持中文,日文和韩文文本!
language 🇯🇵 ライブラリは中国語、日本語、韓国語のテキストをサポートしています
support 🇰🇷 이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다
Markup Rich supports a simple bbcode -like markup for color , style , and emoji! 👍
🍎 🐜 🐻 🥖 🚌
Tables Date Title Production Budget Box Office
───────────────────────────────────────────────────────────────────────────
Dec 20, 2019 Star Wars: The Rise $275,000,000 $375,126,118
of Skywalker
May 25, 2018 Solo : A Star Wars $275,000,000 $393,151,347
Story
Dec 15, 2017 Star Wars Ep. VIII: $262,000,000 $1,332,539,889
The Last Jedi
May 19, 1999 Star Wars Ep. I : The $115,000,000 $1,027,044,677
phantom Menace
Syntax 1 def iter_last ( values : Iterable [ T {
highlighting 2 │ """Iterate and generate a tu │ 'foo' : [
& 3 │ iter_values = iter ( values ) │ │ 3.1427 ,
pretty 4 │ try : │ │ (
printing 5 │ │ previous_value = next ( it │ │ │ 'Paul Atreides' ,
6 │ except StopIteration : │ │ │ 'Vladimir Harkonnen' ,
7 │ │ return │ │ │ 'Thufir Hawat'
8 │ for value in iter_values : │ │ )
9 │ │ yield False , previous_va │ ] ,
10 │ │ previous_value = value │ 'atomic' : ( False , True , None )
11 │ yield True , previous_value }
Markdown # Markdown Markdown
Supports much of the *markdown* Supports much of the markdown
__syntax__! syntax !
- Headers • Headers
- Basic formatting: **bold**, • Basic formatting: bold , italic ,
*italic*, `code` code
- Block quotes • Block quotes
- Lists, and more... • Lists, and more...
+more! Progress bars, columns, styled logging handler, tracebacks, etc...
rendered in 41. 2ms ( cold cache )
rendered in 19. 0ms ( warm cache )
╭─ ─────────────────────────── Help ensure Rich is maintained ─────────────────────────── ─╮
│ │
│ Hope you enjoy using Rich! │
│ │
│ Consider sponsoring to ensure this project is maintained. │
│ │
│ https://github.com/sponsors/willmcgugan │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────╯