Skip to main content

Schwi's Utilities

Project description

SchwiCV

Installation

You can install the SchwiCV Tools from PyPI:

pip install schwicv

The package is supported on Python 3.6 and above.

How to use

Timer Lib

from schwicv import Timer

tmr = Timer(100) # Makes Instance of Timer class with 100ms init time
tmr.remaining_time_ms   # Output of remaining time, 0 if over
tmr.execution_time_ms   # Output of execution time from last start
tmr.remaining_percent   # Output of remaining time in percent
tmr.time_over           # True if code needed more or equal 100 ms

tmr.start_ms(1000)      # Restart timer with 1000ms init time, if re-use instance 

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

schwicv-0.0.7.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file schwicv-0.0.7.tar.gz.

File metadata

  • Download URL: schwicv-0.0.7.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.2

File hashes

Hashes for schwicv-0.0.7.tar.gz
Algorithm Hash digest
SHA256 400e4736645f6e72daa7a24214a520bb5edc34236ec2d266436b3b4b51062996
MD5 9395580995c4d68ef5b6fed84df6d041
BLAKE2b-256 d2bafcfb3ae621df1250d0163fc24625a32f7add877eeb89887061692278b555

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