Bug#1109104: ITP: python-friendly -- Friendlier tracebacks in any language
Package: wnpp
Severity: wishlist
Owner: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, nilsonfsilva@hotmail.com
* Package name : python-friendly
Version : 0.7.21
Upstream Contact: Andre Roberge <andre.roberge@gmail.com>
* URL : https://github.com/friendly-traceback/friendly
* License : MIT
Programming Lang: Python
Description : Friendlier tracebacks in any language
Friendly is a Python module designed to replace Python's default tracebacks
with error messages that are clear, educational, and adaptable to beginners,
while remaining useful for experienced developers. It analyzes exceptions at
runtime and provides detailed explanations of the causes, potential solutions,
and context of the error, including the values of relevant variables.
.
Key Features:
- Accessible explanations
Translates complex Python errors (like IndexError, NameError) into
plain language, with practical suggestions (e.g. "Did you mean cos
instead of cost?")
- Multilingual support
Provides full translations into French, Spanish, Russian, Tamil and
partial translations into Hebrew/Italian, allowing non-English-speaking
users to understand errors in their native language.
- Flexible integration
Works in terminals, IDEs (like VS Code, Jupyter Notebooks) and
educational environments (Mu, custom IDLE via friendly_idle)
- Color modes (--format light/dark) for better readability
- Advanced diagnostics
Pinpoints the exact location of the error, variable values at the time
of the error and the scope of available names.
Reply to: