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 extras to python exceptions in a base Buzz exception class. 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)

  • 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

  • requirements: python3

  • install through pip: $ pip install py-buzz

  • minimal usage example: examples/basic.py

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

Uploaded Source

Built Distribution

py_buzz-2.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-buzz-2.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1039-azure

File hashes

Hashes for py-buzz-2.1.0.tar.gz
Algorithm Hash digest
SHA256 b2b8de57a7951a6fd3ff3ec877d00dad00a6f57ced4a39db2fbcc7201d9bf1fe
MD5 07e64123b9d04fea14579966b6d54807
BLAKE2b-256 25c9507c2752511331e89b12aa1edcb419f7903c03be1b98e4c7c476d1183d96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_buzz-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1039-azure

File hashes

Hashes for py_buzz-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3769aa3038d2bde61161ed46cef65817b63ec0baabb850b907d56815eb3fcd18
MD5 a634cf10d5df07324480eb1ace8ab3f1
BLAKE2b-256 6c24943a65d98be0363ac29d7a748616004c9b124f0a2e6f78559b96711b2297

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