Skip to main content

Prints all executed lines

pip install tracealllines

Tested against Windows 10 / Python 3.10 / Anaconda

from tracealllines import print_execution, enable_trace_all, disable_trace_all



colorprint = "green"





@print_execution(

    file=__file__, color=colorprint, logfile="c:\\logogog.txt", enabled=True

)

def fu():

    for x in range(2):

        print(x * 1)





@print_execution(file=__file__, color=colorprint, logfile=None, enabled=True)

def fu3():

    for x in range(3):

        print(x * 25)





@print_execution(file=__file__, color=colorprint, logfile=None, enabled=True)

def fu2():

    for x in range(2):

        print(x * 150)





if __name__ == "__main__":

    fu()

    fu3()

    fu2()

    file, color, logfile = __file__, colorprint, "c:\\logogog.txt"



    enable_trace_all(file, color, logfile)

    fu2()

    disable_trace_all()

    fu3()

Metadata

Release files for tracealllines 0.10

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

Source distribution (sdist)

Source distribution for tracealllines 0.10
File Size Uploaded Provenance Actions
tracealllines-0.10.tar.gz 4.1 kB Without provenance Details for tracealllines-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tracealllines 0.10
File Interpreter ABI Platform Actions
tracealllines-0.10-py3-none-any.whl Python 3 none any Details for tracealllines-0.10-py3-none-any.whl

Total release size: 9.7 kB

Release files / tracealllines-0.10.tar.gz

Download URL tracealllines-0.10.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6845112eac6b7ed6765b09682bb127bb588ff93669be806e0f48e906ffe7f3ee
BLAKE2b-256 checksum
How to use checksums
272d2cc7c18eaa4bc2def94d8768d29ddb35fe73b81710657e3c7f9b4cc48d8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / tracealllines-0.10-py3-none-any.whl

Download URL tracealllines-0.10-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83c7ccfef082ac3035e79dbc3b6e00b3e448fb4ccdf4734c30265d2c2f9692f1
BLAKE2b-256 checksum
How to use checksums
33993167525612cdc82cb2d295dd22c4a5dedb76728028afeeef22d9df5e501e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for tracealllines 0.10

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.10 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