Skip to main content

Chinese holiday for Python

Project description

Utility from parsing Chinese holiday from official website

Chinese 中文


pip install Chinese-holiday


Check if one day is a holiday (including normal weekend, not including working weekend)


Search url for notice of 2020 holiday


Parse holiday info from url


Return holiday data from cache


Forcely return holiday data from website

get_holiday_data('2020', True)


The utility will cache parsed result into holiday.json, you can use is_holiday('2019-10-10', True) to forcely refresh it.

Project details

Download files

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

Files for Chinese-holiday, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size Chinese-holiday-0.1.5.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page