Skip to main content

A Python module for displaying formatted warnings.

Project description

pretty_warnings

A Python module for displaying formatted warnings.

Installation

pip install pretty_warnings

Usage

from pretty_warnings import warn

try:
    bad_function()
except Exception as e:
    warn("Bad function has run.")

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

pretty_warnings-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pretty_warnings-0.1.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file pretty_warnings-0.1.2.tar.gz.

File metadata

  • Download URL: pretty_warnings-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for pretty_warnings-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a35fcffb848749e468c5900f70dd2ba0ba5753372bc938c2fd915760f11f9aab
MD5 94bc4928f3a6bb2a881222f2b82b1c7c
BLAKE2b-256 d715fee9264caf718113a97feec6253d83e80255ac20cba638aaa0e3f0f5de5e

See more details on using hashes here.

File details

Details for the file pretty_warnings-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pretty_warnings-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 92c007582bcfb83cf02edc424002ecf4c5aeb1b712116447621f8a5f1d8e9eee
MD5 2137cf9a32933aca1ddc09b9d906b8fb
BLAKE2b-256 a1ad62b39fa2f451e1bf51027c5d61e19be430f685a082232add10aef8de9539

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page