a calendar about china
Project description
china-calendar
a calendar about china
判断某一天是否为工作日或者是法定节假日,仅适用于中国
安装
pip install china-calendar
使用示例:
import china_calendar
# 清明节
assert china_calendar.is_holiday('2024-04-04') == True
assert china_calendar.is_workday('2024-04-04') == False
类似的库:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
china-calendar-1.0.1.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file china-calendar-1.0.1.tar.gz.
File metadata
- Download URL: china-calendar-1.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76443ed5bc79f96ed847925d9a401ce17391d8f96c5068a52b28aa4da26a3be0
|
|
| MD5 |
e6377702e692b0677bc06061060cdadc
|
|
| BLAKE2b-256 |
860af04271102a331c64a9f57fa0b67455280470e7e4dac93e30a1c7eee6d273
|
File details
Details for the file china_calendar-1.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: china_calendar-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbaaf1d07b65b48a04bc61f79d89c1c8c3ecb8a7e86ac7f3bc95b5f6d5a7fef9
|
|
| MD5 |
3ca4b01afc62f8c576ba1d8f17efd2a9
|
|
| BLAKE2b-256 |
d19bed6f0f70a136e52a882b2aac4259a2a1957210fa69a2d759e8926580695e
|