A collection of useful debugging tools
Project description
PythonDebuggerTools
This is a collection of useful debugging tools to make your python development process faster.
Installation
Use the package manager pip to install PythonDebuggerTools-0.0.15
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps PythonDebuggerTools==[latest-version]
Usage
from PythonDebuggerTools.logger import Debug
D = Debug()
D.DEBUG = True
@D.logger(important_params=['x', 'y'])
def add(x, y):
D.log("Here's a print statement than can
be turned off by toggling D.DEBUG!")
return x + y
Logger Key-word arguments
- important_params
- a python list of paramaters to print in the standard output
Contributing Guidelines
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Github Repository
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
Built Distribution
File details
Details for the file PythonDebuggerTools-0.0.15.tar.gz
.
File metadata
- Download URL: PythonDebuggerTools-0.0.15.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 835c6fa838c1236a038f785aa0a2975935ba75a92137c637b6f5cd09dd7d71c7 |
|
MD5 | 282d21a3d44808521119df10c604a207 |
|
BLAKE2b-256 | 1e6f8da0b1867bc31454f59b6fcad38c18cef2000fba3bb1319c77a86e282130 |
File details
Details for the file PythonDebuggerTools-0.0.15-py3-none-any.whl
.
File metadata
- Download URL: PythonDebuggerTools-0.0.15-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 140b7b4f25900d9f6296114d0a4e19da032917265e982bc5409fbfc7a021ed85 |
|
MD5 | 7958436eb1273ceaffbb561c0a92402a |
|
BLAKE2b-256 | b10002c62dd7d1b8f863c05c83468848323992fd29112c2306f5f8a46009c121 |