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.

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.

Project details


Release history Release notifications | RSS feed

This version

0.2.0

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.2.0.tar.gz (107.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

friendly_traceback-0.2.0-py3-none-any.whl (165.1 kB view details)

Uploaded Python 3

File details

Details for the file friendly-traceback-0.2.0.tar.gz.

File metadata

  • Download URL: friendly-traceback-0.2.0.tar.gz
  • Upload date:
  • Size: 107.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4

File hashes

Hashes for friendly-traceback-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b7ad2d583410e9b576c60457db28f803d740befb5c8c399871dbce36ac7a869a
MD5 159aa4b49fe52a26bd11d6eb67b613f9
BLAKE2b-256 dac5f60a9f6f9aec637ab002e30d3e0129ce00533c493231d949e403e5d88e67

See more details on using hashes here.

File details

Details for the file friendly_traceback-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: friendly_traceback-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 165.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4

File hashes

Hashes for friendly_traceback-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d001238c0b1c12b727abcca30816b957bc952a4941e1f4b2cc493f1fd7e3ed5c
MD5 d7db69386363b322065b358b82812a1d
BLAKE2b-256 04ada54dee88d27d1f7f09fa680a6a9a53309beeb52031a27e553142af8c024f

See more details on using hashes here.

Supported by

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