Skip to main content

"That's not flying, it's falling with style": Exceptions with extras

Project description

Latest Version Build Status Documentation Status

py-buzz

That’s not flying, it’s falling with style: Exceptions with extras

py-buzz supplies some useful tools to use with python exceptions as well as a base Buzz exception class that includes them as classmethods.

py-buzz is fully equipped with exception tools that are written over and over again in python projects such as:

  • checking conditions and raising errors on failure (require_conditon)

  • catching exceptions wrapping them in clearer exception types with better error messages (handle_errors)

  • checking many conditions and reporting which ones failed (check_expressions)

Buzz can be used as a stand-alone exception class, but it is best used as a bass class for custom exceptions within a project. This allows the user to focus on creating a set of Exceptions that provide complete coverage for issues within their application without having to re-write convenience functions themselves.

Super-quick Start

Documentation

The complete documentation can be found at the py-buzz home page

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

py-buzz-3.1.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

py_buzz-3.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file py-buzz-3.1.1.tar.gz.

File metadata

  • Download URL: py-buzz-3.1.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.12 Linux/5.13.0-1017-azure

File hashes

Hashes for py-buzz-3.1.1.tar.gz
Algorithm Hash digest
SHA256 0e064d129047a73d1f267c1f84643e46caa3ce4611483ba7391c89729e8a63aa
MD5 0c608f59531ddf061de96f275982a25e
BLAKE2b-256 01eff901005b73227b92c8c4f0ea6d6ce564d5f471913ffd157897145aa2dece

See more details on using hashes here.

File details

Details for the file py_buzz-3.1.1-py3-none-any.whl.

File metadata

  • Download URL: py_buzz-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.12 Linux/5.13.0-1017-azure

File hashes

Hashes for py_buzz-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab281b5013d798eb3d805e2da6ee89a4f05db353d0a408bcc7583744e2054df9
MD5 aeb350575abfd3b06ae3553a541fc94f
BLAKE2b-256 f7a9ec54686ca3623edac649728bf37373c874226ebe892d47cd475a080a167a

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