Skip to main content

DebugToolkit is a versatile Python package designed for debugging

Project description

Project generated with PyScaffold Coveralls PyPI-Server Conda-Forge ReadTheDocs Monthly Downloads

python-debugtoolkit

DebugToolkit is a versatile Python package designed for debugging

This library provides decorators to log various aspects of function execution. It includes decorators to log input arguments, execution time, garbage collection counts, and resource usage.

Installation

pip install debugtoolkit

Usage

To use these decorators, simply import the decorators library and use the @ symbol followed by the decorator name before the function definition. For example:

import debugtoolkit


@debugtoolkit.log_inputs
def my_function(a, b):
    return a + b

This will log the input arguments every time my_function is called.

Contributing

Contributions are welcome. Please submit a pull request with any improvements.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

debugtoolkit-0.1.tar.gz (23.0 kB view hashes)

Uploaded Source

Built Distribution

debugtoolkit-0.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

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