Skip to main content

Pepy Total Downloads | PyPI - Downloads | PyPI - Downloads | GitHub License | PyPI - License | PyPI - Format | PyPI - Python Version | PyPI - Wheel | Libraries.io SourceRank | GitHub file size in bytes | GitHub Release

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)

Source distribution for timespy 1.0.0
File Size Uploaded
timespy-1.0.0.tar.gz 14.9 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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