gufo-err

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

https://github.com/gufolabs/gufo_err

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.4%) to scientific vocabulary

Keywords

crash-reporting error-handling error-reporting gufo middleware pypi python sentry typed
Last synced: 6 months ago · JSON representation ·

Repository

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

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 7
Topics
crash-reporting error-handling error-reporting gufo middleware pypi python sentry typed
Created almost 4 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing Funding License Code of conduct Citation Codeowners Security

README.md

Gufo Err

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

PyPi version Downloads 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.
  • 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.

Owner

  • Name: Gufo Labs
  • Login: gufolabs
  • Kind: organization
  • Location: Italy

Gufo Labs is a private consulting company based in Milan, Italy.

Citation (CITATION.cff)

cff-version: 1.2.0
title: Gufo Err
message: >-
  If you use this software as part of a publication and wish to cite
  it, please use the metadata from this file.
type: software
authors:
  - name: Gufo Labs
    website: https://gufolabs.com/
  - name: Project's Contributors
    website: https://github.com/gufolabs/gufo_err
license: BSD-3-Clause

GitHub Events

Total
  • Release event: 1
  • Watch event: 1
  • Push event: 16
  • Create event: 1
Last Year
  • Release event: 1
  • Watch event: 1
  • Push event: 16
  • Create event: 1

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 66
  • Total Committers: 1
  • Avg Commits per committer: 66.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Dmitry Volodin dv@n****g 66
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 34 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 6
  • Total maintainers: 1
pypi.org: gufo-err
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 34 Last month
Rankings
Dependent packages count: 10.1%
Downloads: 20.3%
Dependent repos count: 21.5%
Average: 24.1%
Forks count: 29.8%
Stargazers count: 38.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/build-docs.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
.github/workflows/py-tests.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish master composite
Dockerfile docker
  • python 3.11-slim-bullseye build
.requirements/docs.txt pypi
  • mkdocs-gen-files ==0.3.4
  • mkdocs-literate-nav ==0.4.1
  • mkdocs-material ==8.2.1
  • mkdocs-section-index ==0.3.3
  • mkdocstrings ==0.18.0
.requirements/extras.txt pypi
  • sentry_sdk >=1.5,<2.0
.requirements/ipython.txt pypi
  • ipython ==8.0.1
.requirements/lint.txt pypi
  • black ==22.3.0
  • flake8 ==4.0.1
  • mypy ==0.931
.requirements/test.txt pypi
  • coverage ==6.3.2 test
  • pytest ==7.0.1 test
pyproject.toml pypi