{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"Replaces Python's default exception traceback with an enhanced version that shows surrounding code context and the values of nearby variables at each stack frame.","skillfed_tags":["debugging","error-handling","logging"],"use_cases":["Debugging production errors where only log files are available, not an interactive debugger.","Logging exceptions with full context in long-running services or batch jobs.","Replacing the default REPL crash message with more informative output via sitecustomize.py.","Inspecting the current call stack and variable state at any point in code, not just on exception.","Examining another thread's stack during concurrent debugging.","Integrating enhanced tracebacks into a custom logging formatter for structured error reporting."],"what_it_does":"stackprinter is a Python debugging utility that intercepts exceptions and prints them with significantly more context than the standard traceback. Instead of showing only the line that failed, it displays surrounding source code, the values of all variables visible at each frame, and how each function was called\u2014answering the questions you'd normally ask an interactive debugger without requiring one.\n\nIt works in three modes: as a global exception hook (replacing the default crash message), called selectively in except blocks, or integrated with Python's logging module. Output is plain text by default (suitable for log files) but supports color modes for terminal use. Configuration options let you control verbosity, hide sensitive variables, truncate large values, and suppress output from specific code paths.","worth_installing":"Yes. Zero dependencies, permissive license, active maintenance, and no known vulnerabilities. Install it if you spend time debugging Python code or need better error context in production logs\u2014it's a low-risk, high-value addition to any Python project."},"id":"stackprinter","links":{"html":"https://skillfed.io/packages/stackprinter","md":"https://skillfed.io/packages/stackprinter.md","pypi":"https://pypi.org/project/stackprinter/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-17","license_spdx":null,"license_treatment":"permissive","name":"stackprinter","python_support":"supports_current","summary":"Debug-friendly stack traces, with variable values and semantic highlighting"},"popularity":{"monthly_downloads":444664,"position":6621,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.13"}
