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.1.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.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pretty_warnings-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 cb291632adbb26f5f3f36a648a6eff6fd7d999488eeb8eaa010c7e7a5f0dc1cc
MD5 b010d9da8ccc1748abf7f676d4924be4
BLAKE2b-256 a491daf336c5d4d5b70218054f30cc8387a155bb4b44c9aae429640f2ba658e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pretty_warnings-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4f2db58f7ca502e4635b6f5bdf591b0841826742099ec6b0600bfac899642b1
MD5 897d7c27cb0e15d25af13ec2e0d05aa7
BLAKE2b-256 940aa761cb5adb5e33a232781709390aa27bf78219e03622a85e4362c7cba3df

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