Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/vacanza/holidays
/ types & classes
Types & classes
1,434 in github.com/vacanza/holidays
⨍
Functions
7,727
◇
Types & classes
1,434
↳
Endpoints
6
↓ 71 callers
Class
CountryStub1
tests/test_holiday_base.py:69
↓ 67 callers
Class
ObservedRule
A mapping from weekday numbers to day-shift offsets used to resolve observed dates. Keys are weekday constants (`MON`-`SUN` from `holidays.calend
holidays/observed_holiday_base.py:19
↓ 27 callers
Class
IcsGenerator
holidays/generate_ics.py:27
↓ 20 callers
Class
ICalExporter
holidays/ical.py:35
↓ 19 callers
Class
Germany
Germany holidays. References: * <https://de.wikipedia.org/wiki/Feiertag_(Deutschland)> * <https://en.wikipedia.org/wiki/Public_ho
holidays/countries/germany.py:31
↓ 10 callers
Class
HongKong
Hong Kong holidays. References: * [English Wikipedia](https://en.wikipedia.org/wiki/Public_holidays_in_Hong_Kong) * [Chinese Wiki
holidays/countries/hongkong.py:46
↓ 9 callers
Class
CountryStub2
tests/test_holiday_base.py:95
↓ 9 callers
Class
Guatemala
Guatemala holidays. References: * <https://web.archive.org/web/20240419130706/http://www.bvnsa.com.gt/bvnsa/calendario_dias_festivos.php>
holidays/countries/guatemala.py:21
↓ 9 callers
Class
HolidayBase
Represent a dictionary-like collection of holidays for a specific country or region. This class inherits from `dict` and maps holiday dates to th
holidays/holiday_base.py:59
↓ 8 callers
Class
UnitedStates
United States of America (the) holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_the_United_States> * <ht
holidays/countries/united_states.py:56
↓ 6 callers
Class
Montenegro
Montenegro holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Montenegro> * [Zakon o državnim i drugim pra
holidays/countries/montenegro.py:29
↓ 6 callers
Class
SaintKittsAndNevis
Saint Kitts and Nevis holidays. References: * <https://web.archive.org/web/20240725043444/https://lawcommission.gov.kn/wp-content/documen
holidays/countries/saint_kitts_and_nevis.py:19
↓ 5 callers
Class
Argentina
Argentina holidays. References: * <https://es.wikipedia.org/wiki/Anexo:Días_festivos_en_Argentina> * [Decree-Law 2446](https://we
holidays/countries/argentina.py:33
↓ 5 callers
Class
CalendarGenerator
Generate calendar data mappings with precomputed holiday dates.
scripts/calendar/generator.py:31
↓ 5 callers
Class
CountryStub3
tests/test_holiday_base.py:104
↓ 5 callers
Class
Moldova
Moldova holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Moldova> * <https://archive.org/details/httpsww
holidays/countries/moldova.py:21
↓ 5 callers
Class
NewZealand
New Zealand holidays.
holidays/countries/new_zealand.py:25
↓ 4 callers
Class
France
France holidays. References: * <https://fr.wikipedia.org/wiki/Fêtes_et_jours_fériés_en_France> * <https://web.archive.org/web/202
holidays/countries/france.py:19
↓ 4 callers
Class
IceFuturesEurope
ICE Futures Europe holidays. References: * <https://web.archive.org/web/20241203121313/https://www.ice.com/publicdocs/futures/Trading_Sch
holidays/financial/ice_futures_europe.py:17
↓ 4 callers
Class
MarketStub1
tests/test_holiday_base.py:139
↓ 4 callers
Class
MockHolidays
tests/test_ical.py:25
↓ 4 callers
Class
Thailand
Thailand holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Thailand> * [Holidays Act (MAR 1914)](https://
holidays/countries/thailand.py:46
↓ 3 callers
Class
India
India holidays. References: * <https://web.archive.org/web/20250413193616/https://www.india.gov.in/calendar> * <https://web.archi
holidays/countries/india.py:28
↓ 3 callers
Class
Togo
Togo holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Togo> * <https://web.archive.org/web/2025050712311
holidays/countries/togo.py:22
↓ 3 callers
Class
Ukraine
Ukraine holidays. References: * [Labor Code of Ukraine, Art. 73](https://web.archive.org/web/20240607021920/https://zakon1.rada.gov.ua/la
holidays/countries/ukraine.py:24
↓ 3 callers
Class
_ChineseLunisolar
holidays/calendars/chinese.py:30
↓ 2 callers
Class
Azerbaijan
Azerbaijan holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Azerbaijan> * <https://az.wikipedia.org/wiki
holidays/countries/azerbaijan.py:27
↓ 2 callers
Class
Bulgaria
Bulgaria holidays. References: * [Labor Code](https://web.archive.org/web/20250402193136/https://lex.bg/laws/ldoc/1594373121) * [
holidays/countries/bulgaria.py:28
↓ 2 callers
Class
CountryStub1
tests/test_utils.py:245
↓ 2 callers
Class
CountryStub5
tests/test_utils.py:284
↓ 2 callers
Class
CustomDateType
tests/test_holiday_base.py:780
↓ 2 callers
Class
Egypt
Egypt holidays. References: * <https://ar.wikipedia.org/wiki/قائمة_العطل_الرسمية_في_مصر> * <https://en.wikipedia.org/wiki/Public_
holidays/countries/egypt.py:30
↓ 2 callers
Class
EuropeanCentralBank
European Central Bank holidays. References: * <https://en.wikipedia.org/wiki/TARGET2> * <https://web.archive.org/web/202406152200
holidays/financial/european_central_bank.py:18
↓ 2 callers
Class
Finland
Finland holidays. Official Flag Days are included in the `WORKDAY` category, while Customary Flag Days are included in `UNOFFICIAL` category.
holidays/countries/finland.py:21
↓ 2 callers
Class
Macau
Macau holidays. References: * [Decreto-Lei n.º 4/82/M](https://web.archive.org/web/20250422171106/https://bo.io.gov.mo/bo/i/82/04/declei0
holidays/countries/macau.py:32
↓ 2 callers
Class
Micronesia
Micronesia holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_the_Federated_States_of_Micronesia> * <https
holidays/countries/micronesia.py:19
↓ 2 callers
Class
Myanmar
Myanmar holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Myanmar> * <https://my.wikipedia.org/wiki/မြန်မ
holidays/countries/myanmar.py:28
↓ 2 callers
Class
NationalStockExchangeOfIndia
National Stock Exchange of India (NSE) holidays. References: * <https://web.archive.org/web/20250821175252/https://www.nseindia.com/resou
holidays/financial/national_stock_exchange_of_india.py:26
↓ 2 callers
Class
Nepal
Nepal holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Nepal> * <https://web.archive.org/web/20250422191
holidays/countries/nepal.py:28
↓ 2 callers
Class
Nicaragua
Nicaragua holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Nicaragua> * <https://web.archive.org/web/202
holidays/countries/nicaragua.py:19
↓ 2 callers
Class
NorthMacedonia
North Macedonia holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_North_Macedonia> * [Law on Holidays 21/
holidays/countries/north_macedonia.py:41
↓ 2 callers
Class
Norway
Norway holidays. References: * <https://web.archive.org/web/20250102052441/https://lovdata.no/dokument/NL/lov/1947-04-26-1> * <ht
holidays/countries/norway.py:20
↓ 2 callers
Class
Panama
Panama holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Panama> * [Labor Code 1947](https://web.archive.
holidays/countries/panama.py:21
↓ 2 callers
Class
Portugal
Portugal holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Portugal> * [Labour Day](https://web.archive.o
holidays/countries/portugal.py:20
↓ 2 callers
Class
PuertoRico
Puerto Rico holidays. Alias of a US subdivision that is also officially assigned its own country code in ISO 3166-1. See <https://en.wikipedi
holidays/countries/puerto_rico.py:17
↓ 2 callers
Class
SaoTomeAndPrincipe
Sao Tome and Principe holidays. References: * <https://web.archive.org/web/20190319201800/http://www.mnec.gov.st/index.php/o-pais?showall
holidays/countries/sao_tome_and_principe.py:19
↓ 2 callers
Class
Spain
Spain holidays. References: * <https://web.archive.org/web/20230307043804/https://administracion.gob.es/pag_Home/atencionCiudadana/calend
holidays/countries/spain.py:26
↓ 2 callers
Class
SriLanka
Sri Lanka holidays. References: * [No. 29 of 1971 (Holidays Act)](https://web.archive.org/web/20250315041521/http://www.commonlii.org/lk/
holidays/countries/sri_lanka.py:43
↓ 2 callers
Class
Sweden
Sweden holidays. References: * <https://sv.wikipedia.org/wiki/Helgdagar_i_Sverige> * <https://en.wikipedia.org/wiki/Public_holida
holidays/countries/sweden.py:28
↓ 2 callers
Class
Taiwan
Taiwan holidays. References: * <https://zh.wikipedia.org/wiki/中華民國節日與歲時列表> * <https://en.wikipedia.org/wiki/Public_holidays_in_Ta
holidays/countries/taiwan.py:52
↓ 2 callers
Class
Tuvalu
Tuvalu holidays. References: * [Public holidays in Tuvalu](https://en.wikipedia.org/wiki/Public_holidays_in_Tuvalu) * [Today's an
holidays/countries/tuvalu.py:23
↓ 2 callers
Class
UA
holidays/countries/ukraine.py:160
↓ 2 callers
Class
US
holidays/countries/united_states.py:1656
↓ 2 callers
Class
UnitedKingdom
United Kingdom holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_the_United_Kingdom> * <https://archive.o
holidays/countries/united_kingdom.py:25
↓ 2 callers
Class
Yemen
Yemen holidays. References: * [Presidential Decree Law No. (8) of 1996](https://web.archive.org/web/20230905142654/http://yemen-nic.info/
holidays/countries/yemen.py:23
↓ 2 callers
Class
_BurmeseLunisolar
Burmese Lunisolar calendar. References: * [Algorithm, Program and Calculation of Myanmar Calendar](https://web.archive.org/web/2025051001
holidays/calendars/burmese.py:22
↓ 2 callers
Class
_Persian
Persian calendar (Solar Hijri) for 1901-2100 years. https://en.wikipedia.org/wiki/Solar_Hijri_calendar
holidays/calendars/persian.py:18
↓ 1 callers
Class
AlandIslands
Åland Islands holidays. Alias of a Finnish subdivision that is also officially assigned its own country code in ISO 3166-1. !!! note "No
holidays/countries/aland_islands.py:17
↓ 1 callers
Class
Armenia
Armenia holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Armenia> * [Law HO-37 of Mar 16, 1996](https://
holidays/countries/armenia.py:22
↓ 1 callers
Class
Australia
Australia holidays. References: * ACT: * [ACT Holidays Act 1958](https://web.archive.org/web/20250322061953/https://www.legis
holidays/countries/australia.py:37
↓ 1 callers
Class
Belarus
Belarus holidays. References: * <https://web.archive.org/web/20250415105200/https://president.gov.by/en/gosudarstvo/prazdniki> *
holidays/countries/belarus.py:22
↓ 1 callers
Class
Benin
Benin holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Benin> * [Order 71-14](https://web.archive.org/we
holidays/countries/benin.py:20
↓ 1 callers
Class
BrasilBolsaBalcao
Brasil, Bolsa, Balcão holidays. References: * [Decreto n. 155-B, de 14.01.1890](https://web.archive.org/web/20241226133739/https://www2.c
holidays/financial/brasil_bolsa_balcao.py:19
↓ 1 callers
Class
Canada
Canada holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Canada> * <https://web.archive.org/web/201307030
holidays/countries/canada.py:29
↓ 1 callers
Class
Chile
Chile holidays. References: * <https://web.archive.org/web/20250718012109/https://www.feriados.cl/> * [Excellent history of Chile
holidays/countries/chile.py:29
↓ 1 callers
Class
China
China holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_China> * [Festivals and Public Holidays](https://
holidays/countries/china.py:21
↓ 1 callers
Class
ChristianHolidays
Christian holidays.
holidays/groups/christian.py:23
↓ 1 callers
Class
CountryStub2
tests/test_utils.py:256
↓ 1 callers
Class
CountryStub3
tests/test_utils.py:265
↓ 1 callers
Class
CountryStub4
tests/test_holiday_base.py:113
↓ 1 callers
Class
CountryStub4
tests/test_utils.py:274
↓ 1 callers
Class
CountryStub5
tests/test_holiday_base.py:118
↓ 1 callers
Class
CountryStub6
tests/test_holiday_base.py:126
↓ 1 callers
Class
Curacao
Curaçao holidays. References: * [Arbeidsregeling 2000](https://web.archive.org/web/20250625071823/https://lokaleregelgeving.overheid.nl/C
holidays/countries/curacao.py:25
↓ 1 callers
Class
CustomHolidays
tests/test_holiday_base.py:717
↓ 1 callers
Class
EntityLoader
Country and financial holidays entities lazy loader.
holidays/registry.py:309
↓ 1 callers
Class
Estonia
Estonia holidays. References: * <https://et.wikipedia.org/wiki/Eesti_riigipühad> * <https://en.wikipedia.org/wiki/Public_holidays
holidays/countries/estonia.py:20
↓ 1 callers
Class
Fiji
Fiji holidays. References: * <https://web.archive.org/web/20250421221329/https://www.laws.gov.fj/Acts/DisplayAct/2910> * <https:/
holidays/countries/fiji.py:30
↓ 1 callers
Class
GuineaBissau
Guinea-Bissau holidays. References: * [Ley núm. 7/2022, de 18 de julio, que aprueba el Código del Trabajo](https://archive.org/details/74
holidays/countries/guinea_bissau.py:20
↓ 1 callers
Class
HolidaySum
Combine multiple holiday collections into a single dictionary-like object. This class represents the sum of two or more [`HolidayBase`][holi
holidays/holiday_base.py:1364
↓ 1 callers
Class
Kazakhstan
Kazakhstan holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Kazakhstan> * <https://web.archive.org/web/2
holidays/countries/kazakhstan.py:27
↓ 1 callers
Class
Kenya
Kenya holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Kenya> * [Public Holidays Act Cap. 110](https://w
holidays/countries/kenya.py:28
↓ 1 callers
Class
Korea
holidays/countries/south_korea.py:294
↓ 1 callers
Class
Kyrgyzstan
Kyrgyzstan holidays. References: * [Law 430-XII from Apr 19, 1991](https://cbd.minjust.gov.kg/4-4972/edition/506328/ru) * [Labor
holidays/countries/kyrgyzstan.py:35
↓ 1 callers
Class
Lebanon
Lebanon holidays. References: * [Decree No. 35 of 1977](https://web.archive.org/web/20250704170408/http://legiliban.ul.edu.lb/LawArticles
holidays/countries/lebanon.py:23
↓ 1 callers
Class
Libya
Libya holidays. References: * [Law No. 4 of 1987](https://web.archive.org/web/20250629084625/https://lawsociety.ly/legislation/قانون-رقم-
holidays/countries/libya.py:22
↓ 1 callers
Class
LocalizationHelper
scripts/l10n/l10n_helper.py:28
↓ 1 callers
Class
Mali
Mali holidays. References: * [Ordinance no. 54 of 1960](https://web.archive.org/web/20250619193041/https://sgg-mali.ml/JO/1960/mali-jo-19
holidays/countries/mali.py:21
↓ 1 callers
Class
MarketStub2
tests/test_holiday_base.py:143
↓ 1 callers
Class
Mauritius
Mauritius holidays. References: * [Public Holidays Act Consolidated 1991](https://web.archive.org/web/20250618211720/https://natlex.ilo.o
holidays/countries/mauritius.py:28
↓ 1 callers
Class
Netherlands
Netherlands holidays. Easter Sunday and Whit Sunday are always on Sunday and are therefore not mentioned separately in the Algemene termijnen
holidays/countries/netherlands.py:20
↓ 1 callers
Class
NewYorkStockExchange
New York Stock Exchange holidays. References: * [NYSE Rules](https://web.archive.org/web/20240118104341/https://www.nyse.com/publicdocs/n
holidays/financial/ny_stock_exchange.py:38
↓ 1 callers
Class
ObservedHolidayBase
Extend [`HolidayBase`][holidays.holiday_base.HolidayBase] with support for observed holiday dates. When a public holiday falls on a weekend o
holidays/observed_holiday_base.py:120
↓ 1 callers
Class
Oman
Oman holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Oman> * [Independence](https://web.archive.org/web
holidays/countries/oman.py:36
↓ 1 callers
Class
Pakistan
Pakistan holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Pakistan> * <https://ur.wikipedia.org/wiki/تعط
holidays/countries/pakistan.py:21
↓ 1 callers
Class
Palau
Palau holidays. References: * [Chapter 7, Holidays](https://web.archive.org/web/20250130144425/http://www.paclii.org/pw/legis/consol_act/
holidays/countries/palau.py:19
↓ 1 callers
Class
Philippines
Philippines holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_the_Philippines> * [Revised Administrative
holidays/countries/philippines.py:28
↓ 1 callers
Class
ReleaseNotesGenerator
Generates release notes based on local git commits and GitHub PRs metadata. Usage example: scripts/generate_release_notes.py
scripts/generate_release_notes.py:39
↓ 1 callers
Class
Rwanda
Rwanda holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Rwanda> * [Presidential Order N° 06/01 of 16/02/
holidays/countries/rwanda.py:31
↓ 1 callers
Class
Senegal
Senegal holidays. References: * <https://en.wikipedia.org/wiki/Public_holidays_in_Senegal> * [Law 63-51](https://web.archive.org/
holidays/countries/senegal.py:26
next →
1–100 of 1,434, ranked by callers