Scan your whole stack
Are you using japan-holidays?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.0
japan-holidays was last scanned on 28 Nov 2026 at version 1.0.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.0 LATEST | 28 Nov 2026 | No rules fired |
Findings for v1.0.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.0.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Japanese public holiday lookups for Python 3.9+ using bundled Cabinet Office data.
from datetime import date
from japan_holidays import get_holiday, get_holidays, get_holidays_for_month, is_holiday
for holiday in get_holidays(2026):
print(holiday.date, holiday.name, holiday.japanese_era_date)
get_holidays(2026, order="desc")
for holiday in get_holidays_for_month(2026, 5):
print(holiday.date, holiday.name, holiday.japanese_era_date)
get_holidays_for_month(2026, 5, order="desc")
holiday = get_holiday(2026, 11, 23)
if holiday is not None:
print(holiday.name, holiday.date, holiday.japanese_era_date)
get_holiday(2026, 11, 24) # None
is_holiday(date(2026, 11, 23)) # True
Year and month listings default to ascending date order and accept order="desc".
Daily lookups return a Holiday object. A covered day without a holiday returns None.
get_holiday takes a datetime.date or the integer year, month, and day as
positional arguments. Arguments of the wrong type, such as a string or a
datetime, raise TypeError. Invalid dates, months, orders, and uncovered years
raise ValueError.
Holiday objects contain name, date (datetime.date), and japanese_era_date
(for example, 令和8年1月1日). Use holiday.date.isoformat() for JSON dates.
Era year one is displayed as 元年.
See the documentation and the
source repository, and
the included NOTICE for the data source and terms.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.