|
|
|
|
|
|
|
|
|
|
TimeSpy ⏱
Timespy is a lightweight Python decorator that measures the execution time of functions, providing an easy way to analyze and optimize performance.
Installation
pip install timespy
Usage
from timespy import timer
@timer
def my_function():
import time
time.sleep(1)
my_function()
print(f"Execution time: {my_function.exec_time:.6f}s")
License
TimeSpy is licensed under the GNU General Public License v3 (GPLv3). See LICENSE for more details.
Metadata
Release files for timespy 1.0.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 |
|---|---|---|---|---|
| timespy-1.0.0.tar.gz | 14.9 kB | Without provenance | Details for timespy-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| timespy-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for timespy-1.0.0-py3-none-any.whl |
Total release size: 30.1 kB
Release files / timespy-1.0.0.tar.gz
| Download URL | timespy-1.0.0.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8be853f0ff058445306df8c35865f831844c655fa03852118fa633dff45de9f0
|
|
BLAKE2b-256 checksum How to use checksums |
b4cbccbba771de83df795d6773b67d63a5cc527a05851fda7e25f72c3abfac74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / timespy-1.0.0-py3-none-any.whl
| Download URL | timespy-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce223b9af2f8aff2d0ed61ae9c7b1b155c8e2df0ac6a7aee095baf8ae6d58dad
|
|
BLAKE2b-256 checksum How to use checksums |
fb8cbee5daf59b4e7cdf955d072314262ea6d769e0b0e5afd68a3c401207bae9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for timespy 1.0.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.