Skip to main content

Simple Decorator to measure a function execution time.

Very lightweight project to get familiar with poetry publishing to PyPi, built from tutorial https://www.pythoncheatsheet.org/blog/python-projects-with-poetry-and-vscode-part-1

Example

from iva2_how_long import timer


@timer
def some_function():
    return [x for x in range(10_000_000)]

Release files for iva2k-how-long 0.1.4

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

Source distribution (sdist)

Source distribution for iva2k-how-long 0.1.4
File Size Uploaded
iva2k-how-long-0.1.4.tar.gz 1.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iva2k-how-long 0.1.4
File Interpreter ABI Platform
iva2k_how_long-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 3.5 kB

Release files / iva2k-how-long-0.1.4.tar.gz

Download URL iva2k-how-long-0.1.4.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
31b5bb745fbfd7429b1c433ea608bdfb4903375902d9df0642ecfea990df56e8
BLAKE2b-256 checksum
How to use checksums
78dfb0a432d53f50f240cba047f41c7cc68df9a30d1432086fe982bf2c2c8c60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.9 Windows/7

Release files / iva2k_how_long-0.1.4-py3-none-any.whl

Download URL iva2k_how_long-0.1.4-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7394681b173ee63f1b744288ea4112a0f0821597dadb59567081d86c0e5edc35
BLAKE2b-256 checksum
How to use checksums
57dfb4a95801691859f8b9d657c99a41da0d36f730758fb90e731e50c3323619
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.7.9 Windows/7

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

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