A basic timer that counts down from time entered
Project description
Timerr Package for Python
This is a simple timer package for python that counts Down
from the time set.
If you have any suggestions,
- Email me with your suggestion or
- Add a pull request with your edit of the code and I'll look at it
Usage
Installation
pip install timerr
Scripting
# Import the timerr module
import timerr
# Create a variable named 'timer' and call the class 'Timer'
# Arguments are (hours, mins, secs, log)
# Default is a 1h timer and not to print the time left
# To print the time left, if all args are passsed, use 'log' otherwise copy below
# This sets a timer for 3h 45mins and to print the time left
timer = timerr.Timer(3, 45,log='log')
# Run the 'timer' function from the variable
timer.timer()
Interpreter
>>> import timerr
>>> timerr.Timer(3, 45, 15, 'log').timer()
License & Copyright
Copyright (c) 2019 ItzAfroBoy
This package is under the MIT License.
Under the license, you are able to modify the file
and serve it as closed-source
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
timerr-1.0.4.tar.gz
(2.2 kB
view hashes)
Built Distribution
timerr-1.0.4-py3-none-any.whl
(3.2 kB
view hashes)