Skip to main content

A professional-grade Python decorator to measure function execution time

Project description

timing-decorator

Measure the execution time of any Python function—sync or async—with styled output and logging support.

Author

Gurnoor Singh Saini
📧 sainigurnoor511@gmail.com
🔗 GitHub
🔗 LinkedIn

Features

  • ✅ Supports sync and async functions
  • ✅ Rich terminal output
  • ✅ Configurable logging
  • ✅ Pythonic & production-ready

Installation

pip install function-timing-decorator

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

function_timing_decorator-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

function_timing_decorator-0.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file function_timing_decorator-0.1.1.tar.gz.

File metadata

File hashes

Hashes for function_timing_decorator-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f995b2fa9766a7d1b0c9de0eeba60776b9e242b7032272bb70a603564cd5743a
MD5 2bcec6c476eb2e7b62595b55c1e95917
BLAKE2b-256 1d325cf1681e064faab40f93622e983e98b0ae42db9260d0fbd776a4ab205dfa

See more details on using hashes here.

File details

Details for the file function_timing_decorator-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for function_timing_decorator-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de32ebe36dae67bf3d7546f3f70d1140534b18472886ad4bf340e740bc17f229
MD5 02c8ff73786d0296451522fd8ac6e874
BLAKE2b-256 4ca40ed1cad175b964690f0c356f7a4be5235cf380b06aaf832f931e329fdcb5

See more details on using hashes here.

Supported by

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