{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"},{"label":"Debuggers","url":"https://skillfed.io/packages/category/software-development-debuggers"}],"enrichment":{"capability":"Hunter is a code tracing toolkit that intercepts and logs function calls, line executions, and variable changes for debugging and inspection without measuring coverage.","skillfed_tags":["debugging","tracing","inspection"],"use_cases":["Debug a function by tracing all calls within a specific module and printing their arguments and return values.","Inspect variable state at each line of execution to understand how values change through a code path.","Attach to a running process to trace execution without stopping or restarting it.","Log all calls to a third-party library to understand its internal behavior and call sequence.","Drop into a debugger (pdb) conditionally when a specific function or condition is encountered during execution."],"what_it_does":"Hunter is a code tracing toolkit that uses Python's sys.settrace hook to intercept and log execution events\u2014function calls, line executions, returns, and exceptions\u2014with flexible filtering and customizable output actions. It is not a coverage tool but a debugging and inspection instrument, useful for understanding code flow, tracking variable state, and diagnosing runtime behavior.\n\nYou configure it by passing filters (module name, function name, conditions) and actions (CallPrinter, CodePrinter, VarsPrinter, or custom handlers) to the trace() function. It supports terminal output with optional colors, can be activated via environment variables, and includes a CLI tool to attach to running processes. The package depends on manhole for process attachment capability.","worth_installing":"Yes, if you need flexible runtime code tracing for debugging or inspection. Hunter is stable (Production/Stable status), has no known vulnerabilities, and low install friction. The aging maintenance (357 days since last release) is a minor concern but the repository is active and supports current Python versions. Install it when you need to trace execution flow, inspect variables, or understand third-party code behavior without coverage measurement."},"id":"hunter","links":{"html":"https://skillfed.io/packages/hunter","md":"https://skillfed.io/packages/hunter.md","pypi":"https://pypi.org/project/hunter/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-08-22","license_spdx":"BSD-2-Clause","license_treatment":"permissive","name":"hunter","python_support":"supports_current","summary":"Hunter is a flexible code tracing toolkit."},"popularity":{"monthly_downloads":1078499,"position":4402,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.9.0"}
