一个漂亮的命令行工具,用来计算两个时间点之间可用的pomodori数量。

pomodoro-calculator的Python项目详细描述


一个计算pomodoros数量的漂亮的命令行工具 在两个时间点之间可用。

Pomodoro Calculator screenshot

安装

您可以使用pip安装pomodoro计算器:

$ pip install pomodoro-calculator

用法

使用shell中的get pomodori命令运行pomodori计算器:

$ get-pomodori --help

Calculate the number of Pomodori available within a time period.

Usage:
  get-pomodori [options] <end-time>
  get-pomodori (-h | --help | --version)

Options:
  --version                   show program's version number and exit.
  -h, --help                  show this help message and exit.
  -i, --interval              specify that the end time is a time interval, not a time of day.
  -f, --from=<time>           calculate available Pomodori from this time [default: now].
  -b, --break=<minutes>       the amount of minutes between each Pomodori [default: 5].
  -l, --long-break=<minutes>  the amount of minutes between every four Pomodori [default: 15].
  -p, --pomodoro=<minutes>    the amount of minutes for every pomodoro session [default: 25].
  -g, --group=<pomodori>      the amount of pomodori before a long break [default: 4].
  -j, --json                  output the pomodori schedule in JSON format.
  -n, --nocolour              do not colourise the output.
  -a, --amount                specify that the end time is the number of pomodoros you desire to do, not the time of a day.
  -x, --extensive-report      also write total break time and total session time.

许可证

版权所有©2018 Matt Deacalion Stevens,发布于MIT License

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何加载JNI。具有依赖项的动态库文件,但未获得未满足的链接错误?   java ResultSet元数据未返回第一行   无法从java xml解析器中的当前节点获取节点列表   java如何从for循环值创建单个数组   java如何在没有arrayList的情况下查找对象   java ItemizedOverlayWithFocus在聚焦osmdroid时显示另一个覆盖   java使用迭代器进行“向下”迭代的优雅方式   java如何使用OnListItemClick为listview和AlertDialog使用单独的arraylist?   arraylist读取txt文件Java中存储的数组   javascript IE 11与RicoLive Grid 2.2框架不兼容   java我能得到水豚的maven依赖性吗?   简单Escp Java:PrintPreviewPane在JDK7中不起作用   java取出给定字符串的一部分,并将所取部分作为变量返回?   java如何替换“instanceof”函数中的变量   来自url的Java utf8编码   java方法获取类Gregorianalendar?   安卓如何在java 7中使用AndroidStudio和DDMS监视器   java测试在JUnit4下运行,但不是在JUnit5下运行-编译干净,但执行0测试   java无法使用Azure服务总线发送消息