Skip to main content

Eazy measure time of function execution

Project description

TIMEOF

timeof - is a decorator, that helps you to measure time of function execution in a simple way.

Usage

from timeof import timeof
from time import sleep


@timeof
def some_function():
    sleep(5)


if __name__ == "__main__":
    some_function()

output:

<TIMEOF:some_function> 0:00:05.007668 sec

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

timeof-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

timeof-0.0.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: timeof-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for timeof-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0c8f66c3dd51137c3cfa0e2bad48055bef41105841331d1a6b5331400b2f9ae0
MD5 c78b3a61c820f950b2c37353480d2486
BLAKE2b-256 518d4e226b251b69b08168c79014f49b7f0d062187069089d5d321e6b651f4e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: timeof-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for timeof-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8cd62d69d579c46ff514009f54ed0edaed34df2f923c51da542e8a43ba36981
MD5 e2c54673318f0ccf57ae889f1eda632e
BLAKE2b-256 55a38adf36f41bb3b2efbf94b126fc9efa65f9c6810ec42bbaefd852aaf111d0

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