BSD Ports

textproc/py-icecream 2.2.0 OpenBSD

print() replacement that can handle data structures

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
textproc, lang/python

Description

ic() is like print(), but better:

  • It prints both variables and expressions along with their values.
  • It's 60% faster to type.
  • Data structures are formatted and pretty printed.
  • Output is syntax highlighted.
  • It optionally includes program context: filename, line number, and parent function.

Install

Binary package:

pkg_add py3-icecream

From the ports tree:

cd /usr/ports/textproc/py-icecream && make install

Dependencies

Build dependencies 5
Run dependencies 5

No port depends on this one.