{"repo":"liriansu-opus/chinese-calendar","free":true,"listed":false,"github":"https://github.com/liriansu-opus/chinese-calendar","clone":"git clone https://github.com/liriansu-opus/chinese-calendar.git","description":"判断一天是不是法定节假日/法定工作日（查看节假日安排）","language":"Python","stars":1366,"topics":["chinese-calendar","calendar","holidays","workdays","python","chinese-holiday","public-holidays"],"license":"MIT","category":"productivity","readme_excerpt":"中国节假日 判断某年某月某一天是不是工作日/节假日。 支持 2004年 至 2026年，包括 2020年 的春节延长。 安装 升级 由于次年的节假日安排，取决于国务院发布的日程。 所以本项目一般会在国务院更新以后，发布新的版本。 按照以往的经验，一般是每年的 11月 前后发布新版本。 样例 其它语言 假如你没法使用Python， 你也可以转译现成的[常量文件][constants.py]来获取最全的节假日安排表。 贡献代码 1. Fork + Clone 项目到本地 2. 修改[节假日定义][scripts/data.py] 3. 执行[脚本][scripts/ init .py]自动生成[常量文件][constants.py] 4. 提交PR [constants.py]: https://github.com/liriansu-opus/chinese-calendar/blob/master/chinese calendar/constants.py [scripts/data.py]: https://github.com/liriansu-opus/chinese-calendar/blob/master/chinese calendar/scripts/data.py [scripts/ init .py]: https://github.com/liriansu-opus/chinese-calendar/blob/master/chinese calendar/scripts/ init .py","default_branch":null,"files":null,"tree":[],"storefront":"/r/liriansu-opus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/liriansu-opus/chinese-calendar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}