{"categories":[{"label":"Debuggers","url":"https://skillfed.io/packages/category/software-development-debuggers"}],"enrichment":{"capability":"snoop adds decorator-based and context-manager tracing to Python functions, logging which lines execute, when variables change, and their values\u2014a lightweight alternative to setting up a full debugger.","skillfed_tags":["debugging","introspection","development-tools"],"use_cases":["Trace execution flow and variable mutations in a function without adding print statements or opening a debugger.","Inspect the values and timing of changes to complex nested data structures during a function call.","Debug a memoizing or caching decorator by watching when cache lookups succeed or fail across multiple calls.","Print intermediate values of subexpressions inline without restructuring your code, using pp() or pp.deep().","Understand call sequences and state changes across multiple nested function calls using the depth parameter."],"what_it_does":"snoop is a Python debugging library that replaces manual print-statement debugging with a single decorator or context manager. Instead of scattering print calls throughout your code to track execution flow and variable changes, you annotate the function or wrap a code block with @snoop or with snoop:, and snoop logs every line that runs, the order in which they execute, and the exact moment each local variable changes value. It also includes pp, a pretty-print utility that shows both the source expression and its formatted value, useful for quick inline inspection.\n\nThe package is designed for developers who want visibility into function behavior without the setup overhead of a graphical debugger. It supports watching arbitrary expressions, exploding nested data structures to see all attributes and items, and tracing into nested function calls via the depth parameter. snoop integrates with IPython and Jupyter, and can be globally installed via install() to avoid explicit imports in your code.","worth_installing":"Yes. snoop is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a real friction point in Python debugging. If you regularly reach for print-based debugging or want a faster alternative to setting up a breakpoint debugger, it's a low-risk, high-utility addition. The MIT license and broad Python version support (3.8\u20133.14) make it suitable for most projects."},"id":"snoop","links":{"html":"https://skillfed.io/packages/snoop","md":"https://skillfed.io/packages/snoop.md","pypi":"https://pypi.org/project/snoop/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-18","license_spdx":null,"license_treatment":"permissive","name":"snoop","python_support":"supports_current","summary":"Powerful debugging tools for Python"},"popularity":{"monthly_downloads":266004,"position":8312,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.1"}
