Metadata-Version: 2.1
Name: schwicv
Version: 0.0.9
Summary: Schwi's Utilities
Home-page: https://github.com/Schwi88/SchwiCV
Author: Thomas Schwingenschlögl
Author-email: office@schwi.at
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# SchwiCV

## Installation

You can install the SchwiCV Tools from [PyPI](https://pypi.org/project/schwicv/):

    pip install schwicv

The package is supported on Python 3.6 and above.

# How to use
## Timer Lib
    from schwicv import Timer
    
    tmr = Timer(0.1)        # Makes Instance of Timer class with 0.1 seconds init time
    tmr.remaining_time      # Output of remaining time in seconds
    tmr.remaining_time_ms   # Output of remaining time in milliseconds
    tmr.execution_time      # Output of execution time since last start in seconds
    tmr.execution_time_ms   # Output of execution time since last start in milliseconds
    tmr.time_stamp          # Output of actual time stamp as datetime
    tmr.time_stamp_str      # Output of actual time stamp yearmonthday-hhmmss-Âµs example: 20210708-075514-612456
    tmr.remaining_percent   # Output of remaining time in percent
    tmr.time_over           # True if code needed more or equal 0.1 seconds
    tmr.restart()           # Restarts the timer with previous init time

    tmr.start(1)            # Restart timer with 1 second init time, if re-use instance 
