Skip to main content

Korean holidays, aka the red days. A lightweight, zero-dependency Python library for South Korean public and substitute holidays.

Installation

Requires Python 3.11+.

pip install ppalgannal

Quick Start

from datetime import date

from ppalgannal import get_holidays, is_holiday, is_holiday_today

# 1. Get all holidays for a year
for holiday in get_holidays(2027):
    print(
        holiday.date,
        holiday.name,
        "(Substitute)" if holiday.is_substitute else "",
    )

# 2. Check if a date is a holiday (accepts date or ISO string)
print(is_holiday("2027-01-01"))  # True (New Year's Day)
print(is_holiday("2027-02-09"))  # True (Seollal Substitute Holiday)
print(is_holiday(date(2027, 5, 5)))  # True (Children's Day)
print(is_holiday(date(2027, 5, 3)))  # True (Labor Day Substitute Holiday)

# 3. Check if today is a holiday in Korea (KST)
if is_holiday_today():
    print("Today is a holiday!")

Metadata

Release files for ppalgannal 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ppalgannal 0.1.0
File Size Uploaded Provenance Actions
ppalgannal-0.1.0.tar.gz 7.6 kB Without provenance Details for ppalgannal-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ppalgannal 0.1.0
File Interpreter ABI Platform Actions
ppalgannal-0.1.0-py3-none-any.whl Python 3 none any Details for ppalgannal-0.1.0-py3-none-any.whl

Total release size: 17.8 kB

Release files / ppalgannal-0.1.0.tar.gz

Download URL ppalgannal-0.1.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b64132849975090414e30432c147bccd1125dab7e50cb44138e3e783201aa4d9
BLAKE2b-256 checksum
How to use checksums
03f90d2b53a108b6c7735f348849814a1d6267ef999d831f51efa3d847d41d9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ppalgannal-0.1.0-py3-none-any.whl

Download URL ppalgannal-0.1.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22f101e9e1e099ae98f996db9a8c93d7c59c95a2241d0dcbbe0fcdd369a2183f
BLAKE2b-256 checksum
How to use checksums
c358f07f983e63cd8a336dc04315b9dd6144e287431bcf423f51dca2bb8ef9cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ppalgannal 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page