"That's not flying, it's falling with style: Exceptions with extras"
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file py-buzz-1.0.2.tar.gz
.
File metadata
- Download URL: py-buzz-1.0.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.15 CPython/3.6.7 Linux/4.15.0-1028-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10d367fe7a112bf5dc84fe631449970d4b56e0c4fe376aee48e6b4decf6662b1 |
|
MD5 | bd9823fe0699baccad83c128a932e234 |
|
BLAKE2b-256 | 93022bba36abc6ce638b9de50350c45c970ce3d19a26711b72aadb2314fed33d |
File details
Details for the file py_buzz-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: py_buzz-1.0.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.15 CPython/3.6.7 Linux/4.15.0-1028-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96172da3a863e0de5ce965d35fe879ca02d2bfe08841f6b5e2cb6187ad2724df |
|
MD5 | cefdaf6fd96e13b31d7ee89df7ac2105 |
|
BLAKE2b-256 | 3e108777cef602c27931d614303453b82560bb639823ccce2899b41a95681c71 |