BSD Ports

misc/py-icecream 2.2.0 NetBSD

Never use print() to debug again

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
misc, python
Package size
22.3 KiB, 87.8 KiB installed

Description

Do you ever use print() or log() to debug your code? Of course you do. IceCream, or ic for short, makes print debugging a little sweeter.

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

  1. It prints both expressions/variable names and their values.
  2. It's 60% faster to type.
  3. Data structures are pretty printed.
  4. Output is syntax highlighted.
  5. It optionally includes program context: filename, line number, and parent function.

Install

Binary package:

pkgin install py311-icecream

From pkgsrc:

cd /usr/pkgsrc/misc/py-icecream && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.2.0
NetBSD 10.1 aarch642.2.0
SmartOS / illumos x86_642.2.0
macOS 15 arm642.2.0

Dependencies

Run dependencies 5

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-icecream-2.2.0, py313-icecream-2.2.0, py314-icecream-2.2.0