Skip to content

dusktreader/py-buzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Version Python Versions 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 many conditions and reporting which ones failed (check_expressions())
  • catching exceptions wrapping them in clearer exception types with better error messages (handle_errors())
  • checking that values are defined and raising errors if not (enforce_defined())
  • checking that values are a certain type and raising errors if not (ensure_type())
  • checking conditions and raising errors on failure (require_condition())

py-buzz 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.9 or later
  • Installed with pip ($ pip install py-buzz)
  • Each feature demonstrated in an executable demo "extra"

Documentation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •