./misc/py-icecream, Never use print() to debug again

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.3, Package name: py310-icecream-2.1.3, Maintainer: pkgsrc-users

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.


Master sites:

Filesize: 14.377 KB

Version history: (Expand)


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.