Skip to main content

No project description provided

Project description

Gufo Err

Gufo Err is the flexible and robust python error handling framework..

PyPi version Python Versions License Build Sponsors Ruff

Documentation: https://docs.gufolabs.com/gufo_err/

Source Code: https://github.com/gufolabs/gufo_err/


Python Error Handling

Errors are in human nature - so any modern software may face errors. Software may contain errors itself, may be affected by third-party libraries' mistakes, or may weirdly use third-party libraries. Computers, operation systems, and networks also may fail. So proper error handling is the key component to building reliable and robust software.

Proper error handling consists of the stages:

  • Collecting - we must catch the error for further processing.
  • Reporting - we must log the error.
  • Mitigation - we must restart software if an error is unrecoverable (fail-fast behavior) or try to fix it on-fly.
  • Reporting - we must report the error to the developers to allow them to fix it.
  • Fixing - developers should fix the error.

Gufo Err is the final solution for Python exception handling and introduces the middleware-based approach. Middleware uses clean API for stack frame analysis and source code extraction.

Virtues

  • Clean API to extract execution frames.
  • Global Python exception hook.
  • Endless recursion detection (to be done).
  • Local error reporting.
  • Configurable fail-fast behavior.
  • Configurable error-reporting formats.
  • Error fingerprinting.
  • Traceback serialization.
  • CLI tool for tracebacks analysis.
  • Seamless Sentry integration.

On Gufo Stack

This product is a part of Gufo Stack - the collaborative effort led by Gufo Labs. Our goal is to create a robust and flexible set of tools to create network management software and automate routine administration tasks.

To do this, we extract the key technologies that have proven themselves in the NOC and bring them as separate packages. Then we work on API, performance tuning, documentation, and testing. The NOC uses the final result as the external dependencies.

Gufo Stack makes the NOC better, and this is our primary task. But other products can benefit from Gufo Stack too. So we believe that our effort will make the other network management products better.

Project details


Download files

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

Source Distribution

gufo_err-0.4.1.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

gufo_err-0.4.1-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file gufo_err-0.4.1.tar.gz.

File metadata

  • Download URL: gufo_err-0.4.1.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for gufo_err-0.4.1.tar.gz
Algorithm Hash digest
SHA256 39295d90d1b12a9177ebfa30cdaf618d3a4ad64ee39775b569896390551a23fb
MD5 4c32b415c7f22c1ec6331e62a53cddce
BLAKE2b-256 99c94c6c9c3f8fc6cad77594de0de3e954157a710298adfe0065ce5e5d46ef00

See more details on using hashes here.

File details

Details for the file gufo_err-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: gufo_err-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for gufo_err-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc3516ba276c69a3cf7e187bb41bb0d124752cdae7081fa693deb007f897977f
MD5 c7e5d0a743d0776de819225d849ce6f7
BLAKE2b-256 7933432b84b60e7668ba3373b727d9871c5e90797fbea6e3f0a3cfcd53d30cda

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