Scan your whole stack
Are you using holidays?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.110.dev20261123201640
holidays was last scanned on 23 Nov 2026 at version 0.110.dev20261123201640. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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.
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.
The documentation is hosted on Read the Docs.
Holiday calendars can be exported as .ics files via holidays-ics command line
tool,
or from the Download Holiday Calendars page.
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.
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_aliasescover only a subset of subdivisions - commonly used or officially recognized alternative names. Supported subdivisions and their aliases (where available) are listed in theSubdivisionscolumn 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:
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:
Issues and pull requests are always welcome. Please see CONTRIBUTING.md for more information.
Code and documentation are available according to the MIT License (see LICENSE).
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.