MCPcopy Create free account

hub / github.com/vacanza/holidays / functions

Functions7,727 in github.com/vacanza/holidays

↓ 1 callersMethod_add_bonalu
Add Bonalu. Bonalu is a Hindu festival celebrated in Telangana during Ashada Masam (4th month of the Hindu lunar calendar).
holidays/groups/hindu.py:75
↓ 1 callersMethod_add_buddha_day
Add Buddha Day. Buddha Day is celebrated on the 15th day of the early summer month in the Mongolian lunisolar calendar.
holidays/groups/mongolian.py:45
↓ 1 callersMethod_add_carnival_sunday
Add Carnival Sunday (49 days before Easter Sunday). Carnival is a Catholic Christian festive season that occurs before the l
holidays/groups/christian.py:194
↓ 1 callersMethod_add_chinese_day_before_new_years_eve
Add day before Chinese New Year's Eve (second to last day of 12th lunar month). Chinese New Year's Eve is the day before the Chinese
holidays/groups/chinese.py:103
↓ 1 callersMethod_add_chinese_new_years_day_five
Add Chinese New Year's Day Five. https://en.wikipedia.org/wiki/Chinese_New_Year
holidays/groups/chinese.py:167
↓ 1 callersMethod_add_daeboreum_day
Add Daeboreum Day (15th day of 1st lunar month). Daeboreum is a Korean holiday that celebrates the first full moon of the ne
holidays/groups/chinese.py:177
↓ 1 callersMethod_add_dehwa_hanina_day_two
(self, name)
holidays/groups/mandaean.py:88
↓ 1 callersMethod_add_duruthu_poya
Add Duruthu Poya (first full moon day of the 2nd lunar month). https://web.archive.org/web/20250417123343/https://us.lakpura.com/pag
holidays/groups/sinhala.py:87
↓ 1 callersMethod_add_eid_al_fitr_day_four
Add Eid al-Fitr Day Four (4th day of 10th month). https://en.wikipedia.org/wiki/Eid_al-Fitr
holidays/groups/islamic.py:189
↓ 1 callersMethod_add_esala_poya
Add Esala Poya (first full moon day of the 8th lunar month). https://web.archive.org/web/20250415231927/https://us.lakpura.com/pages
holidays/groups/sinhala.py:97
↓ 1 callersMethod_add_fatima_death_day
Add death of Fatima day (3rd day of 6th month). https://en.wikipedia.org/wiki/Fatima
holidays/groups/islamic.py:219
↓ 1 callersMethod_add_gau_krida
Add Gau Krida. Gau Krida, is celebrated the day after Diwali to honor cows.
holidays/groups/hindu.py:164
↓ 1 callersMethod_add_genghis_khan_day
Add Genghis Khan's Birthday. Genghis Khan's Birthday is observed on the 1st day of the early winter month according to the M
holidays/groups/mongolian.py:58
↓ 1 callersMethod_add_grand_magal_of_touba
Add Grand Magal of Touba Day (18th day of 2nd month). The Grand Magal of Touba is the annual religious pilgrimage of Senegal
holidays/groups/islamic.py:229
↓ 1 callersMethod_add_great_feast_day_four
(self, name)
holidays/groups/mandaean.py:105
↓ 1 callersMethod_add_great_feast_day_three
(self, name)
holidays/groups/mandaean.py:102
↓ 1 callersMethod_add_great_feast_day_two
(self, name)
holidays/groups/mandaean.py:99
↓ 1 callersMethod_add_guru_gobind_singh_jayanti
Add Guru Gobind Singh Jayanti. Guru Gobind Singh Jayanti commemorates the birth anniversary of Guru Gobind Singh, the tenth
holidays/groups/hindu.py:205
↓ 1 callersMethod_add_gyalpo_losar
Add Gyalpo Losar. Gyalpo Losar marks the Tibetan New Year and is widely celebrated by the Tibetan and Sherpa communities in
holidays/groups/hindu.py:230
↓ 1 callersMethod_add_hanshi_festival
Add Hanshi Festival (105 days after Winter Solstice). The Cold Food or Hanshi Festival is a traditional Chinese holiday. Its name
holidays/groups/chinese.py:202
↓ 1 callersMethod_add_hanukkah
Add Hanukkah. In some Gregorian years, there may be two Hanukkah dates. Hanukkah is a Jewish festival commemorating the reco
holidays/groups/hebrew.py:40
↓ 1 callersMethod_add_hari_hol_johor
Add Hari Hol of Johor Day (6th day of 2nd month). https://web.archive.org/web/20241202170507/https://publicholidays.com.my/hari-hol-
holidays/groups/islamic.py:242
↓ 1 callersMethod_add_hasan_al_askari_death_day
Add death of Hasan_al-Askari day (8th day of 3rd month). https://en.wikipedia.org/wiki/Hasan_al-Askari
holidays/groups/islamic.py:252
↓ 1 callersMethod_add_hindu_calendar_holiday_set
Add Hindu calendar holidays. Adds customizable estimation label to holiday name if holiday date is an estimation.
holidays/groups/hindu.py:47
↓ 1 callersMethod_add_hung_kings_day
Add Hùng Kings' Temple Festival (10th day of the 3rd lunar month). Vietnamese festival held annually from the 8th to the 11th day of
holidays/groups/chinese.py:251
↓ 1 callersMethod_add_il_poya
Add Il Poya (first full moon day of the 12th lunar month). Also known as "Ill Poya" https://web.archive.org/web/202504150549
holidays/groups/sinhala.py:107
↓ 1 callersMethod_add_islamic_emirat_victory_day
Add Islamic Emirate Victory Day (24th day of the 5th month). Anniversary of the Taliban forces arrival in Kabul. https://en.
holidays/groups/persian.py:38
↓ 1 callersMethod_add_jumuatul_wida
Add Jumuatul-Wida Day (last Friday of 9th month). https://en.wikipedia.org/wiki/Jumu'atul-Wida
holidays/groups/islamic.py:323
↓ 1 callersMethod_add_labor_day_three
Add International Workers' Day Three (May 3rd) https://en.wikipedia.org/wiki/International_Workers'_Day
holidays/groups/international.py:135
↓ 1 callersMethod_add_last_day_of_year
If previous year is a leap year, its 12th month (Esfand) has 30 days, and this 30th day is a holiday.
holidays/groups/persian.py:87
↓ 1 callersMethod_add_losar_day_two
Add Losar Day Two.
holidays/groups/tibetan.py:100
↓ 1 callersMethod_add_lunar_new_year_observed
(self, dt_lny: date)
holidays/countries/vietnam.py:79
↓ 1 callersMethod_add_maha_ashtami
Add Maha Ashtami. Maha Ashtami is the eighth day of Navratri, dedicated to Goddess Durga. It is observed in Ashvin (Septembe
holidays/groups/hindu.py:291
↓ 1 callersMethod_add_maha_saptami
Add Maha Saptami. Maha Saptami is the seventh day of Navratri, dedicated to Goddess Durga. It is observed in Ashvin (Septemb
holidays/groups/hindu.py:279
↓ 1 callersMethod_add_maharana_pratap_jayanti
Add Maharana Pratap Jayanti. Maharana Pratap Jayanti celebrates the birth of the Rajput king Maharana Pratap. It falls on th
holidays/groups/hindu.py:327
↓ 1 callersMethod_add_maharishi_valmiki_jayanti
Add Maharishi Valmiki Jayanti. Maharishi Valmiki Jayanti (Pargat Diwas), celebrating the birth of the author of the Ramayana
holidays/groups/hindu.py:339
↓ 1 callersMethod_add_maldives_embraced_islam_day
Add Maldives Embraced Islam Day (1st day of 4th month). https://en.wikipedia.org/wiki/Islam_in_Maldives
holidays/groups/islamic.py:343
↓ 1 callersMethod_add_mawlid_day_two
Add Mawlid Day Two (13th day of 3rd month). Mawlid is the observance of the birthday of the Islamic prophet Muhammad.
holidays/groups/islamic.py:365
↓ 1 callersMethod_add_medin_poya
Add Medin Poya (first full moon day of the 4th lunar month). https://web.archive.org/web/20250415154545/https://us.lakpura.com/pages
holidays/groups/sinhala.py:118
↓ 1 callersMethod_add_mid_shaban_day
Add Mid-Sha'ban Day (15th day of 8th month). https://en.wikipedia.org/wiki/Mid-Sha'ban
holidays/groups/islamic.py:377
↓ 1 callersMethod_add_nawam_poya
Add Nawam Poya (first full moon day of the 3rd lunar month). Also known as "Navam Poya" and "Magha Puja". https://web.archiv
holidays/groups/sinhala.py:128
↓ 1 callersMethod_add_nepal_holi
Add Holi Festival for Nepal (Mountain & Hilly). Holi, known as the Festival of Colors, is a Hindu festival that marks the ar
holidays/groups/hindu.py:243
↓ 1 callersMethod_add_nikini_poya
Add Nikini Poya (first full moon day of the 9th lunar month). https://web.archive.org/web/20241204065104/https://us.lakpura.com/page
holidays/groups/sinhala.py:139
↓ 1 callersMethod_add_nowruz_day_four
Add Nowruz Day Four.
holidays/groups/persian.py:138
↓ 1 callersMethod_add_nowruz_day_three
Add Nowruz Day Three.
holidays/groups/persian.py:130
↓ 1 callersMethod_add_nowruz_day_two
Add Nowruz Day Two.
holidays/groups/persian.py:122
↓ 1 callersMethod_add_papankusha_duwadashi
Add Papankusha Duwadashi. Papankusha Duwadashi is a Hindu festival which occurs next day of Papankusha Ekadashi. https://en.
holidays/groups/hindu.py:398
↓ 1 callersMethod_add_papankusha_ekadashi
Add Papankusha Ekadashi. Papankusha Ekadashi is a Hindu festival which occurs on eleventh day on month of Ashwin (September-
holidays/groups/hindu.py:386
↓ 1 callersMethod_add_parwanaya_day_five
(self, name)
holidays/groups/mandaean.py:66
↓ 1 callersMethod_add_parwanaya_day_four
(self, name)
holidays/groups/mandaean.py:63
↓ 1 callersMethod_add_parwanaya_day_three
(self, name)
holidays/groups/mandaean.py:60
↓ 1 callersMethod_add_parwanaya_day_two
(self, name)
holidays/groups/mandaean.py:57
↓ 1 callersMethod_add_pongal
Add Pongal. Pongal is a major harvest festival celebrated in Tamil Nadu, India, marking the beginning of the sun's northward
holidays/groups/hindu.py:409
↓ 1 callersMethod_add_poson_poya
Add Poson Poya (first full moon day of the 7th lunar month). https://web.archive.org/web/20250416105848/https://us.lakpura.com/pages
holidays/groups/sinhala.py:149
↓ 1 callersMethod_add_prophet_baptism_day
Add Prophet's Baptism Day (19th day of the 3rd month). Celebrated one week after the Prophet Mohammed's Birthday, this marks
holidays/groups/islamic.py:400
↓ 1 callersMethod_add_prophet_death_day
Add death of Prophet Muhammad and Hasan ibn Ali day (28th day of 2nd month). https://en.wikipedia.org/wiki/Hasan_ibn_Ali
holidays/groups/islamic.py:417
↓ 1 callersMethod_add_quamee_dhuvas_day
Add Quamee Dhuvas Day (1st day of 3rd month). https://en.wikipedia.org/wiki/Qaumee_Dhuvas_(Maldives_National_Day)
holidays/groups/islamic.py:427
↓ 1 callersMethod_add_rejoicing_day
Add Day Of Rejoicing (9 days after Easter Sunday). Add Day Of Rejoicing ("Radonitsa"), in the Russian Orthodox Church is a c
holidays/groups/christian.py:406
↓ 1 callersMethod_add_sadiq_birthday_day
Add birthday of Prophet Muhammad and Ja'far al-Sadiq day (17th day of 3rd month). https://en.wikipedia.org/wiki/Ja'far_al-Sadiq
holidays/groups/islamic.py:449
↓ 1 callersMethod_add_sadiq_death_day
Add death of Ja'far al-Sadiq day (25th day of 10th month). https://en.wikipedia.org/wiki/Ja'far_al-Sadiq
holidays/groups/islamic.py:459
↓ 1 callersMethod_add_shavuot
Add Shavuot. Shavuot, or Shvues, is a Jewish holiday, one of the biblically ordained Three Pilgrimage Festivals. It occurs o
holidays/groups/hebrew.py:111
↓ 1 callersMethod_add_sinhala_calendar_holiday_set
Add Sinhala calendar holidays. Adds customizable estimation label to holiday name if holiday date is an estimation.
holidays/groups/sinhala.py:51
↓ 1 callersMethod_add_sonam_losar
Add Sonam Losar. Sonam Losar is the New Year festival celebrated by the Tamang community in Nepal. It follows the Tibetan lu
holidays/groups/hindu.py:459
↓ 1 callersMethod_add_tamu_losar
Add Tamu Losar. Tamu Losar marks the New Year festival of the Gurung community in Nepal. It is traditionally celebrated on D
holidays/groups/hindu.py:472
↓ 1 callersMethod_add_tasua_day
Add Tasua Day (9th day of 1st month). https://en.wikipedia.org/wiki/Tasua
holidays/groups/islamic.py:469
↓ 1 callersMethod_add_thadingyut_full_moon_day_two
Add Post-Full Moon Day of Thadingyut holiday. The Thadingyut Festival, also known as the Lighting Festival of Myanmar, is held on the
holidays/groups/burmese.py:234
↓ 1 callersMethod_add_thadingyut_full_moon_eve
Add Pre-Full Moon Day of Thadingyut holiday. The Thadingyut Festival, also known as the Lighting Festival of Myanmar, is held on the
holidays/groups/burmese.py:198
↓ 1 callersMethod_add_thimphu_tshechu_day_three
Add Thimphu Tshechu Day 3.
holidays/groups/tibetan.py:132
↓ 1 callersMethod_add_thimphu_tshechu_day_two
Add Thimphu Tshechu Day 2.
holidays/groups/tibetan.py:124
↓ 1 callersMethod_add_thiruvalluvar_day
Add Thiruvalluvar Day and Mattu Pongal. Thiruvalluvar Day and Mattu Pongal are celebrated in Tamil Nadu, India, as part of t
holidays/groups/hindu.py:496
↓ 1 callersMethod_add_trinity_sunday
Add Trinity Sunday (56 days after Easter Sunday). Trinity Sunday, also called Solemnity of Holy Trinity, is the first Sunday
holidays/groups/christian.py:521
↓ 1 callersMethod_add_tsagaan_sar
Add Tsagaan Sar (Mongolian Lunar New Year). Tsagaan Sar, or White Moon Festival, marks the beginning of the Mongolian Lunar New Year
holidays/groups/mongolian.py:71
↓ 1 callersMethod_add_tsagaan_sar_day_2
Add Tsagaan Sar Day 2 (Mongolian Lunar New Year). Tsagaan Sar, or White Moon Festival, marks the beginning of the Mongolian Lunar Ne
holidays/groups/mongolian.py:83
↓ 1 callersMethod_add_tsagaan_sar_day_3
Add Tsagaan Sar Day 3 (Mongolian Lunar New Year). Tsagaan Sar, or White Moon Festival, marks the beginning of the Mongolian Lunar Ne
holidays/groups/mongolian.py:95
↓ 1 callersMethod_add_unduvap_poya
Add Unduvap Poya (first full moon day of the 1st lunar month). Also known as "Undawap Poya". https://web.archive.org/web/202
holidays/groups/sinhala.py:159
↓ 1 callersMethod_add_uzhavar_thirunal
Add Uzhavar Thirunal. Uzhavar Thirunal is a harvest festival celebrated in Tamil Nadu, India, as part of the Pongal festivit
holidays/groups/hindu.py:512
↓ 1 callersMethod_add_vap_poya
Add Vap Poya (first full moon day of the 11th lunar month). https://web.archive.org/web/20250418083429/https://us.lakpura.com/pages/
holidays/groups/sinhala.py:170
↓ 1 callersMethod_add_vesak_may
Add Vesak (on the day of the first full moon in May in the Gregorian calendar). Vesak for Sri Lanka, Nepal, India, Banglades
holidays/groups/buddhist.py:52
↓ 1 callersMethod_add_vesak_poya
Add Vesak Poya (first full moon day of the 6th lunar month). Also known as "Wesak Poya". https://web.archive.org/web/2025041
holidays/groups/sinhala.py:180
↓ 1 callersMethod_apply_metadata
Applies metadata to a .po file.
scripts/l10n/generate_po_files.py:118
↓ 1 callersMethod_assertLocalizedHolidays
Helper: assert localized holidays match expected names.
tests/common.py:602
↓ 1 callersFunction_collapse_cell_formatting
Collapse duplicate delimiters and normalize empty placeholders.
scripts/calendar/germany_school_generator.py:287
↓ 1 callersFunction_expand_shared_month_notation
Expand forms like `20./21.06.` into explicit month-qualified dates.
scripts/calendar/germany_school_generator.py:280
↓ 1 callersFunction_extract_start_year
(label: str, href: str)
scripts/calendar/germany_school_generator.py:179
↓ 1 callersMethod_fold_line
Fold long lines according to [RFC 5545](https://datatracker.ietf.org/doc/html/rfc5545). Content lines SHOULD NOT exceed 75 octets. If
holidays/ical.py:102
↓ 1 callersMethod_generate_assert_methods
Dynamically generate assertion methods for all holiday variants.
tests/common.py:83
↓ 1 callersMethod_generate_event
Generate a single holiday event. Args: dt: Holiday date. holiday_name: Holiday name.
holidays/ical.py:146
↓ 1 callersMethod_get_author_identity
()
scripts/l10n/generate_po_files.py:65
↓ 1 callersMethod_get_holiday
(self, holiday: str, year: int)
holidays/calendars/balinese_saka.py:101
↓ 1 callersMethod_get_holiday_set
(self, holiday: str, year: int)
holidays/calendars/hindu.py:1545
↓ 1 callersMethod_get_holiday_set
(self, holiday: str, year: int)
holidays/calendars/sinhala.py:380
↓ 1 callersMethod_get_license_header
Reads and formats the license header from docs/file_header.txt.
scripts/l10n/generate_po_files.py:80
↓ 1 callersFunction_get_nth_weekday_from
Return the n-th occurrence of weekday relative to given date. Positive `n` counts forward, negative `n` counts backward, including `from_dt`
scripts/calendar/islamic_generator.py:81
↓ 1 callersMethod_get_or_create_lookup
Build and cache categories and subdivision lookup tables for a holiday test class.
tests/common.py:41
↓ 1 callersFunction_get_school_year_pdf_links
(index_url: str)
scripts/calendar/germany_school_generator.py:195
↓ 1 callersMethod_get_weekend
(self, dt: date)
holidays/holiday_base.py:898
↓ 1 callersMethod_is_long_ramadan
Check whether the Ramadan preceding the given Eid al-Fitr date lasted 30 days. Args: eid_al_fitr: The date of Eid
holidays/calendars/islamic.py:4204
↓ 1 callersMethod_is_observed
(self, dt: date)
holidays/countries/japan.py:55
↓ 1 callersMethod_is_po_equal
Compare two .po files considering comments.
scripts/l10n/generate_po_files.py:97
↓ 1 callersMethod_lunar_year_days
Return the number of days in a lunar year.
scripts/calendar/asian_generator.py:283
← previousnext →401–500 of 7,727, ranked by callers