Debug Module
A lightweight Python debugging utility. This module allows you to manage print statements, inputs, and system commands based on different debug levels.
Features
- Multi-mode Debugging: Support for different levels (
p+,p,i). - Smart Print: Only prints when the right debug mode is active.
- Tools: Includes clear screen and wait functions integrated with the debug state.
Installation
pip install toolfor_debug
Usage
You can choose between different modes:
p+: Full debug (Prints + Inputs)
p: Print only
i: Input only
Example:
from toolfor_debug import State, Tools
State.active_debug("p+")
The tools will only execute if a debug mode is active.
Example:
Tools.dprint("This is a debug message")
user_val = Tools.dinput("Enter debug value: ")
Tools.dwait(2)
Tools.dclear()
Example:
status = State.view("settings")
print(f"Current System State: {status}")
Authors
ZedKa450
License
GNU General Public License 3.0 (GPL 3.0)
Metadata
Release files for toolfor-debug 0.2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| toolfor_debug-0.2.1.0.tar.gz | 15.4 kB | Without provenance | Details for toolfor_debug-0.2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| toolfor_debug-0.2.1.0-py3-none-any.whl | Python 3 | none | any | Details for toolfor_debug-0.2.1.0-py3-none-any.whl |
Total release size: 31.4 kB
Release files / toolfor_debug-0.2.1.0.tar.gz
| Download URL | toolfor_debug-0.2.1.0.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9b212f248e31bb7b0181e963d6dfe298000b1febe912f95673da1717c8de401
|
|
BLAKE2b-256 checksum How to use checksums |
4ae426dc4004c7e919283554af8deee3458c0400a74354c141e725930e5bb9cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / toolfor_debug-0.2.1.0-py3-none-any.whl
| Download URL | toolfor_debug-0.2.1.0-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b311c7754d7ece6ef905b758e9e7b35cf79127e927fb4b400607b33771fb697b
|
|
BLAKE2b-256 checksum How to use checksums |
73cc2bf1c42a09bd1f7dc638b173537cb35f7b30b90250dc41d8a28a3654040f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for toolfor-debug 0.2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.