{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/7"}],"enrichment":{"capability":"Formats Python exceptions with syntax highlighting and local variable inspection to make debugging easier, activated via an environment variable.","skillfed_tags":["debugging","exception-handling","development-tools"],"use_cases":["Interactive debugging in the Python REPL to see local variables and syntax-highlighted code context.","Development workflows where you want richer exception output without modifying application code.","Django projects where middleware integration provides formatted exceptions across the entire request lifecycle.","Unit test debugging to see better-formatted assertion failures and error context."],"what_it_does":"better-exceptions hooks into Python's exception system to display tracebacks with syntax highlighting and local variable values inline, making it easier to understand what went wrong at a glance. It works by setting an environment variable and is designed to be transparent\u2014once activated, all exceptions in your Python process are automatically formatted without code changes. The package depends only on colorama for terminal color support.\n\nYou can use it in regular scripts, the Python REPL (via `python -m better_exceptions`), unittest test runners (with a monkey patch), or Django applications (via middleware). Advanced usage allows disabling value truncation. The package is intended for development and debugging; the documentation explicitly warns against leaving the environment variable set in production to avoid leaking sensitive data in logs.","worth_installing":"Yes, if you do development work in Python and want better exception visibility without code changes. The low install friction, active maintenance, and zero known vulnerabilities make it a safe addition to a development environment. Not necessary for production unless you explicitly want formatted exception logging, in which case be careful to disable the environment variable in production."},"id":"better-exceptions","links":{"html":"https://skillfed.io/packages/better-exceptions","md":"https://skillfed.io/packages/better-exceptions.md","pypi":"https://pypi.org/project/better-exceptions/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2021-01-29","license_spdx":null,"license_treatment":"unclear","name":"better-exceptions","python_support":"unspecified","summary":"Pretty and helpful exceptions, automatically"},"popularity":{"monthly_downloads":589528,"position":5861,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.3"}
