Skip to main content

Latest Version Python Versions Build Status Documentation Status

py-buzz-logo

That's not flying, it's falling with style: Exceptions with extras

asciicast

py-buzz is fully equipped with a suite of exception tools that will save you from writing the same code over and over again in your python projects. These include:

  • checking many conditions and reporting which ones failed (check_expressions())
  • catching exceptions wrapping them in clearer exception types with better error messages (handle_errors())
  • retrying operations with exponential backoff until they succeed (retry())
  • checking that values are defined and raising errors if not (enforce_defined())
  • checking that values are a certain type and raising errors if not (ensure_type())
  • checking conditions and raising errors on failure (require_condition())

py-buzz also provides an exception class, Buzz, that can be used as a base class for custom exceptions within a project.

Super-quick Start

  • Only requires Python 3.10 or later
  • Installed with pip ($ pip install py-buzz)
  • Each feature demonstrated in an executable demo "extra"

Documentation

The complete documentation can be found at the py-buzz documentation page

Metadata

Release files for py-buzz 8.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-buzz 8.2.0
File Size Uploaded
py_buzz-8.2.0.tar.gz 22.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-buzz 8.2.0
File Interpreter ABI Platform
py_buzz-8.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 53.2 kB

Release files / py_buzz-8.2.0.tar.gz

Download URL py_buzz-8.2.0.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c2e52b0e1ce5235177088c98aac5edb5c013aafcc33af62fdd3350d753676353
BLAKE2b-256 checksum
How to use checksums
135d9d65021781fc7a043583bf8a969d52c119e968c818aea3e0abd057ae89f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / py_buzz-8.2.0-py3-none-any.whl

Download URL py_buzz-8.2.0-py3-none-any.whl
Size 30.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75f178641faab72603328be8b809c18208c26e644da8f325d40ae15793f947bc
BLAKE2b-256 checksum
How to use checksums
965c3df27dee0b61f59c127378ff315b5025b91fb9d1195aa19ca7757fbbf545
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

9.0.0

2 release files

8.2.1

2 release files

This release

8.2.0 This release

2 release files

8.1.2

2 release files

8.1.1

2 release files

8.1.0

2 release files

8.0.0

2 release files

7.4.0

2 release files

7.3.0

2 release files

7.2.0

2 release files

7.1.0

2 release files

7.0.0

2 release files

6.1.0

2 release files

6.0.3

2 release files

6.0.2

2 release files

6.0.1

2 release files

6.0.0

2 release files

5.0.2

2 release files

5.0.1

2 release files

5.0.0

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.3.0

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.7

2 release files

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.2.0

1 release file

0.1.12

1 release file

0.1.11

1 release file

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page