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:
- It prints both expressions/variable names and their values.
- It's 60% faster to type.
- Data structures are pretty printed.
- Output is syntax highlighted.
- 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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.2.0 |
| NetBSD 10.1 aarch64 | 2.2.0 |
| SmartOS / illumos x86_64 | 2.2.0 |
| macOS 15 arm64 | 2.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