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-logo

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

asciicast

py-buzz is fully equipped with a suite of exception tools that will save you from writing the same code over and over again in your python projects. These include:

  • 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)

py-buz also provides an exception class, Buzz, that can be used as a base class for custom exceptions within a project.

Super-quick Start

  • Only requires Python 3.8 or later
  • Installed with pip ($ pip install py-buzz)
  • Each feature demonstrated in examples

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.1.0.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

py_buzz-4.1.0-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

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