Skip to main content

A Python decorator to measure the execution time of functions

Project description

Measure Time Package

wakatime

A simple Python decorator to measure the execution time of functions.

Installation

pip install measure_run_time

Usage

from measure_run_time import measure_run_time

@measure_run_time
def example_function():
    # Your code here

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

measure_run_time-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

measure_run_time-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file measure_run_time-0.1.0.tar.gz.

File metadata

  • Download URL: measure_run_time-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for measure_run_time-0.1.0.tar.gz
Algorithm Hash digest
SHA256 93bcb07bee9d38abf21dbe62a6f770dbd86eec4ec43c7862b63dc123a9459055
MD5 fd25823aa5930e1a7582741fd04b9999
BLAKE2b-256 994702325ee308e738a0dda2bfedd8a3e7a0cffa2245d19158bdaa4f442ffd8a

See more details on using hashes here.

File details

Details for the file measure_run_time-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for measure_run_time-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a28ced052259198dd1eb9e57db7d82270ee50bbf3b81c476262e379f765509b
MD5 be1cfaf62f8c861129800f8ae75e4dcd
BLAKE2b-256 a61e4a18472dd71e0df65d94c4e51f88939eb5716e3533983c5a3eaead45afcb

See more details on using hashes here.

Supported by

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