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.1

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.1
File Size Uploaded Provenance Actions
ppalgannal-0.1.1.tar.gz 7.6 kB Without provenance Details for ppalgannal-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 17.7 kB

Release files / ppalgannal-0.1.1.tar.gz

Download URL ppalgannal-0.1.1.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
773b66a90c334566fb05c06968e27d76ebe343c772b3f8d19a25484b1e58effe
BLAKE2b-256 checksum
How to use checksums
e498f122729f7b279210812d07485c313757d7209d53e7751ab3265e0062745c
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.1-py3-none-any.whl

Download URL ppalgannal-0.1.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a5b795729d2df1016d1e4f89bdc5eaa5f55ce2bd8999054bb091ee3d04a60f6
BLAKE2b-256 checksum
How to use checksums
037c165fa54428966ccb4eebe2ac404fa5780f6393671d0b7ed5c801baf2c566
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.1

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.1 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