Path to this page:
./
misc/py-icecream,
Never use print() to debug again
Branch: CURRENT,
Version: 2.1.3,
Package name: py310-icecream-2.1.3,
Maintainer: pkgsrc-usersDo 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.
Master sites:
Filesize: 14.377 KB
Version history: (Expand)
- (2023-07-18) Package added to pkgsrc.se, version py310-icecream-2.1.3 (created)
CVS history: (Expand)
2023-07-18 17:46:28 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
py-icecream: added version 2.1.3
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.
|