パッケージ: python3-pprintpp (0.4.0-4)
- ホームページ [github.com]
drop-in replacement for pprint that's actually pretty
Unlike pprint, pprintpp strives to emit a readable, largely PEP8-compliant, representation of its input.
It also has explicit support for: the collections module (defaultdict and Counter) and numpy arrays.
Unicode characters, when possible, will be printed un-escaped. This is done by checking both the output stream's encoding (defaulting to utf-8) and the character's Unicode category. An effort is made to print only characters which will be visually unambiguous: letters and numbers will be printed un-escaped, spaces, combining characters, and control characters will be escaped.
Subclassess of built-in collection types which don't define a new __repr__ will have their class name explicitly added to their repr (while custom __repr__ methods will be respected).
その他の python3-pprintpp 関連パッケージ
- dep: python3
- interactive high-level object-oriented language (default python3 version)