Check if the current date is a holiday in Korea.
Project description
Use
- pip install
#pip install shholiday
- Temporary use
from shholiday import holiday2020
daytuple = (1,1) # 1월 1일이 휴일인지 확인하고 싶을 때
nowholiday = holiday2020()
print(nowholiday.is_holiday(daytuple))
- Check if today's date is a holiday
from shholiday import holiday2020
from datetime import datetime
now = datetime.now()
daytuple = (str(now.month),str(now.day))
nowholiday = holiday2020()
print(nowholiday.is_holiday(daytuple))
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
shholiday-0.0.1.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for shholiday-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 468bbe99ad24dad8b99ae62ab1a95a7a3d57ad9f763961d17ae90326320f324c |
|
MD5 | 974691f1a551d9caae04617777a9920a |
|
BLAKE2b-256 | 22a8547b76435ebae12b76ac8e0d4cdee6b6fff2645a3422a1d348f6b23659f9 |