flexible and robust python error handling framework
Project description
Gufo Err
Gufo Err is the flexible and robust python error handling framework..
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gufo_err-0.6.0.tar.gz.
File metadata
- Download URL: gufo_err-0.6.0.tar.gz
- Upload date:
- Size: 39.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8c6dd1e0e4cd8a7569defbd45006b123f820eddb47990c6994ccca5237a3351
|
|
| MD5 |
ce4a9b34b31d7315db91a83362164a58
|
|
| BLAKE2b-256 |
7166934f2cb85b95f78cdc5bab0e377180a4458e583b0b167436baca50187731
|
Provenance
The following attestation bundles were made for gufo_err-0.6.0.tar.gz:
Publisher:
py-tests.yml on gufolabs/gufo_err
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gufo_err-0.6.0.tar.gz -
Subject digest:
d8c6dd1e0e4cd8a7569defbd45006b123f820eddb47990c6994ccca5237a3351 - Sigstore transparency entry: 598758794
- Sigstore integration time:
-
Permalink:
gufolabs/gufo_err@b5f35247a88d2cfc30ce445c814f72283106ff76 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/gufolabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
py-tests.yml@b5f35247a88d2cfc30ce445c814f72283106ff76 -
Trigger Event:
release
-
Statement type:
File details
Details for the file gufo_err-0.6.0-py3-none-any.whl.
File metadata
- Download URL: gufo_err-0.6.0-py3-none-any.whl
- Upload date:
- Size: 33.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0edda96e6813f93d6a1255e40bbf266e1c865061dc68c5b068ebe0a152b990f5
|
|
| MD5 |
1f2e1597a4d3b0834d6346bd0e11865c
|
|
| BLAKE2b-256 |
93b58046a12f4958edcf70a3798a4f5813ae6c356d44cf43cbbac83997ef20dd
|
Provenance
The following attestation bundles were made for gufo_err-0.6.0-py3-none-any.whl:
Publisher:
py-tests.yml on gufolabs/gufo_err
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gufo_err-0.6.0-py3-none-any.whl -
Subject digest:
0edda96e6813f93d6a1255e40bbf266e1c865061dc68c5b068ebe0a152b990f5 - Sigstore transparency entry: 598758835
- Sigstore integration time:
-
Permalink:
gufolabs/gufo_err@b5f35247a88d2cfc30ce445c814f72283106ff76 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/gufolabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
py-tests.yml@b5f35247a88d2cfc30ce445c814f72283106ff76 -
Trigger Event:
release
-
Statement type: