PySnooper
icecream
Our great sponsors
PySnooper | icecream | |
---|---|---|
6 | 25 | |
15,019 | 5,888 | |
- | - | |
4.2 | 6.0 | |
about 2 months ago | 7 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PySnooper
-
Top python libraries/ frameworks that you suggest every one
snoop or pysnooper
-
No more Print For Debugging In Python Anymore
If you want to install a library, pysnooper is cool. It's like an automatic print on every line of your function, with values.
-
The unreasonable effectiveness of print debugging
The Python package PySnooper is pretty good for "fancy" print debug statements: https://github.com/cool-RR/pysnooper
I've caught quite a few bugs using this show-me-all-locals() approach...
- What tool you discovered/came across that has made your development work easier?
-
Icecream: Never use print() to debug again in Python
Funny, a few months back I added this sentence to PySnooper's readme:
"PySnooper is a poor man's debugger. If you've used Bash, it's like set -x for Python, except it's fancier."
icecream
-
Two years ago me was trying way to hard to debug(log) python
I read through the code when I installed it and it is beautifully designed. Although sure, there could be some cracked eggs in there that I didn't notice.
- Use “print” to help break down new code you don’t understand.
-
What's your setup like to make your life easier?
Ice Cream - Better debugging
-
Your favourite options for debugging via print?
Python has Icecream https://github.com/gruns/icecream
-
A trick to have arbitrary infix operators in Python
In the gentlest, friendliest tone possible:
HTML links make it 10-100x more likely other readers will learn about the thing being mentioned (and thus help increase awareness and adoption of good tools and resources).
- Debug print trick
- How can I see what Python is doing?
- Three Ways to Debug Code in Elixir
- No more Print For Debugging In Python Anymore
-
TIL I’ve been making debugging statements harder than they needed to be.
I use icecream.ice(example_variable)
What are some alternatives?
pdb++
py-spy - Sampling profiler for Python programs
snoop - A powerful set of Python debugging tools, based on PySnooper
Laboratory - Achieving confident refactoring through experimentation with Python 2.7 & 3.3+
winpdb - Fork of the official winpdb with improvements
python-devtools - Dev tools for python
python3-trepan - A gdb-like Python3 Debugger in the Trepan family
pyflame
django-debug-toolbar - A configurable set of panels that display various debug information about the current request/response.
profiling
remote-pdb - Remote vanilla PDB (over TCP sockets).
line_profiler