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


Release history Release notifications

Download files

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

Files for shholiday, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size shholiday-0.0.1-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size shholiday-0.0.1.tar.gz (1.7 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