Skip to main content

A professional function timer and profiler decorator

Project description

Pro-Timer

A professional-grade function profiler using decorators.

Installation

pip install .

How to use:

from pro_timer.profiler import time_wrapper

@time_wrapper
def my_function():
    print("Doing work...")

Create a demo.py (To see it in action)

If you want to see your library work like a "real user" would see it, create a file called demo.py in your root folder:

import logging
from pro_timer.profiler import time_wrapper

# Setup logging so we can see the output in the console
logging.basicConfig(level=logging.INFO)

@time_wrapper
def calculate_something():
    sum(range(1000000))
    print("Calculation finished!")

if __name__ == "__main__":
    calculate_something()

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

pro_timer_ajay_2026-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

pro_timer_ajay_2026-0.0.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file pro_timer_ajay_2026-0.0.1.tar.gz.

File metadata

  • Download URL: pro_timer_ajay_2026-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for pro_timer_ajay_2026-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3ce8dee392c4ab2cf651023ae6872a7c797bc9d13f40f207962fd3d8fe12fdb6
MD5 65b9e99aa6b74b2c5a59980640af4e09
BLAKE2b-256 42a6b85d47cef6bcd067e507930fe4030008fe053b01c2ffc5c29080b7bf302c

See more details on using hashes here.

File details

Details for the file pro_timer_ajay_2026-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pro_timer_ajay_2026-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78418304de4359a4a1be0c8844d92daed09a39c36189627077a350607a0a8e2a
MD5 15d4f37bdf210c954d1d9d35480124ce
BLAKE2b-256 1ab9e561ccf303abe12c56625916382db1323ec10fe93dd5b7e191ff41568ff5

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