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 documentation 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-4.0.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

py_buzz-4.0.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file py_buzz-4.0.0.tar.gz.

File metadata

  • Download URL: py_buzz-4.0.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-1041-azure

File hashes

Hashes for py_buzz-4.0.0.tar.gz
Algorithm Hash digest
SHA256 0e7b7fda1da81dbfc8fd0fcc8d82c271c120a401f8082b888f7cbfaecb8d2e34
MD5 a186beb2ee6c7c04590b9048f5d3a5f8
BLAKE2b-256 a6aedc2ec2043e3fff7de5c375ab2b41b01e950f91e2f723a5b779050feb1f0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_buzz-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.17 Linux/5.15.0-1041-azure

File hashes

Hashes for py_buzz-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a16b71be004631f2f7862aacfaabbc1b364dcc5a4c8c17fce3307f73536f53b1
MD5 2f6134deb2c9ee259c7e9909264ab834
BLAKE2b-256 f7a4feb7e1057fbefc7d8da157742f36d86940f5c20db0033eb6683948e8dc6b

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