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

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


Branch: CURRENT, Version: 2.1.4, Package name: py312-icecream-2.1.4, 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: 15.5 KB

Version history: (Expand)


CVS history: (Expand)


   2025-01-14 17:58:59 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-icecream: updated to 2.1.4

2.1.4

Changed: Drop support for all Python versions prior to Python 3.8, which are now \ 
long past EOL. Notably: Python 2 is no longer supported.
Changed: Update the 'executing' dependency to >= v2.1.0 to improve source \ 
code analysis and support Python 3.13.
   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.