Skip to main content

一个预测中国的假期安排的小工具

Project description

Holiday Predictor / 假期预测器


简体中文 (中国大陆) / English (US)


[!WARNING] 此小工具仅用作假期安排的预测,不一定准确,仅供参考,并不完全代表假期安排。

这个小工具可以预测后续国庆、元旦、清明、端午和中秋的放假安排, 例如什么时候放假、什么时候调休。

本仓库在 GitHub 上开源,同时在 PyPI 上发布。

Click To GitHub Repo Click To PyPI

贡献者名单:

Click To Contributors List

[!TIP] 这个小工具还可以作为模块导入.

模块安装方式:

pip install holiday-predictor

在您的项目中使用:您可以在您的项目中使用

import holiday_predictor

来导入本模块。

本项目使用了zhdate模块。使用GPL3.0协议开放源代码。


如果遇到ModuleNotFoundError(Python 3.6+)或ImportError(Python 3.5-), 请先安装zhdate模块。

欲安装zhdate模块,请运行此命令:

pip install zhdate

亦或是在本项目目录下运行此命令:

pip install -r requirements.txt

然后再运行本程序。


如果以上方式无法解决你的问题,请向我们提交 issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

holiday_predictor-1.0.0.tar.gz (18.6 kB view details)

Uploaded Source

File details

Details for the file holiday_predictor-1.0.0.tar.gz.

File metadata

  • Download URL: holiday_predictor-1.0.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for holiday_predictor-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7b3c1b24279df5ca7cff99a66f2b98fd1439e75144587ac6f23faa692089d8f1
MD5 42454ccb7ee9f3ce2881939be6d82611
BLAKE2b-256 ecb43c80bb2865a9b07a1e1d78efa89c921c6f8a783dea5b532da9f2a1fc3930

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page