# Holiday Predictor / 假期预测器
<div style="display: flex; align-items: center; justify-content: center; margin: 10px">
<img
align=center
src="https://img.shields.io/github/stars/azaz-az/holiday-predictor?style=for-the-badge&logoColor=%231677ff&labelColor=rgb(89, 89, 89)&color=rgb(3, 126, 187)"
style="margin: 0 5px"
/>
<img
align=center
src="https://img.shields.io/github/watchers/azaz-az/holiday-predictor?style=for-the-badge&logoColor=%231677ff&labelColor=rgb(89, 89, 89)&color=rgb(3, 126, 187)"
style="margin: 0 5px"
/>
<img
align=center
src="https://img.shields.io/github/forks/azaz-az/holiday-predictor?style=for-the-badge&logoColor=%231677ff&labelColor=rgb(89, 89, 89)&color=rgb(3, 126, 187)"
style="margin: 0 5px"
/>
</div>
***
简体中文 (中国大陆) / [English (US)](./README_en_us.md)
***
> [!WARNING]
> 此小工具仅用作假期安排的预测,不一定准确,仅供参考,并不完全代表假期安排。
这个小工具可以预测后续国庆、元旦、清明、端午和中秋的放假安排, 例如什么时候放假、什么时候调休。
本仓库在 GitHub 上开源,同时在 PyPI 上发布。
[![Click To GitHub Repo](https://img.shields.io/badge/click_to-github_repo-%2300fffd?style=for-the-badge)](https://github.com/azaz-az/holiday-predictor)
[![Click To PyPI](https://img.shields.io/badge/click_to-pypi-%23fdda50?style=for-the-badge)](https://pypi.org/project/holiday-predictor/)
贡献者名单:
[![Click To Contributors List](https://img.shields.io/badge/click_to-contributors_list-%2362ff7b?style=for-the-badge)](https://github.com/azaz-az/holiday-predictor/graphs/contributors)
> [!TIP]
> 这个小工具还可以作为模块导入.
>
> 模块安装方式:
>
> ```
> pip install holiday-predictor
> ```
> 在您的项目中使用:您可以在您的项目中使用
> ```
> import holiday_predictor
> ```
> 来导入本模块。
本项目使用了[zhdate](https://github.com/CutePandaSh/zhdate)模块。使用GPL3.0协议开放源代码。
***
如果遇到`ModuleNotFoundError`(Python 3.6+)或`ImportError`(Python 3.5-), 请先安装[zhdate](https://github.com/CutePandaSh/zhdate)模块。
欲安装[zhdate](https://github.com/CutePandaSh/zhdate)模块,请运行此命令:
```
pip install zhdate
```
亦或是在本项目目录下运行此命令:
```
pip install -r requirements.txt
```
然后再运行本程序。
***
如果以上方式无法解决你的问题,请向我们提交 issue.
Raw data
{
"_id": null,
"home_page": "https://github.com/azaz-az/holiday-predictor",
"name": "holiday-predictor",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "holiday, predictor, holiday_predictor, chinese_holiday",
"author": "azaz-az",
"author_email": "a233d@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/06/c0/6b5300feec3b8bab17e50395616d8c0aa4f1f8175d816307b511bba42b19/holiday_predictor-0.13.1.tar.gz",
"platform": null,
"description": "# Holiday Predictor / \u5047\u671f\u9884\u6d4b\u5668\r\n\r\n<div style=\"display: flex; align-items: center; justify-content: center; margin: 10px\">\r\n <img\r\n align=center\r\n src=\"https://img.shields.io/github/stars/azaz-az/holiday-predictor?style=for-the-badge&logoColor=%231677ff&labelColor=rgb(89, 89, 89)&color=rgb(3, 126, 187)\"\r\n style=\"margin: 0 5px\"\r\n />\r\n <img\r\n align=center\r\n src=\"https://img.shields.io/github/watchers/azaz-az/holiday-predictor?style=for-the-badge&logoColor=%231677ff&labelColor=rgb(89, 89, 89)&color=rgb(3, 126, 187)\"\r\n style=\"margin: 0 5px\"\r\n />\r\n <img\r\n align=center\r\n src=\"https://img.shields.io/github/forks/azaz-az/holiday-predictor?style=for-the-badge&logoColor=%231677ff&labelColor=rgb(89, 89, 89)&color=rgb(3, 126, 187)\"\r\n style=\"margin: 0 5px\"\r\n />\r\n</div>\r\n\r\n***\r\n\r\n\u7b80\u4f53\u4e2d\u6587 (\u4e2d\u56fd\u5927\u9646) / [English (US)](./README_en_us.md)\r\n\r\n***\r\n\r\n> [!WARNING]\r\n> \u6b64\u5c0f\u5de5\u5177\u4ec5\u7528\u4f5c\u5047\u671f\u5b89\u6392\u7684\u9884\u6d4b\uff0c\u4e0d\u4e00\u5b9a\u51c6\u786e\uff0c\u4ec5\u4f9b\u53c2\u8003\uff0c\u5e76\u4e0d\u5b8c\u5168\u4ee3\u8868\u5047\u671f\u5b89\u6392\u3002\r\n\r\n\u8fd9\u4e2a\u5c0f\u5de5\u5177\u53ef\u4ee5\u9884\u6d4b\u540e\u7eed\u56fd\u5e86\u3001\u5143\u65e6\u3001\u6e05\u660e\u3001\u7aef\u5348\u548c\u4e2d\u79cb\u7684\u653e\u5047\u5b89\u6392, \u4f8b\u5982\u4ec0\u4e48\u65f6\u5019\u653e\u5047\u3001\u4ec0\u4e48\u65f6\u5019\u8c03\u4f11\u3002\r\n\r\n\u672c\u4ed3\u5e93\u5728 GitHub \u4e0a\u5f00\u6e90\uff0c\u540c\u65f6\u5728 PyPI \u4e0a\u53d1\u5e03\u3002\r\n\r\n[![Click To GitHub Repo](https://img.shields.io/badge/click_to-github_repo-%2300fffd?style=for-the-badge)](https://github.com/azaz-az/holiday-predictor)\r\n[![Click To PyPI](https://img.shields.io/badge/click_to-pypi-%23fdda50?style=for-the-badge)](https://pypi.org/project/holiday-predictor/)\r\n\r\n\u8d21\u732e\u8005\u540d\u5355\uff1a\r\n\r\n[![Click To Contributors List](https://img.shields.io/badge/click_to-contributors_list-%2362ff7b?style=for-the-badge)](https://github.com/azaz-az/holiday-predictor/graphs/contributors)\r\n\r\n> [!TIP]\r\n> \u8fd9\u4e2a\u5c0f\u5de5\u5177\u8fd8\u53ef\u4ee5\u4f5c\u4e3a\u6a21\u5757\u5bfc\u5165.\r\n> \r\n> \u6a21\u5757\u5b89\u88c5\u65b9\u5f0f\uff1a\r\n> \r\n> ```\r\n> pip install holiday-predictor\r\n> ```\r\n> \u5728\u60a8\u7684\u9879\u76ee\u4e2d\u4f7f\u7528\uff1a\u60a8\u53ef\u4ee5\u5728\u60a8\u7684\u9879\u76ee\u4e2d\u4f7f\u7528\r\n> ```\r\n> import holiday_predictor\r\n> ```\r\n> \u6765\u5bfc\u5165\u672c\u6a21\u5757\u3002\r\n\r\n\u672c\u9879\u76ee\u4f7f\u7528\u4e86[zhdate](https://github.com/CutePandaSh/zhdate)\u6a21\u5757\u3002\u4f7f\u7528GPL3.0\u534f\u8bae\u5f00\u653e\u6e90\u4ee3\u7801\u3002\r\n\r\n***\r\n\r\n\u5982\u679c\u9047\u5230`ModuleNotFoundError`(Python 3.6+)\u6216`ImportError`(Python 3.5-), \u8bf7\u5148\u5b89\u88c5[zhdate](https://github.com/CutePandaSh/zhdate)\u6a21\u5757\u3002\r\n\r\n\u6b32\u5b89\u88c5[zhdate](https://github.com/CutePandaSh/zhdate)\u6a21\u5757\uff0c\u8bf7\u8fd0\u884c\u6b64\u547d\u4ee4\uff1a\r\n\r\n\r\n```\r\npip install zhdate\r\n```\r\n\r\n\u4ea6\u6216\u662f\u5728\u672c\u9879\u76ee\u76ee\u5f55\u4e0b\u8fd0\u884c\u6b64\u547d\u4ee4:\r\n\r\n```\r\npip install -r requirements.txt\r\n```\r\n\r\n\u7136\u540e\u518d\u8fd0\u884c\u672c\u7a0b\u5e8f\u3002\r\n\r\n***\r\n\r\n\u5982\u679c\u4ee5\u4e0a\u65b9\u5f0f\u65e0\u6cd5\u89e3\u51b3\u4f60\u7684\u95ee\u9898\uff0c\u8bf7\u5411\u6211\u4eec\u63d0\u4ea4 issue.\r\n",
"bugtrack_url": null,
"license": null,
"summary": "\u4e00\u4e2a\u9884\u6d4b\u4e2d\u56fd\u7684\u5047\u671f\u5b89\u6392\u7684\u5c0f\u5de5\u5177",
"version": "0.13.1",
"project_urls": {
"Homepage": "https://github.com/azaz-az/holiday-predictor"
},
"split_keywords": [
"holiday",
" predictor",
" holiday_predictor",
" chinese_holiday"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "06c06b5300feec3b8bab17e50395616d8c0aa4f1f8175d816307b511bba42b19",
"md5": "33f469c870a20baa8a3b449a6b8f7bc3",
"sha256": "219725f989f04111203ff7a405bc3980c73677507f40dffc9a18769a38ea1aec"
},
"downloads": -1,
"filename": "holiday_predictor-0.13.1.tar.gz",
"has_sig": false,
"md5_digest": "33f469c870a20baa8a3b449a6b8f7bc3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 18543,
"upload_time": "2024-06-29T03:53:35",
"upload_time_iso_8601": "2024-06-29T03:53:35.711196Z",
"url": "https://files.pythonhosted.org/packages/06/c0/6b5300feec3b8bab17e50395616d8c0aa4f1f8175d816307b511bba42b19/holiday_predictor-0.13.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-29 03:53:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "azaz-az",
"github_project": "holiday-predictor",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "holiday-predictor"
}