DebugToolkit is a versatile Python package designed for debugging
Project description
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for debugtoolkit-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dbbc699cc023d9a9de242ab02dde5fb6caec5a4250ac6466c79e3f6b0af1fed |
|
MD5 | 7115c8bbaa3a5916e550e7577a3a224c |
|
BLAKE2b-256 | ca0d607bcd2642e2af7c799ec527bb3ae8632679893d53ad91d125dddc4e8860 |