Skip to main content

debug-print

Capture the print function and add some output information to it for easy debugging.

why?

Is there such a situation?
That you need to temporarily use print debugging in third-party packages or source code, but you may forget where to add print when thinking or jumping back and forth.
Now you only need to install and import debug_print to let print output the file name and line number, which is more convenient for debugging.

Install:

pip install debug-print2

Usage:

Just import the file to run.

import debug_print
debug_print.patch()

Metadata

Release files for debug-print2 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for debug-print2 0.1.2
File Size Uploaded Provenance Actions
debug_print2-0.1.2.tar.gz 1.2 kB Without provenance Details for debug_print2-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for debug-print2 0.1.2
File Interpreter ABI Platform Actions
debug_print2-0.1.2-py3-none-any.whl Python 3 none any Details for debug_print2-0.1.2-py3-none-any.whl

Total release size: 2.8 kB

Release files / debug_print2-0.1.2.tar.gz

Download URL debug_print2-0.1.2.tar.gz
Size 1.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2bdc67d7d5e34867841d05048a79b6406c6e866f651b54f90955e3a885371121
BLAKE2b-256 checksum
How to use checksums
d82de0987f753c2b96b495145dae64dd602ca5457bf6ee573bb9488f38cfcd9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.8.16 Darwin/22.5.0

Release files / debug_print2-0.1.2-py3-none-any.whl

Download URL debug_print2-0.1.2-py3-none-any.whl
Size 1.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01bf5ec038e0e981e3bbd8389f74daba007015b14f0a72c4cedefd0809153435
BLAKE2b-256 checksum
How to use checksums
a844f956a2649d855f23321f98aea57cf18b6d77cd31629bd86138966cbc1c1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.8.16 Darwin/22.5.0

Security for debug-print2 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page