Skip to main content

This package is for measuring the time spent for a function to run.

Project description

JCOtimer CI status

JCOtimer is a Python package for measuring the time spent a function takes to execute.

Installation

Requirements

  • Windows/Linux/OSX
  • Python 3.x

Check it on Pypi.

$ pip install JCOtimer

Usage

from JCOtimer.timer import timer

@timer #use as decorator
def foo():
   print('bar' * 999999)

foo() # returns 'Time it took to run the function: 0.4072580337524414 secs'

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Author

Jan Carlo E. Once

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

JCOtimer-5.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

JCOtimer-5.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file JCOtimer-5.0.tar.gz.

File metadata

  • Download URL: JCOtimer-5.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for JCOtimer-5.0.tar.gz
Algorithm Hash digest
SHA256 9e510bb7c4fc6d8459fadcce7c323039a4b5496ddadd0bdc023be0f675edeb7e
MD5 d24164753b49e259bf9f1409d747fb9f
BLAKE2b-256 4ed5d19b7383e907d4d01606636626fc6091adc6c339330c9cd794dd05f44362

See more details on using hashes here.

File details

Details for the file JCOtimer-5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for JCOtimer-5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16e0900d0119c65254bb281999b28f961b56a5c13572a6b60713b87c77bf32f8
MD5 0f9c0ce1a0c56befd6e703d615c523db
BLAKE2b-256 08f6b0a322f138f0694ebb2753c9b11fcf14801f141ef2b25f0c0bd4470d2a4e

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