Metadata-Version: 2.1
Name: cnholiday
Version: 0.1.1a0
Summary: 查询某天是否放假
Home-page: https://github.com/ringsaturn/cnholiday
Author: ringsaturn
Author-email: ringsaturn.me@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: pre-commit (>=1.20,<2.0)
Project-URL: Documentation, https://ringsaturn.github.io/cnholiday/
Project-URL: Repository, https://github.com/ringsaturn/cnholiday
Description-Content-Type: text/markdown

# CNHoliday: 查询某天是否放假

数据来源: <http://www.gov.cn/zhengce/content/2018-12/06/content_5346276.htm>

用法：

```python
from cnholiday import CNHoliday


cnholiday = CNHoliday()
_day = datetime(2019, 10, 1)
print(cnholiday.check(_day))
print(cnholiday.check_shift(_day))
print(cnholiday.check_shift(_day, shift=2))
print(cnholiday.check_shift(_day, shift=3))
```

