Skip to main content

A library which allows to measure the execution time of an entire file.

Project description



Timeself is intended to measure and print, the caller script, execution time.


pip install timeself

Usage example

from timeself import timeself

def is_five_divisible(num):
	if num % 5 == 0:
		return True
		return False

timeself()  # Must be the last line on the script.

# Output

Execution time: 2.2221007384359837e-05

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

timeself-0.0.1.tar.gz (1.3 kB view hashes)

Uploaded source

Built Distribution

timeself-0.0.1-py3-none-any.whl (2.2 kB view hashes)

Uploaded py3

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