Coder Social home page Coder Social logo

mathiasdahl / muutimer Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 108 KB

Simple command line controlled kitchen timer built using Python and TK

Home Page: http://sites.google.com/site/muutimer/

License: GNU General Public License v3.0

Python 100.00%

muutimer's Introduction

MuuTimer is a simple kitchen timer written in Python and using TK for
GUI. It's behaviour can be controlled from the command line by using
various command line options. It runs on GNU/Linux and Windows.

USAGE

$ muutimer --help

Usage: muutimer [options]

When using the different time options they will all add up so that you
can, for example, set the timer to one hour and fifteen minutes by
using -H 1 and -m 15 at the same time.

Options:
  -h, --help            show this help message and exit
  -s SECONDS, --seconds=SECONDS
                        Time in seconds
  -m MINUTES, --minutes=MINUTES
                        Time in minutes
  -H HOURS, --hours=HOURS
                        Time in hours
  -a ACTION, --action=ACTION
                        Set the action name
  --tick                Turn tick sound on
  --no-finish-sound     Turn finish sound off
  --no-start            Turn auto start off
  --time-in-title       Display time in the window title
  --sound=SOUND         Sound file to play when time reaches zero. Must be a
                        16 bit WAV file
  -d, --debug           Enable debug output

By default, MuuTimer will start a timer of five minutes, with no tick
sound and with finish sound enabled.

THE IDEA

The idea behind having these options on the command line is to be able
to make shortcuts or command aliases to commonly used timer
scenarios. Instead of making the UI overly complicated or using a
settings file with timer presets you simple create shortcuts for
whatever purposes you like.

EXAMPLES

Here are some examples to get you started.

15 minutes timer with tick sound enabled:

 $ muutimer -m 15 --tick

Relax and take a micro typing break for half a minute:

 $ muutimer -s 30 -a "Typing break"

NOTES

Make sure the two wav files are in the same folder as the
program.

MuuTimer is free software and is distributed under the GPL v3. See
muutimer.py and/or COPYING for more details.

Happy timing!

muutimer's People

Contributors

mathiasdahl avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.