Skip to main content

Gufo Err

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

PyPi version Downloads Python Versions License Build codecov 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.
  • Built with security in mind.

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.

Metadata

Release files for gufo-err 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gufo-err 0.6.0
File Size Uploaded Provenance Actions
gufo_err-0.6.0.tar.gz 39.4 kB With provenance Details for gufo_err-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gufo-err 0.6.0
File Interpreter ABI Platform Actions
gufo_err-0.6.0-py3-none-any.whl Python 3 none any Details for gufo_err-0.6.0-py3-none-any.whl

Total release size: 72.6 kB

Release files / gufo_err-0.6.0.tar.gz

Download URL gufo_err-0.6.0.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d8c6dd1e0e4cd8a7569defbd45006b123f820eddb47990c6994ccca5237a3351
BLAKE2b-256 checksum
How to use checksums
7166934f2cb85b95f78cdc5bab0e377180a4458e583b0b167436baca50187731
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2025.

Transparency log

Release files / gufo_err-0.6.0-py3-none-any.whl

Download URL gufo_err-0.6.0-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0edda96e6813f93d6a1255e40bbf266e1c865061dc68c5b068ebe0a152b990f5
BLAKE2b-256 checksum
How to use checksums
93b58046a12f4958edcf70a3798a4f5813ae6c356d44cf43cbbac83997ef20dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2025.

Transparency log

Security for gufo-err 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gufo_err-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page