=================
simply tracks ellapsed time of decorated code and print it when script is finished.
In order to use it, just do:
from code_time_tracker import code_time_tracked
and later decorate your code like this:
@code_time_tracked
def my_func():
do_stuff()
And with that, if you run a script with such decoration you'll get something like this output:
]$ python sample.py
... (script output if any)
<Code time tracker __main__.my_func: 0:00:00.001063 timedelta, 2 calls>
Metadata
Release files for code_time_tracker 0.1
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 |
|---|---|---|---|---|
| code_time_tracker-0.1.tar.gz | 2.3 kB | Without provenance | Details for code_time_tracker-0.1.tar.gz |
Release files / code_time_tracker-0.1.tar.gz
| Download URL | code_time_tracker-0.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b4028d8c959d7ffd66342b3f438663543002c0c09ad0e9f717245671246bd8c
|
|
BLAKE2b-256 checksum How to use checksums |
8356a80e982d76f1a2d72cfccb88d6d81f92bed2ac0050a6284267c7d870d7d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for code_time_tracker 0.1
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.