Skip to main content

Friendlier tracebacks in any language.

Project description

friendly-traceback

Aimed at Python beginners: replacing standard traceback by something easier to understand, translatable into various languages.

Installation

pip install friendly-traceback

In some terminal console, friendly-traceback can make use of Rich if it is installed; this must be done separately since Rich is not required for this project, although it is strongly recommended if your terminal console supports it.

Documentation

Full documentation available here

State of this project

Friendly-traceback is alpha. The current focus is on quickly increasing the number of exceptions covered. We strive to test the code as new additions are made: everything included should work. However, the code itself could probably be refactored and could definitely be better documented.

Contribute

See the documentation. Note that Friendly-traceback uses Black. Black logo

Some of the ideas were adopted from DidYouMean-Python (aka BetterErrorMessages) by Sylvain Desodt, a project that is also using the MIT license.

Code of Conduct

We support the Python Community Code of Conduct. Contributors to this project, including those filing or commenting on an issue, are expected to do the same.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

friendly-traceback-0.1.7.tar.gz (93.6 kB view hashes)

Uploaded Source

Built Distribution

friendly_traceback-0.1.7-py3-none-any.whl (143.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page