Skip to main content

Timeself

Description

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

Installation

pip install timeself

Usage example

from timeself import timeself


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


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

# Output

Execution time: 2.2221007384359837e-05

Metadata

Release files for timeself 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for timeself 0.0.1
File Size Uploaded
timeself-0.0.1.tar.gz 1.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for timeself 0.0.1
File Interpreter ABI Platform
timeself-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.5 kB

Release files / timeself-0.0.1.tar.gz

Download URL timeself-0.0.1.tar.gz
Size 1.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0568cea6f18ac2a472faf81baeced8ec8a33a3afe21e3061237ddefa93b28718
BLAKE2b-256 checksum
How to use checksums
a70552a3bb8e7316cca4de5f4bb346b6da41086167e45effa943b24e378d40da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release files / timeself-0.0.1-py3-none-any.whl

Download URL timeself-0.0.1-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1fea14229cca33d3375b18243c6c5b0495ae895f5f1141f839329c7b47cacf4
BLAKE2b-256 checksum
How to use checksums
bd9bb1141019668c89f797cbf0230f78fe9b8dab0ea75322b859a58e5774f722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page