termdown, curses-based countdown timer in terminal, FIGlet-style

Опубликовано: 02 Июнь 2014
на канале: Archived Yu-Jie Lin
2,446
21

termdown [1] is a countdown timer with FIGlet-style big text.

There are different way to specifiy the countdown target, it can be

seconds (0:03)
`sleep`-like ydhms suffixes, e.g. 3m4s (0:22)
time
date
date + time (1:50)

You can also choose what font `-f` to render (1:04), to see a list of font use `pyfiglet -l` or just check out the FIGlet examples [2]. There is also a `-b` for `--blink` the screen in red when time's up (0:12).

Options used in the recording:

(0:03) 5
(0:12) -b 3
(0:22) 1y2d3h4m5s
(0:38) 19:00
(0:50) '2015-07-01 12:34'
(1:04) -f starwars
(1:10) -f mirror
(1:17) -f banner4

$$$

I like its name a lot, "termdown" is a good name and a catchy one.

$$$

2014-06-03T03:09:28Z: termdown has just been uploaded onto PyPI [3] as version 1.0 (2014-06-02).
2016-01-07T21:55:27Z: a new update video for post v1.9.0 [4].

$$$

git-84319553d7efab7940b87536251ed6762975832b (2014-05-31, pre v1.0 (2014-06-03))
In Python 2† with ncurses, click, pyfiglet, and python-dateutil
By Torsten Rehn, et al.
GPLv3

† pyfiglet 0.6.1 (2012-09-14) is Python 2 only, git-7014d7301d4aef80f8311c513d858db1729511c8 (2014-03-05) added Python 3 support.

[1]: https://github.com/trehn/termdown
[2]: http://www.figlet.org/examples.html
[3]: https://pypi.python.org/pypi/termdown
[4]:    • Update of termdown, pre v1.0 to post ...   (post v1.9.0 update video)