# alexmojaki/snoop

A powerful set of Python debugging tools, based on PySnooper

Repository: https://github.com/alexmojaki/snoop
Canonical: https://ross.abutalabs.com/products/alexmojaki-snoop
Language: Python
License: MIT
License Family: permissive
Topics: python, debugging, debugger, debugging-tools, logging
Last push: 2026-07-18T11:47:04+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 35, longevity 100
- inputs: {"age_days": 2669, "days_push": 46, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1461, forks 42 (observed 2026-08-28T04:04:47.391144+00:00)

## What it is
snoop is a Python debugging library that traces function execution via a decorator, logging which lines ran and how local variables changed. It is a more featureful fork of PySnooper and also includes an enhanced print-debugging tool (pp) similar to icecream.

## Use cases
- debug why my python function returns wrong values
- trace which lines of code executed and when variables changed
- replace scattered print statements with one decorator
- see a play-by-play log of a function's execution
- debug code in jupyter notebooks
- print variable values with source expressions
- trace subexpression values in an expression

## When to choose
- you want quick line-by-line execution tracing without setting up a debugger
- you can't or don't want to use breakpoints (e.g. long-running scripts, servers)
- you want richer output than PySnooper or icecream provide
- you work in IPython/Jupyter and want integrated tracing

## When to avoid
- you need a full interactive debugger with breakpoints and stepping
- you need a debugger attached to an IDE with visual inspection
- tracing overhead is unacceptable in performance-critical production code

## Facets
- artifact type: library
- maturity: active
- function: logging, developer-tools
- domain: developer-tools, testing
- platform: python, cross-platform
- tags: debugging, print-debugging, tracing, pysnooper, decorator

## Member repositories
- alexmojaki/snoop (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.391144+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:19.438825+00:00, confidence not recorded.
  - readme: https://github.com/alexmojaki/snoop (fetched 2026-08-28T04:04:47.391144+00:00, sha e24ae4b79939)
  - registry_pypi: https://pypi.org/pypi/snoop/json (fetched 2026-08-29T11:43:50.816567+00:00, sha 7297289667b4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
