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.3.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file timerr-1.0.3.tar.gz.
File metadata
- Download URL: timerr-1.0.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d5e7ed6576e5131b9ca9aebf628417000e91dd8a1d02c02577d2b40a38a873d
|
|
| MD5 |
75f043e1d382acd52dace2ff0c8b9af5
|
|
| BLAKE2b-256 |
88081c3323b66752113f569a4edd5a4e25422c92c39f19c1d8064b2d606cff5b
|
File details
Details for the file timerr-1.0.3-py3-none-any.whl.
File metadata
- Download URL: timerr-1.0.3-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b0d11f5c8dd5c9af0720c959daa66b8b04440141bb1e554512b11a8e0db9bfb
|
|
| MD5 |
5837e53a8329997bb29bdee3ef3162c2
|
|
| BLAKE2b-256 |
c55da787f83d1a831e1100e891ad340d0973e8233eb168ea83db7f28d734ccec
|