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

Uploaded Source

Built Distribution

py_buzz-1.0.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-buzz-1.0.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.6.7 Linux/4.15.0-1028-gcp

File hashes

Hashes for py-buzz-1.0.3.tar.gz
Algorithm Hash digest
SHA256 07ff75c14182cb07d88372b6dc5e74e3588174189c8fd43b262317d38b8e49bd
MD5 992c81be522d13066b2743a8aa7aa9a1
BLAKE2b-256 f168f188ff038caa9f342b8f813b29fa5551f7f4886a2fc6f545221427b75d34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_buzz-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.6.7 Linux/4.15.0-1028-gcp

File hashes

Hashes for py_buzz-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 21f72d3e160eb403dce76f9011c4614f3e0608bb7f91673e9fb7bfee7859a9a0
MD5 f6f69733e8a16f87135d1d86f30572e6
BLAKE2b-256 909e668dff7b050566116cb8eebfe8be0e6e1e13f07b342d93041d77426e0248

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