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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_buzz-3.3.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.8.12 Linux/5.10.102.1-microsoft-standard-WSL2

File hashes

Hashes for py_buzz-3.3.0.tar.gz
Algorithm Hash digest
SHA256 2f2075fd134ba5e3731a3c6987d5cb02ce6631418b92e49c9852f7f013f49901
MD5 9ba3fc607e4905877588c267154ae02e
BLAKE2b-256 38b3ec263cc896a199fec66d06a0ee64cec1808cb8345a9805b2691b93a9ae2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_buzz-3.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.8.12 Linux/5.10.102.1-microsoft-standard-WSL2

File hashes

Hashes for py_buzz-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bae0aec80f50679718c5284a7a4c6a3b55aa797579defea9ab362fd49c5d10a1
MD5 bc84b9c9ed20c6e129c797989630d1c6
BLAKE2b-256 3fac9ff34073722b9b7bc6662645c355c8257509369b0172d713334d2a5c9793

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