Skip to main content

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

timerr-1.0.4-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file timerr-1.0.4.tar.gz.

File metadata

  • Download URL: timerr-1.0.4.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

Hashes for timerr-1.0.4.tar.gz
Algorithm Hash digest
SHA256 cc04a760fec0b0502accb77f54f119b690019c6ffd2e80ea17857284391c1f91
MD5 fba8813e386162d3622b760717757572
BLAKE2b-256 499aba5904f9d5b9d5b18fcd2f4bd2acb85fddec74d11d39ef6513448b3d80d1

See more details on using hashes here.

File details

Details for the file timerr-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: timerr-1.0.4-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

Hashes for timerr-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 307618cd4c1c79c2a77d357ecea4d6525b1b24c18d0923d13195a5131d1ba5fa
MD5 4ec7e805590618d5ac49368df5180cc9
BLAKE2b-256 fd793f613ea441d625a146f30ab3ba5d1f2d9f8a72490e99a1336cd5d796b971

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page