python-devtools
python-devtools copied to clipboard
Dev tools for python
`debug` is a wonderful tool and saved me a lot of time for debugging. And In my projects, I used to configure my owner logger for recording some running information....
Hi Samuel, Thanks for the wonderful tool! After upgrading to sqlalchemy 2.0 debug() stopped working. Here is my fix. ``` diff --git a/devtools/utils.py b/devtools/utils.py index 994027e..2da806a 100644 --- a/devtools/utils.py +++...
(I thought this was already an issue, but I checked and it seems it only existed in my head) I want a way to pretty-print pertinent attributes of an object,...
I love using `debug()` but its failing me right now with my current problem. I'm trying to isolate a very small numeric divergence between a c++ and python implementation of...
This fixes the problem of light-gray text being rendered on a light background. Users can now choose a different Pygments style/theme using the PY_DEVTOOLS_STYLE environment variable. If PY_DEVTOOLS_STYLE is not...
Missing length of `whatever` is added. `demo.py.png` does not show the proper value of `spam` key and misses the `len=4`, it is replaced accordingly. Missing import is added. `__builtins__` was...
I think this tool is very handy and concise, beforehand I used to paste `from IPython import embed; embed(colors='neutral')` for debugging purposes. Python 3.7 introduced the built-in function `breakpoint()` via...
`macos-latest` (`macos-14`) was migrated to ARM runner, stopping support for Python 3.7. CI is updated accordingly. To be considered before https://github.com/samuelcolvin/python-devtools/pull/154 Context: https://github.com/actions/setup-python/issues/856
Please add support for https://no-color.org/ standard.
When debug() detects recursion it fails to display an object. It would be great to have it working. Thanks!