rich

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

MIT License

Downloads
241.8M
Stars
48.1K
Committers
268

Bot releases are visible (Hide)

rich - The FORCE_COLOR edition

Published by willmcgugan about 2 years ago

NOTE: 12.6.0 may be the last version to support Python3.6. The next version will be 13.0.0, and will be Python3.7+

[12.6.0] - 2022-10-02

Added

Fixed

Changed

  • Removed border from code blocks in Markdown
rich -

Published by willmcgugan over 2 years ago

[12.5.1] - 2022-07-11

Fixed

rich -

Published by willmcgugan over 2 years ago

[12.5.0] - 2022-07-11

Added

  • Environment variables JUPYTER_COLUMNS and JUPYTER_LINES to control width and height of console in Jupyter
  • Markdown friendly Box style, MARKDOWN, for rendering tables ready to copy into markdown files
  • inspect will prefix coroutine functions with async def

Changed

  • Default width of Jupyter console size is increased to 115
  • Optimized Segment.divide
  • Style.__add__ will no longer return NotImplemented
  • Remove rich._lru_cache

Fixed

rich -

Published by willmcgugan over 2 years ago

[12.4.4] - 2022-05-24

Changed

  • Added clipping per line to SVG output to avoid box characters overlapping
  • Optimized SVG output
rich -

Published by willmcgugan over 2 years ago

[12.4.3] - 2022-05-23

Changed

  • Further tweaks to SVG character matrix
  • Added clip rect to SVG to prevent box characters overlapping bottom of terminal
rich - Fix SVG output on Firefox

Published by willmcgugan over 2 years ago

[12.4.2] - 2022-05-23

Fixed

  • Fix for SVG on Firefox

Changed

  • Removed excess margin from SVG, tweaked cell sizes to better render block characters
rich - SVG Redux Redux

Published by willmcgugan over 2 years ago

A fix and further enhancements to the SVG export.

Default color scheme is now dimmed Monokai, and there is a keyline around the terminal so it looks distinct against a dark background.

Rich SVG example

[12.4.1] - 2022-05-08

Fixed

Changed

  • Added a keyline around SVG terminals which is visible on dark backgrounds
rich - SVG Redux

Published by willmcgugan over 2 years ago

This release has a major change to the SVG export. It is now a simpler design, and will render outside of a browser.

deniro

[12.4.0] - 2022-05-07

Changed

Added

rich -

Published by willmcgugan over 2 years ago

[12.3.0] - 2022-04-26

Added

Fixed

Changed

  • Setting total=None on progress is now possible, and will display pulsing animation
  • Micro-optimization for Segment.divide
rich -

Published by willmcgugan over 2 years ago

[12.2.0] - 2022-05-05

Changed

  • Bumped typing-extensions minimum to 4.0.0
  • Bumped minimum Python version to 3.6.3
rich - Export SVGs and file progress

Published by willmcgugan over 2 years ago

Snap export svg
Snap

[12.1.0] - 2022-04-03

Added

Fixed

rich - Fix for piping on legacy windows plus optimizations

Published by willmcgugan over 2 years ago

[12.0.1] - 2022-03-22

Changed

Fixed

rich - New Legacy Windows renderer

Published by willmcgugan over 2 years ago

This release drops Colorama as a dependancy in favour of an internal Win32 render.

There are some new features for progress bars, added support for pretty printing named tuples, and a bunch of fixes.

As a major version there are a few breaking changes, see below.

[12.0.0] - 2022-03-10

Added

Fixed

Changed

rich -

Published by willmcgugan over 2 years ago

[11.2.0] - 2022-02-08

Added

Fixed

  • Fixed performance issue in measuring text
rich -

Published by willmcgugan over 2 years ago

[11.1.0] - 2022-01-28

Added

Fixed

rich - Vertical alignment in tables

Published by willmcgugan almost 3 years ago

The headline feature of this reach is vertical alignment in tables.

Note: as a major version bump, this version has some breaking changes. These changes won't affect many people, but we like to be strict about semver. See the release notes below.

[11.0.0] - 2022-01-09

Added

Fixed

Changed

  • breaking Deprecated rich.console.RenderGroup, now named rich.console.Group
  • breaking Syntax.__init__ parameter lexer_name renamed to lexer
  • Syntax constructor accepts both str and now a pygments lexer https://github.com/Textualize/rich/pull/1748
rich -

Published by willmcgugan almost 3 years ago

[10.16.2] - 2021-01-02

Fixed

  • Fixed @ not being escaped in markup
rich -

Published by willmcgugan almost 3 years ago

[10.16.1] - 2021-12-15

Fixed

rich - v10.16.0

Published by willmcgugan almost 3 years ago

A bugfix for progress bars in Jupyter in this release. And a new property on Text class which exports the equivalent console markup.

[10.16.0] - 2021-12-12

Fixed

Added

rich - Hotfix to fix deadlock issue with Live (including status and progress)

Published by willmcgugan almost 3 years ago

AFAIK this issue only occurred in test suites, but it is a recommended that if you have 10.15.X installed you should upgrade.

[10.15.2] - 2021-12-02

Fixed

Package Rankings
Top 0.25% on Pypi.org
Top 5.24% on Proxy.golang.org
Top 1.85% on Conda-forge.org
Top 7.68% on Anaconda.org
Badges
Extracted from project README
Downloads PyPI version codecov Rich blog Twitter Follow