Skip to main content

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


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)

Uploaded Source

Built Distribution

shholiday-0.0.1-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

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