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)

  • checking that values are defined and raising errors if not (enforce_defined)

  • 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.2.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

py_buzz-3.2.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for py-buzz-3.2.0.tar.gz
Algorithm Hash digest
SHA256 015c42f13d5da35d2f4ff83168d7cea503877abc5f3e7abd06a80e017f819b22
MD5 6e5c2b32cba372934758116d34440603
BLAKE2b-256 ee7267a421ad379191ffa5994ee0670bd83b0fe0c617b60477cf63eedd3ad9f9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for py_buzz-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e294c0a24556d6985cf17bbbe796b65eb2e68178d698e47bf3d12f7a40144781
MD5 336580408a1df820abfe2f52fca8ab65
BLAKE2b-256 80d999f451f87ff4044fbbf39609d9abcf5c30f867ff6e6df76e92244707f659

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