Skip to content

Aimed at Python beginners: replacing standard traceback by something easier to understand

License

Notifications You must be signed in to change notification settings

paradise321/friendly-traceback

 
 

Repository files navigation

friendly-traceback

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

Example

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

Example

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.

About

Aimed at Python beginners: replacing standard traceback by something easier to understand

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.2%
  • Batchfile 0.8%