Skip to main content

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

iva2k-how-long-0.1.4.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

iva2k_how_long-0.1.4-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

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

Hashes for iva2k-how-long-0.1.4.tar.gz
Algorithm Hash digest
SHA256 31b5bb745fbfd7429b1c433ea608bdfb4903375902d9df0642ecfea990df56e8
MD5 6e7f6265f603888c548bca33ab038c01
BLAKE2b-256 78dfb0a432d53f50f240cba047f41c7cc68df9a30d1432086fe982bf2c2c8c60

See more details on using hashes here.

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

Hashes for iva2k_how_long-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7394681b173ee63f1b744288ea4112a0f0821597dadb59567081d86c0e5edc35
MD5 1f3bda75f939177aac11c10193e4586a
BLAKE2b-256 57dfb4a95801691859f8b9d657c99a41da0d36f730758fb90e731e50c3323619

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page