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)

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

Uploaded Source

Built Distribution

py_buzz-3.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-buzz-3.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.12 Linux/5.11.0-1028-azure

File hashes

Hashes for py-buzz-3.1.0.tar.gz
Algorithm Hash digest
SHA256 26126780bb815ec7983bc54ca2127b68d0dabb1b23668f05f86ef91221a45ad1
MD5 3b667a57c1a9dbd33c0a585c27db75b5
BLAKE2b-256 a4c90ceea2182d01e1be1affb9c67ea44e4b7fbbe17c4315bec91aee66204ddb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_buzz-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.12 Linux/5.11.0-1028-azure

File hashes

Hashes for py_buzz-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b7460cf2adc58f7470bf8eb791999a9227214305f46520bab13f980ba3265e8
MD5 a48a872db58a224f5ce0e4f4a220b014
BLAKE2b-256 5fe02474bb8748576f315ebefb55c09d2cb60f34b18fc4b30d7b7edb0278dfc4

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