Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

holidays

Latest version: v0.110.dev20261123201640

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: arkid15r, dr-prodigy, jhellico
1,994 Stars
781 Forks
95 Versions
31.7M Downloads
Python Repo language

Scan summary

holidays was last scanned on 23 Nov 2026 at version 0.110.dev20261123201640. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 95 versions; the latest 5 were published within 2 days (22 and 23 Nov 2026).
  • Findings: No rules fired in version 0.110.dev20261123201640.
  • Downloads: 31,701,331 downloads.

Versions

95 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.110.dev20261123201640 LATEST 23 Nov 2026 No rules fired
0.110.dev20261123021027 23 Nov 2026 No rules fired
0.110.dev20261123020628 23 Nov 2026 No rules fired
0.110.dev20261122182046 22 Nov 2026 Not shown
0.110.dev20261122165353 22 Nov 2026 Not shown

No rules fired in 0.110.dev20261123201640

Findings

Findings for v0.110.dev20261123201640. 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 0.110.dev20261123201640; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

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.

Install

The latest stable version can always be installed or updated via pip:

pip install --upgrade holidays

The latest pre-release version can always be installed or updated via pip:

pip install --upgrade --pre holidays

All new features are first pushed to the dev branch and published as PyPI pre-releases, then released from main on official version upgrades. We normally follow a release schedule, typically on the 1st and 3rd Tuesday of each month.

On dev, the VERSION file holds the upcoming stable version (for example 0.103). Pre-release publishes append a UTC timestamp in CI only (0.103.devYYYYMMDDHHMMSS); that .dev form is what appears on PyPI and is not committed back to the repository.

Documentation

The documentation is hosted on Read the Docs.

ICS Exports

Holiday calendars can be exported as .ics files via holidays-ics command line tool, or from the Download Holiday Calendars page.

Quick Start

from datetime import date
import holidays

us_holidays = holidays.US()  # this is a dict-like object
# the below is the same, but takes a string:
us_holidays = holidays.country_holidays("US")  # this is a dict-like object

nyse_holidays = holidays.NYSE()  # this is a dict-like object
# the below is the same, but takes a string:
nyse_holidays = holidays.financial_holidays("NYSE")  # this is a dict-like object

date(2015, 1, 1) in us_holidays  # True
date(2015, 1, 2) in us_holidays  # False
us_holidays.get("2014-01-01")  # "New Year's Day"

The HolidayBase dict-like class will also recognize date strings and Unix timestamps:

"2014-01-01" in us_holidays  # True
"1/1/2014" in us_holidays  # True
1388597445 in us_holidays  # True

Some holidays may be only present in parts of a country:

us_pr_holidays = holidays.country_holidays("US", subdiv="PR")
"2018-01-06" in us_holidays  # False
"2018-01-06" in us_pr_holidays  # True

Please see the holidays documentation for additional examples and detailed information.

Available Countries

We currently support 250 country codes, which primarily follow ISO 3166-1, with a small number of widely used user-assigned or reserved codes (for example, XK for Kosovo). In general, the standard way to refer to a country is by using its ISO 3166-1 alpha-2 code, the same used for domain names, and for a subdivision its ISO 3166-2 code. Some countries have common or foreign names or abbreviations as aliases for their subdivisions. These are defined in the (optional) subdivisions_aliases attribute.

[!note] Subdivisions aliases

Aliases are optional. When present, subdivisions_aliases cover only a subset of subdivisions - commonly used or officially recognized alternative names. Supported subdivisions and their aliases (where available) are listed in the Subdivisions column of the table below.

Some of the countries support more than one language for holiday names output. A default language is defined by default_language (optional) attribute for each entity and is used as a fallback when neither user specified language nor user locale language available. The default language code is a ISO 639-1 code. A list of all languages supported by country is defined by supported_languages (optional) attribute. If there is no designated ISO 639-1 code then ISO 639-2 code can be used.

Many countries have other categories of holidays in addition to common (national-wide) holidays: bank holidays, school holidays, additional (paid or non-paid) holidays, holidays of state or public employees, religious holidays (valid only for these religions followers). A list of all categories supported by country is defined by supported_categories (optional) attribute.

The following is a list of supported countries, their subdivisions followed by their aliases (if any) in brackets, available languages and additional holiday categories. All countries support PUBLIC holidays category by default. All other default values are highlighted with bold:

Available Financial Markets

The standard way to refer to a financial market is to use its ISO 10383 MIC (Market Identifier Code) as a "market" code when available. The following financial markets are available:

Contributions

Issues and pull requests are always welcome. Please see CONTRIBUTING.md for more information.

License

Code and documentation are available according to the MIT License (see LICENSE).

OX Radar and Response Center

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.

Where it’s listed

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

  • pypi-releases holidays

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229