Skip to main content

Monitor time for Python code

Project description

This module allows to monitor time for Python code. You can tag different timers and know how long each of them took and, if they were in a loop, how many loops the ran into.

You can install it with pip:

pip install pstymer

Usage:

>>> PythonSimpleTimer.PythonTimer import PythonTimer
>>> my_timer = PythonTimer()
>>> my_timer.start('timer_name')
>>> -- process stuff --
>>> my_timer.stop('timer_name')

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

PSTymer-0.0.1.tar.gz (1.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: PSTymer-0.0.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PSTymer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 833757db10d91bc2580ca6a8bea3a900c133c11e83d614a5b92397a8450a5c92
MD5 7207222853ed2cbe5fd5093d212890db
BLAKE2b-256 7cd8ca7fce1ea2785736048b3ef6b37dcc47a5c383b5c548faae819c8f1d5c5c

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