A simple decorator to measure a function excecution time.
Project description
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)]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iva2k-how-long-0.1.4.tar.gz.
File metadata
- Download URL: iva2k-how-long-0.1.4.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.9 Windows/7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31b5bb745fbfd7429b1c433ea608bdfb4903375902d9df0642ecfea990df56e8
|
|
| MD5 |
6e7f6265f603888c548bca33ab038c01
|
|
| BLAKE2b-256 |
78dfb0a432d53f50f240cba047f41c7cc68df9a30d1432086fe982bf2c2c8c60
|
File details
Details for the file iva2k_how_long-0.1.4-py3-none-any.whl.
File metadata
- Download URL: iva2k_how_long-0.1.4-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.9 Windows/7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7394681b173ee63f1b744288ea4112a0f0821597dadb59567081d86c0e5edc35
|
|
| MD5 |
1f3bda75f939177aac11c10193e4586a
|
|
| BLAKE2b-256 |
57dfb4a95801691859f8b9d657c99a41da0d36f730758fb90e731e50c3323619
|