{"repo":"alexmojaki/snoop","free":true,"listed":false,"github":"https://github.com/alexmojaki/snoop","clone":"git clone https://github.com/alexmojaki/snoop.git","description":"A powerful set of Python debugging tools, based on PySnooper","language":"Python","stars":1459,"topics":["python","debugging","debugger","debugging-tools","logging"],"license":"MIT","category":"dev-tools","readme_excerpt":"snoop snoop is a powerful set of Python debugging tools. It's primarily meant to be a more featureful and refined version of PySnooper. It also includes its own version of icecream and some other nifty stuff. You're trying to figure out why your Python code isn't doing what you think it should be doing. You'd love to use a full-fledged debugger with breakpoints and watches, but you can't be bothered to set one up right now. You want to know which lines are running and which aren't, and what the values of the local variables are. Most people would use print lines, in strategic locations, some of them showing the values of variables. snoop lets you do the same, except instead of carefully crafting the right print lines, you just add one decorator line to the function you're interested in. You'll get a play-by-play log of your function, including which lines ran and when, and exactly when local variables were changed. Installation is as simple as pip install snoop . You can try it out instantly on futurecoder: enter your code in the editor on the left and click the snoop button to run. No imports or decorators required. Basic snoop usage Common arguments pp - awesome print debugging pp.deep for tracing subexpressions @spy install() Disabling Output configuration API differences from PySnooper IPython/Jupyter integration Advanced usage watch extras Controlling watch explode Customising the display of variables Multiple separate configurations Contribute Feedback and discussions D","default_branch":null,"files":null,"tree":[],"storefront":"/r/alexmojaki","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alexmojaki/snoop/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}