🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

timerr

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timerr

A basic timer that counts down from time entered

1.0.4
PyPI
Maintainers
1

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()

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts