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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file shholiday-0.0.1.tar.gz.

File metadata

  • Download URL: shholiday-0.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.2

File hashes

Hashes for shholiday-0.0.1.tar.gz
Algorithm Hash digest
SHA256 52d1954acd726daa8e6391b28faf16d389b347ed3b446c3bd5912f925eb49a6c
MD5 e2bb05212e6d9d06adfac02d3fd47ab9
BLAKE2b-256 c4c00000cdfde7d2384478626e4905b44ae73746d5598ee52b4e8a07b34223b6

See more details on using hashes here.

File details

Details for the file shholiday-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: shholiday-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.2

File hashes

Hashes for shholiday-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 468bbe99ad24dad8b99ae62ab1a95a7a3d57ad9f763961d17ae90326320f324c
MD5 974691f1a551d9caae04617777a9920a
BLAKE2b-256 22a8547b76435ebae12b76ac8e0d4cdee6b6fff2645a3422a1d348f6b23659f9

See more details on using hashes here.

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