icecream icon indicating copy to clipboard operation
icecream copied to clipboard

🍦 Never use print() to debug again.

Results 106 icecream issues
Sort by recently updated
recently updated
newest added

Added `pyproject.toml` Version is now populated automatically from git using `setuptools_scm`. I had to remove everything from `meta` except the version (it can be fetched and populated, but it will...

instead of always wrapping at `IceCreamDebugger.lineWrapWidth` characters, dynamically detect the terminal width with `os.get_terminal_size()` `os.get_terminal_size()` isnt implemented in py2, so `os.environ['COLUMNS']` can be read directly as a fallback if the...

enhancement

It could be nice to temporarily enable/disable `icecream` with something like: ```python with ic.disable(): call_my_super_function_without_icecream() ``` To disable the icecream printing temporarily.

Hi, I tried changing the **default colours** in `coloring.py` specifically, `BASE0` and `BASE03` after cloning the repo and running `pip install -e ./` in the directory with `setup.py` as stated...

code to reproduce: ``` x = np.array([0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0,]) y = np.array([0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 4.0, 3.0, 2.0, 1.0, 0.0,])...

# ic() output class name Modified _**parentFunction**_ in **__getContext_** so that icecream prints class name for the method as well.

The following ```python class MyClass: def method(self): ic() MyClass().method() ``` prints something along the lines of `ic| test.py:3 in method() at 10:00:24.509`. Is there a way to include the class...

I almost always want a message when I log something out ic('add_exit_items', len(agg_data)) but this comes out like: ``` 'add_exit_items': 'add_exit_items' len(agg_data): 300 ``` is there a way to prepend...

When I use ```ic``` instead of ```print```, the widget shows up as a black screen instead of none at all. ```python #!/usr/bin/env python3 import sys from icecream import ic import...

Many of my calls to ic() produce the error message: 'utf-8' codec can't decode byte 0x93 ... I have spent hours trying to strip out 0x93 or convert the strings...