holidays
Open World Holidays Framework
Install
holidays on PyPI
pip
pip install holidaysuv
uv add holidayspoetry
poetry add holidaysPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — python-dateutil |
| Maintenance | actively maintained — 10 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: holidays-0.102-py3-none-any.whl
Keywords: calendar, holidays, l10n, vacation, worldwide
About holidays
from the package's own PyPI description — quoted content, verbatim
Holidays
A fast, efficient Python library for generating country- and subdivision- (e.g. state or province) specific sets of government-designated holidays on the fly. It aims to make determining whether a specific date is a holiday as fast and flexible as possible.
<!-- markdownlint-disable MD033 --> <table> <tr> <td>PyPI</td> <td> <a href="https://pypi.org/project/holidays"><img src="https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fvacanza%2Faux%2Frefs%2Fheads%2Fmain%2Fbadges%2Fdownloads%2Fpepy.tech.yaml&query=%24.previous_month_downloads_human&suffix=%2Fmonth&style=flat&label=downloads&color=41B5BE&cacheSeconds=86400" alt="PyPI monthly downloads"></a> <a href="https://pypi.org/project/holidays"><img src="https://img.shields.io/pypi/v/holidays?color=41B5BE&label=version&style=flat" alt="PyPI version"></a> <a href="https://github.com/vacanza/holidays/releases"><img src="https://img.shields.io/github/release-date/vacanza/holidays?color=41B5BE&style=flat" alt="Latest release date"></a> </td> </tr> <tr> <td>CI/CD</td> <td> <a...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Generates country- and subdivision-specific holiday calendars on demand, enabling fast lookups to determine whether a given date is a government-designated holiday.
Installs cleanly with a single lightweight runtime dependency (python-dateutil). Actively maintained with a release 10 days old and recent commits; supports Python 3.10–3.14.
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial contexts.
Usage
pip install holidays
import holidays
from datetime import date
us_holidays = holidays.US()
print(date(2015, 1, 1) in us_holidays) # True
print(us_holidays.get('2015-01-01')) # "New Year's Day"
Verdict: Well-maintained, permissively licensed library with no known vulnerabilities, minimal install friction, and broad country/subdivision coverage. Suitable for production use in scheduling, financial, and calendar applications.
Needs verification
- Performance characteristics for large date ranges or frequent lookups across many countries
- Completeness and accuracy of holiday data for all 250 supported country codes
Similar packages
permissive · top 100 on PyPI
pycountrycopyleft · top 1,000 on PyPI
plotlypermissive · top 1,000 on PyPI
streamlitpermissive · top 1,000 on PyPI
textualpermissive · top 100 on PyPI
supabasepermissive · top 1,000 on PyPI
mlflowpermissive · top 1,000 on PyPI
mlflow-skinnypermissive · top 1,000 on PyPI
youtube-transcript-apipermissive · top 1,000 on PyPI
ruamel.yaml.clibpermissive · top 1,000 on PyPI