Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/vacanza/holidays
/ functions
Functions
7,727 in github.com/vacanza/holidays
⨍
Functions
7,727
◇
Types & classes
1,434
↳
Endpoints
6
↓ 4 callers
Method
_add_mid_autumn_festival_day_two
Add Mid Autumn Festival Day Two (16th day of the 8th lunar month). The Mid-Autumn Festival, also known as the Moon Festival or
holidays/groups/chinese.py:275
↓ 4 callers
Method
_add_observed
(self, dt: date, **kwargs)
holidays/countries/jersey.py:62
↓ 4 callers
Method
_add_observed
(self, dt, name, rule)
holidays/countries/israel.py:52
↓ 4 callers
Method
_add_ram_navami
Add Ram Navami. Ram Navami is a Hindu festival celebrating the birth of Lord Rama. It is observed on the ninth day of the Hi
holidays/groups/hindu.py:434
↓ 4 callers
Method
_add_special_holidays
Add special holidays.
holidays/holiday_base.py:852
↓ 4 callers
Method
_assert_valid_language_code
(self, language_name)
tests/test_ical.py:89
↓ 4 callers
Method
_get_leap_month
Return the number of the leap month if one exists in the year, otherwise 15.
scripts/calendar/asian_generator.py:275
↓ 4 callers
Method
_is_monday
(self, *args)
holidays/holiday_base.py:901
↓ 4 callers
Method
elapsed_days
(year: int)
scripts/calendar/hebrew_generator.py:67
↓ 4 callers
Method
get_country_codes
Get supported country codes. :param include_aliases: Whether to include entity aliases (e.g. GBR and UK for GB, UKR f
holidays/registry.py:379
↓ 4 callers
Method
get_financial_codes
Get supported financial codes. :param include_aliases: Whether to include entity aliases (e.g. B3 for BVMF, TAR for E
holidays/registry.py:389
↓ 4 callers
Method
parse_years
(years: str)
holidays/generate_ics.py:65
↓ 4 callers
Method
stderr
()
tests/test_generate_ics.py:42
↓ 4 callers
Method
thingyan_dates
Calculate key dates of Thingyan (Myanmar New Year festival) - Akya day and Atat day. Args: year: Greg
holidays/calendars/burmese.py:139
↓ 4 callers
Method
validate_subdiv
(self)
holidays/generate_ics.py:106
↓ 3 callers
Method
__is_ethiopian_calendar
Return True if `calendar` is Ethiopian calendar. Return False otherwise.
holidays/groups/christian.py:58
↓ 3 callers
Method
__is_julian_calendar
Return True if `calendar` is Julian calendar. Return False otherwise.
holidays/groups/christian.py:74
↓ 3 callers
Method
__is_khmer_calendar
Check if the given calendar is the Khmer calendar. Args: calendar: The calendar identifier to check. Ret
holidays/calendars/thai.py:277
↓ 3 callers
Method
_add_buddha_purnima
Add Buddha Purnima. Buddha Purnima, also known as Vesak, commemorates the birth, enlightenment, and passing of Gautama Buddh
holidays/groups/hindu.py:97
↓ 3 callers
Method
_add_chinese_new_years_day_four
Add Chinese New Year's Day Four. https://en.wikipedia.org/wiki/Chinese_New_Year
holidays/groups/chinese.py:157
↓ 3 callers
Method
_add_dongzhi_festival
Add Dongzhi Festival (22nd solar term, Winter Solstice). The Dongzhi Festival or Winter Solstice Festival is a traditional C
holidays/groups/chinese.py:189
↓ 3 callers
Method
_add_eastern_calendar_holiday_set
Add Eastern (Buddhist, Chinese, Hindu, Islamic, Mongolian) calendar holidays. Adds customizable estimation label to holiday name if
holidays/groups/eastern.py:52
↓ 3 callers
Method
_add_ganesh_chaturthi
Add Ganesh Chaturthi. Ganesh Chaturthi is a Hindu festival celebrating the birth of Lord Ganesha. It falls on the fourth day
holidays/groups/hindu.py:152
↓ 3 callers
Method
_add_islamic_observed
(self, dt: date)
holidays/countries/saudi_arabia.py:67
↓ 3 callers
Method
_add_nowruz_day
Add Nowruz Day (1st day of the 1st month). Nowruz (Iranian or Persian New Year) is a festival based on the Iranian Solar Hijri
holidays/groups/persian.py:110
↓ 3 callers
Method
_add_observed
Add an observed holiday entry for a given date, if applicable. Resolves the observed date using `rule` (or the instance default), then
holidays/observed_holiday_base.py:234
↓ 3 callers
Method
_add_observed
(self, dt: date, **kwargs)
holidays/countries/guernsey.py:55
↓ 3 callers
Method
_add_palm_sunday
Add Palm Sunday (7 days before Easter Sunday). Palm Sunday is a Christian moveable feast that falls on the Sunday before Eas
holidays/groups/christian.py:394
↓ 3 callers
Method
_add_rosh_hashanah
Add Rosh Hashanah. Rosh Hashanah is the New Year in Judaism. https://en.wikipedia.org/wiki/Rosh_Hashanah
holidays/groups/hebrew.py:98
↓ 3 callers
Method
_add_saint_martins_day
Add Saint Martin of Tours Day (November 11th). Saint Martin of Tours is the patron saint of many communities and organizations
holidays/groups/christian.py:468
↓ 3 callers
Method
_assert_holidaysum_language
(self, holidays, language_name)
tests/test_ical.py:113
↓ 3 callers
Method
_assert_language_not_provided
(self, holidays)
tests/test_ical.py:124
↓ 3 callers
Method
_get_holiday
(self, holiday: str, year: int)
holidays/calendars/mongolian.py:324
↓ 3 callers
Function
_get_nth_weekday_from
Return date of a n-th weekday before a specific date if n is negative. Return date of n-th weekday after (including) a specific date
holidays/calendars/gregorian.py:45
↓ 3 callers
Method
_is_thursday
(self, *args)
holidays/holiday_base.py:910
↓ 3 callers
Function
_normalize_arguments
Normalize arguments. :param cls: A type of arguments to normalize. :param value: Either a single item or an iterable of `cls
holidays/helpers.py:14
↓ 3 callers
Method
_populate_common
(self)
holidays/countries/united_kingdom.py:95
↓ 3 callers
Method
_populate_common
(self)
holidays/countries/macau.py:97
↓ 3 callers
Method
_test_workday_holiday
(self, name, since, end_year=None)
tests/countries/test_finland.py:257
↓ 3 callers
Method
assertAdded
(self)
tests/test_holiday_base.py:638
↓ 3 callers
Method
assertImport
(self, name)
tests/test_imports.py:19
↓ 3 callers
Method
dussehra_date
(self, year: int)
holidays/calendars/hindu.py:1570
↓ 3 callers
Method
get_entity
Return lazy-loaded entity.
holidays/registry.py:350
↓ 3 callers
Method
get_subdivision_aliases
Get subdivision aliases. Returns: A dictionary mapping subdivision aliases to their official [ISO 3166-2](https://en.
holidays/holiday_base.py:760
↓ 3 callers
Method
govardhan_puja_date
(self, year: int)
holidays/calendars/hindu.py:1576
↓ 3 callers
Function
gregorian_date
(jdn: int)
scripts/calendar/mongolian_generator.py:120
↓ 3 callers
Method
jdn_to_gregorian
Convert Julian Day Number to Gregorian date. Args: jdn: Julian Day Number. Returns: Gregorian date.
holidays/calendars/burmese.py:100
↓ 3 callers
Function
julian_day
(y: int, m: int, d: int, *, is_leap: bool = False)
scripts/calendar/mongolian_generator.py:114
↓ 3 callers
Function
list_localized_countries
Get all localized countries and languages they support. Args: include_aliases: Whether to include entity aliases (e.g. UK for
holidays/utils.py:374
↓ 3 callers
Function
list_localized_financial
Get all localized financial markets and languages they support. Args: include_aliases: Whether to include entity aliases (e.g
holidays/utils.py:390
↓ 3 callers
Function
list_long_breaks
Get consecutive holidays. Args: instance: [`HolidayBase`][holidays.holiday_base.HolidayBase] object containing holidays data.
holidays/utils.py:453
↓ 3 callers
Method
makha_bucha_date
Calculate the estimated Gregorian date of Makha Bucha. Also known as "Magha Puja", "Makha Buxha" and "Meak Bochea". This coincides wi
holidays/calendars/thai.py:369
↓ 3 callers
Method
mawlid_dates
(self, year: int)
holidays/calendars/islamic.py:4275
↓ 3 callers
Method
mid_autumn_date
(self, year: int, calendar=None)
holidays/calendars/chinese.py:1394
↓ 3 callers
Method
new_year
(self, year: int)
scripts/calendar/hebrew_generator.py:90
↓ 3 callers
Method
parse_categories
(value: str)
holidays/generate_ics.py:80
↓ 3 callers
Method
pongal_date
(self, year: int)
holidays/calendars/hindu.py:1594
↓ 3 callers
Method
ramadan_beginning_dates
(self, year: int)
holidays/calendars/islamic.py:4287
↓ 3 callers
Method
set_language
(self, language)
tests/common.py:362
↓ 3 callers
Method
temp_cwd
()
tests/test_generate_ics.py:49
↓ 3 callers
Method
thadingyut_full_moon_date
Calculate the Gregorian date of Full Moon Day of Thadingyut. 15th day of 7th month (Thadingyut). To calculate, we use the following
holidays/calendars/burmese.py:205
↓ 3 callers
Method
thimphu_tshechu_date
(self, year: int)
holidays/calendars/tibetan.py:1887
↓ 3 callers
Method
tsagaan_sar_date
(self, year: int)
holidays/calendars/mongolian.py:336
↓ 3 callers
Method
validate_categories
(self)
holidays/generate_ics.py:120
↓ 3 callers
Method
validate_language
(self)
holidays/generate_ics.py:133
↓ 3 callers
Method
visakha_bucha_date
Calculate the estimated Gregorian date of Visakha Bucha. Also known as "Vesak" and "Buddha Day". This coincides with the 15th Waxing
holidays/calendars/thai.py:417
↓ 2 callers
Method
_add_ashura_eve
Add Ashura Eve (9th day of 1st month). Ashura is a day of commemoration in Islam. It occurs annually on the 10th of Muharram
holidays/groups/islamic.py:101
↓ 2 callers
Method
_add_bhai_dooj
Add Bhai Dooj. Bhai Dooj, also known as Bhai Tika or Bhaiya Dooj, is a Hindu festival celebrating the bond between brothers
holidays/groups/hindu.py:85
↓ 2 callers
Method
_add_birth_of_guru_rinpoche
Add Birth of Guru Rinpoche (10th day of the 5th lunar month).
holidays/groups/tibetan.py:44
↓ 2 callers
Method
_add_boun_haw_khao_padapdin
Add Boun Haw Khao Padapdin. Boun Haw Khao Padapdin (also known as Rice Growing Festival) is a Buddhist festival celebrated o
holidays/groups/thai.py:44
↓ 2 callers
Method
_add_boun_haw_khao_salark
Add Boun Haw Khao Salark. Boun Haw Khao Salark (also known as Ancestor Festival) is a Buddhist festival celebrated on the 15
holidays/groups/thai.py:58
↓ 2 callers
Method
_add_boun_suang_heua
Add Boun Suang Huea. Boun Suang Huea Nakhone Luang Prabang (also known as Vientiane Boat Racing Festival) is a Buddhist fest
holidays/groups/thai.py:72
↓ 2 callers
Method
_add_buddha_first_sermon
Add Buddha First Sermon (4th day of the 6th lunar month).
holidays/groups/tibetan.py:52
↓ 2 callers
Method
_add_buddha_parinirvana
Add Buddha Parinirvana (15th day of the 4th lunar month).
holidays/groups/tibetan.py:60
↓ 2 callers
Method
_add_buddhist_calendar_holiday
Add Buddhist calendar holiday. Adds customizable estimation label to holiday name if holiday date is an estimation.
holidays/groups/buddhist.py:28
↓ 2 callers
Method
_add_candlemas
Add Candlemas (February 2nd). Also known as the Feast of the Presentation of Jesus Christ, the Feast of the Purification of
holidays/groups/christian.py:182
↓ 2 callers
Method
_add_day_of_offering
Add Day of Offering (1st day of the 12th lunar month).
holidays/groups/tibetan.py:68
↓ 2 callers
Method
_add_death_of_khomeini_day
Add Death of Ruhollah Khomeini Day (14th day of the 3rd month). Ayatollah Ruhollah Khomeini was an Iranian revolutionary, politician
holidays/groups/persian.py:27
↓ 2 callers
Method
_add_death_of_zhabdrung
Add Death of Zhabdrung (10th day of the 3rd lunar month).
holidays/groups/tibetan.py:76
↓ 2 callers
Method
_add_dehwa_daimana_day
Add Dehwa Daimana (Birthday of Prophet Yahya). Celebrated on 1st day of Mandaean 11th month. https://en.wikipedia.org/wiki/De
holidays/groups/mandaean.py:69
↓ 2 callers
Method
_add_dehwa_hanina_day
Add Dehwa Hanina (Little Feast / Day of Victory). Commemorates spiritual triumph and deliverance. Celebrated on 23rd day of t
holidays/groups/mandaean.py:79
↓ 2 callers
Method
_add_descending_day_of_lord_buddha
Add Descending Day of Lord Buddha (22nd day of the 9th lunar month).
holidays/groups/tibetan.py:84
↓ 2 callers
Method
_add_eid_al_ghadir_day
Add Eid al-Ghadir Day (18th day of 12th month). https://en.wikipedia.org/wiki/Eid_al-Ghadeer
holidays/groups/islamic.py:209
↓ 2 callers
Method
_add_ethiopian_new_year
Add Ethiopian New Year. Ethiopian New Year, also known as Enkutatash, is a public holiday celebrated on Meskerem 1 in the Et
holidays/groups/international.py:91
↓ 2 callers
Method
_add_finding_of_true_cross
Add Finding of True Cross. Finding of True Cross, also known as Meskel, is an Ethiopian and Eritrean Orthodox Tewahedo Churc
holidays/groups/christian.py:330
↓ 2 callers
Method
_add_great_feast_day
Add Great Feast (Feast of the Great Shishlam). Celebrated on the 6th day of the first month of the Mandaean calendar. https:/
holidays/groups/mandaean.py:91
↓ 2 callers
Method
_add_guru_nanak_jayanti
Add Guru Nanak Jayanti. Guru Nanak Jayanti celebrates the birth anniversary of Guru Nanak, the founder of Sikhism. It is obs
holidays/groups/hindu.py:217
↓ 2 callers
Method
_add_holiday_29_ramadan
Add 29th Ramadan holiday (29th day of 9th month). https://web.archive.org/web/20250323065556/https://decree.om/2022/rd20220088/
holidays/groups/islamic.py:262
↓ 2 callers
Method
_add_imam_mahdi_birthday_day
Add birthday of Muhammad al-Mahdi day (15th day of 8th month). https://en.wikipedia.org/wiki/Muhammad_al-Mahdi
holidays/groups/islamic.py:272
↓ 2 callers
Method
_add_islamic_republic_day
Add Islamic Republic Day (12th day of the 1st month). Iranian Islamic Republic Day is a national and a public holiday in Iran. It ma
holidays/groups/persian.py:49
↓ 2 callers
Method
_add_islamic_revolution_day
Add Islamic Revolution Day (22nd day of the 11th month). The anniversary of the Iranian Revolution commemorates the protests that le
holidays/groups/persian.py:61
↓ 2 callers
Method
_add_janmashtami
Add Janmashtami. Janmashtami is a Hindu festival that celebrates the birth of Lord Krishna. It falls on the eighth day of th
holidays/groups/hindu.py:267
↓ 2 callers
Method
_add_karen_new_year
Add Karen New Year holiday. The Karen New Year, also known as the Kayin New Year, is one of the major holidays celebrated by the Kare
holidays/groups/burmese.py:38
↓ 2 callers
Method
_add_kason_full_moon_day
Add Full Moon Day of Kason holiday. Vesak is known as the Full Moon Day of Kason, which is the second month in the traditional Burmes
holidays/groups/burmese.py:63
↓ 2 callers
Method
_add_khao_phansa
Add Khao Phansa. Start of Buddhist Lent (also written as Khao Phansa Day) is a Buddhist festival celebrated on the 1st Wanin
holidays/groups/thai.py:86
↓ 2 callers
Method
_add_khordad_uprising_day
Add 15 Khordad uprising Day (15th day of the 3rd month). The demonstrations of June 5 and 6, also called the events of June 1963 or
holidays/groups/persian.py:74
↓ 2 callers
Method
_add_lag_baomer
Add Lag BaOmer. Lag BaOmer, also Lag B'Omer or Lag LaOmer, is a Jewish religious holiday celebrated on the 33rd day of the C
holidays/groups/hebrew.py:55
↓ 2 callers
Method
_add_losar
Add Losar (1st day of the 1st lunar month).
holidays/groups/tibetan.py:92
↓ 2 callers
Method
_add_lunar_new_year
(self, day_three_start_year: int)
holidays/countries/hongkong.py:121
↓ 2 callers
Method
_add_maha_navami
Add Maha Navami. Maha Navami is the ninth day of Navratri, dedicated to Goddess Durga. It is observed in Ashvin (September-O
holidays/groups/hindu.py:303
← previous
next →
201–300 of 7,727, ranked by callers