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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file debugtoolkit-0.1.tar.gz.

File metadata

  • Download URL: debugtoolkit-0.1.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for debugtoolkit-0.1.tar.gz
Algorithm Hash digest
SHA256 b1288ae852ec90baad415929be8328f04df8a8afb0820e1f4b13697aa15d51ee
MD5 f8ed3180b97170132e5d30152d9b77f9
BLAKE2b-256 5fb8d2f9381cad8110a49ad6ba9e09d6f6ecc2cd46e42fc988ec4fb64d19b1dd

See more details on using hashes here.

File details

Details for the file debugtoolkit-0.1-py3-none-any.whl.

File metadata

  • Download URL: debugtoolkit-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for debugtoolkit-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9dbbc699cc023d9a9de242ab02dde5fb6caec5a4250ac6466c79e3f6b0af1fed
MD5 7115c8bbaa3a5916e550e7577a3a224c
BLAKE2b-256 ca0d607bcd2642e2af7c799ec527bb3ae8632679893d53ad91d125dddc4e8860

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