Skip to main content

Friendlier tracebacks in any language.

Project description

friendly

Aimed at Python beginners: replacing standard traceback by something easier to understand, translatable into various languages. friendly can provide additional information such as why() a certain exception occurred, what() it is, exactly where() it occurred including the value of relevant variables, and more.

Example

friendly used to be called friendly-traceback.

Installation

pip install friendly

Documentation

The documentation is available by clicking here.

Example

Example

Contribute

Contribute by making suggestions for improvements, pointing out mistakes either in the documentation or in the information provided by Friendly, or finding bugs.

If you speak a language other than English or French and feel ambitious, you might want to work on translations into your own language.

License: MIT

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 agree with the goals behind the creation of the Python Community Code of Conduct. Contributors to this project, including those filing or commenting on an issue, are expected to do the same.

JetBrains support

We graciously acknowledge the support of JetBrains which enables us to use the professional version of PyCharm for developing Friendly.

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

Uploaded Source

Built Distribution

friendly-0.3.29-py3-none-any.whl (207.9 kB view details)

Uploaded Python 3

File details

Details for the file friendly-0.3.29.tar.gz.

File metadata

  • Download URL: friendly-0.3.29.tar.gz
  • Upload date:
  • Size: 183.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.4

File hashes

Hashes for friendly-0.3.29.tar.gz
Algorithm Hash digest
SHA256 4080a169f87d233f7e09ec0907b7e42c24158fb4173e2c8d0c2b071e96a05051
MD5 952e9d5bea0b559f722529969db42966
BLAKE2b-256 86eca05117e39ee778b3f60e2cd4d29be0cfc52e0ecc56f337ad2244255636c3

See more details on using hashes here.

File details

Details for the file friendly-0.3.29-py3-none-any.whl.

File metadata

  • Download URL: friendly-0.3.29-py3-none-any.whl
  • Upload date:
  • Size: 207.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.4

File hashes

Hashes for friendly-0.3.29-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ba9c6de57ac4d27b43918be90ea885d87d024075b15252d267459663bbdb60
MD5 47304b7b0ccf5d0a27bbb54a6182e90f
BLAKE2b-256 80f9b397c0e61cdc110f5794058a943db9e5965ecd6d4e1101410fc244869bdf

See more details on using hashes here.

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