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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for py-buzz-2.1.3.tar.gz
Algorithm Hash digest
SHA256 4981e2d78fb1023b1b4b2b990e821b83336ba8dd558360306b291b5e4ff159bd
MD5 830ecbff835c7c079c02bfa444894c4e
BLAKE2b-256 0fd0dba560de48b0571111b69b1a01d3af97b0b6ec7979f8b1f79dbf7e4fe663

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_buzz-2.1.3-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.7.9 Linux/5.4.0-1039-azure

File hashes

Hashes for py_buzz-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ccd89fb05901697d6ecf68693310040180c229b8c9f42c0876400265dd8976aa
MD5 340754ba05aa6cf4b11548d5d78482ac
BLAKE2b-256 72676dc307029d087d995f22cc8528268c757f11c90a4b69766cea7f04a2c9b1

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