Skip to content
Sections
>> Trisquel >> Paket >> aramo >> python >> python3-pprintpp
aramo  ]
[ Källkod: pprintpp  ]

Paket: python3-pprintpp (0.4.0-2)

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

Andra paket besläktade med python3-pprintpp

  • beror
  • rekommenderar
  • föreslår
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

Hämta python3-pprintpp

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 14,9 kbyte60 kbyte [filförteckning]