Socket
Socket
Sign inDemoInstall

timerr

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    timerr

A basic timer that counts down from time entered


Maintainers
1

Readme

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc