跳转到主要内容

显示倒计时计时的终端程序

项目描述

PyPI Status Python Version License

Tests Codecov

pre-commit Black

该项目基于Python Morsels的命令行倒计时练习。如果您目前正在做这个练习,请不要看这个源代码。😉

an adorable snake taking a bite out of a cookie with the words Python Morsels next to it (Python Morsels logo)

想知道这个包是如何工作的?现在不要看源代码!相反,尝试使用Python Morsels的“countdown”练习来实现这个包!

功能

  • 全屏倒计时计时器,居中在终端窗口中

  • 适用于Linux/Mac/Windows的命令行界面

32:53 shown in large letters in center of an xterm window (black background with white text)

14:57 shown in large letters in center of terminal window (light background with darker text)

要求

  • Python 3.7+

安装

您可以通过pipPyPI安装countdown-cli

$ python3 -m pip install countdown-cli

贡献

欢迎贡献。有关更多信息,请参阅贡献指南

许可证

MIT许可证下分发,countdown-cli是免费和开源软件。

问题

如果您遇到任何问题,请带有一个详细的描述提交问题

鸣谢

该项目是从@cjolowiczHypermodern Python Cookiecutter模板生成的。

支持