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.0.tar.gz (2.7 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.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pretty_warnings-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 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.0.tar.gz
Algorithm Hash digest
SHA256 28ef792c0e79ff5e00772749c9db07226586643830a44afafc33dbb21051f6af
MD5 3ee1924fea3816375e129c86788fadc3
BLAKE2b-256 432a4d45dfc20a2e86edecebb2ee0184b878a9a62122366d2622355770e10ce0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pretty_warnings-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4122f1f8d9d1e3331d63c4b427db015c42ec7de30fbf257f74b0d912748f25f3
MD5 f171f26d95bcc6dc833124da8b4676c0
BLAKE2b-256 d42ffb78bbc918db7b3e941a825ac82cb7a4eadc9249e32c3fd668cd838906ec

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