New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

py-buzz

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

py-buzz

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

  • 5.0.2
  • PyPI
  • Socket score

Maintainers
1

Latest Version 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 conditions and raising errors on failure (require_conditon)
  • checking that values are defined and raising errors if not (enforce_defined)
  • catching exceptions wrapping them in clearer exception types with better error messages (handle_errors)
  • checking many conditions and reporting which ones failed (check_expressions)

py-buz 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.8 or later
  • Installed with pip ($ pip install py-buzz)
  • Each feature demonstrated in examples

Documentation

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc