日历管理您的工时。

ManHourCalendar的Python项目详细描述


检查和安排工作的简单月历 工时。(主要针对日本)

中文版文档

这是一个cli工具,就像我的第一个python项目一样,是为了处理 以我每月的工时计算。

用法

像这样使用它的简单方法:

# Initialize your Job file first.
# It will also update the Japanese holidays schedule at the first time.
$ mhcalendar -J ...

# Check out the man-hour schedule of current month.
$ mhcalendar

# Check in your man-hour of first day.
# Ensure that you will check in everyday.
$ mhcalendar -c 8# Check out your schedule again to confirm your next day's work hours.
$ mhcalendar


# Schedule your day off or on duty days anytime before it comes.
# For example, make date of 9, 10 and 11 as dayoff, and go to work at 13th.
$ mhcalendar --dayoff -- 91011 -13

# Remember to Update your schedule by calling this
$ mhcalendar

有关详细信息,您可以通过命令查看:

$ mhcalendar -h

也可以通过python脚本运行它,请参阅以下文件:

Example.py

安装

这个程序是用python3编写的,您需要安装python3并 pip3安装之前。

pip3 install ManHourCalendar

关于数据

简单来说,我们这次没有使用数据库,所有的数据都只是缓存在 此文件夹作为文件:

~/.mhcalendar/
# or your user dir in Windows such as
C:\Users\username\.mhcalendar\

假日日程从以下站点获取:

http://calendar-service.net/

供_____!

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

推荐PyPI第三方库


热门话题
java Android应用程序在后台   如何使用java减去日期。sql。时间戳   在Eclipse中使用Tomcat和Maven的java抛出错误   java Runnable jar什么都不做,资源不导出   并发Java内存模型:volatiles和读/写重新排序   使用Morphia在MongoDB中进行java批量升级。可能吗?   java将自己创建的sqlite数据库复制到安卓失败   在java中使用嵌套循环解决消除?   地图上多个标记的java实时动画   java如何在J2EE web应用程序中从服务层调用DAO方法   java我只想浏览文件,并将其作为电子邮件中的文件。我应如何附加:   猜猜我在think Java中的数字是57   可以在java流中的groupingBy中使用foreach吗?   我的Java程序编译时没有任何错误,但不会完全运行