Skip to main content

A comprehensive Python function debugger with colors and caller detection

Project description

Debugger Decorator

A simple Python decorator for debugging functions.

Installation

pip install debugger-decorator

To include the optional pretty_errors dependency:

pip install debugger-decorator[pretty]

Usage

from debugger_decorator import show_information

@show_information()
def my_function(a, b):
    return a + b

my_function(1, 2)

This will print information about the function call, its arguments, return value, and execution time.

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

debugger_decorator-0.1.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

debugger_decorator-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: debugger_decorator-0.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for debugger_decorator-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ddef26c42f5b5e90103ef7d5726155bf3e1b383e14623fae0c12aeab64b3388f
MD5 bd9d96f82e4a6d09810ccaca3678ab0b
BLAKE2b-256 dfb1558620d345d1ba08bb35a3723f352fc5c3e949074d0ed5c03a044ddcc384

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for debugger_decorator-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dfad74257ad9608dd9b03e198c6717f0d7a60014f9e3064dbe04a9b233176311
MD5 78abcce2bb83f724e7d8e2261ef22265
BLAKE2b-256 0f6679c1efae9e48d62728170cb4774d50d734a6ebd909f046a9d3c49c2401a3

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