holidays.countries.india

India(*args, islamic_show_estimated=True, **kwargs)

Bases: HolidayBase, ChristianHolidays, HinduCalendarHolidays, InternationalHolidays, IslamicHolidays, StaticHolidays

India holidays.

References
Parameters:
  • islamic_show_estimated (bool, default: True ) –

    Whether to add "estimated" label to Islamic holidays name if holiday date is estimated.

In India, the dates of the Islamic calendar usually fall a day later than the corresponding dates in the Umm al-Qura calendar.

country = 'IN' class-attribute instance-attribute

default_language = 'en_IN' class-attribute instance-attribute

estimated_label = tr('%s (estimated)') class-attribute instance-attribute

start_year = 1948 class-attribute instance-attribute

subdivisions = ('AN', 'AP', 'AR', 'AS', 'BR', 'CG', 'CH', 'DH', 'DL', 'GA', 'GJ', 'HP', 'HR', 'JH', 'JK', 'KA', 'KL', 'LA', 'LD', 'MH', 'ML', 'MN', 'MP', 'MZ', 'NL', 'OD', 'PB', 'PY', 'RJ', 'SK', 'TN', 'TR', 'TS', 'UK', 'UP', 'WB') class-attribute instance-attribute

subdivisions_aliases = {'Andaman and Nicobar Islands': 'AN', 'Andhra Pradesh': 'AP', 'Arunachal Pradesh': 'AR', 'Arunāchal Pradesh': 'AR', 'Assam': 'AS', 'Bihar': 'BR', 'Bihār': 'BR', 'Chhattisgarh': 'CG', 'Chhattīsgarh': 'CG', 'Chandigarh': 'CH', 'Chandīgarh': 'CH', 'Dadra and Nagar Haveli and Daman and Diu': 'DH', 'Dādra and Nagar Haveli and Damān and Diu': 'DH', 'Delhi': 'DL', 'Goa': 'GA', 'Gujarat': 'GJ', 'Gujarāt': 'GJ', 'Himachal Pradesh': 'HP', 'Himāchal Pradesh': 'HP', 'Haryana': 'HR', 'Haryāna': 'HR', 'Jharkhand': 'JH', 'Jhārkhand': 'JH', 'Jammu and Kashmir': 'JK', 'Jammu and Kashmīr': 'JK', 'Karnataka': 'KA', 'Karnātaka': 'KA', 'Kerala': 'KL', 'Ladakh': 'LA', 'Ladākh': 'LA', 'Lakshadweep': 'LD', 'Maharashtra': 'MH', 'Mahārāshtra': 'MH', 'Meghalaya': 'ML', 'Meghālaya': 'ML', 'Manipur': 'MN', 'Madhya Pradesh': 'MP', 'Mizoram': 'MZ', 'Nagaland': 'NL', 'Nāgāland': 'NL', 'Odisha': 'OD', 'Punjab': 'PB', 'Puducherry': 'PY', 'Rajasthan': 'RJ', 'Rājasthān': 'RJ', 'Sikkim': 'SK', 'Tamil Nadu': 'TN', 'Tamil Nādu': 'TN', 'Tripura': 'TR', 'TG': 'TS', 'Telangana': 'TS', 'Telangāna': 'TS', 'Uttarakhand': 'UK', 'Uttarākhand': 'UK', 'Uttar Pradesh': 'UP', 'West Bengal': 'WB'} class-attribute instance-attribute

supported_categories = (OPTIONAL, PUBLIC) class-attribute instance-attribute

supported_languages = ('bn', 'en_IN', 'en_US', 'gu', 'hi', 'kn', 'ml', 'mr', 'pa', 'ta', 'te') class-attribute instance-attribute

holi_optional_years = {2002, 2011} class-attribute instance-attribute

janmashtami_optional_years = {2008, 2017} class-attribute instance-attribute

maha_shivaratri_optional_years = {2003, 2009, 2010, 2013, 2014, 2015, 2016, 2020, 2021, 2023, 2024, 2026} class-attribute instance-attribute

IN(*args, islamic_show_estimated=True, **kwargs)

Bases: India

Parameters:
  • islamic_show_estimated (bool, default: True ) –

    Whether to add "estimated" label to Islamic holidays name if holiday date is estimated.

In India, the dates of the Islamic calendar usually fall a day later than the corresponding dates in the Umm al-Qura calendar.

IND(*args, islamic_show_estimated=True, **kwargs)

Bases: India

Parameters:
  • islamic_show_estimated (bool, default: True ) –

    Whether to add "estimated" label to Islamic holidays name if holiday date is estimated.

In India, the dates of the Islamic calendar usually fall a day later than the corresponding dates in the Umm al-Qura calendar.

IndiaIslamicHolidays(calendar_delta_days=0)

Bases: _CustomIslamicHolidays

Parameters:
  • calendar_delta_days (int, default: 0 ) –

    Number of days to shift all calculated holiday dates. Positive values move holidays forward, negative values move them backward. Defaults to 0 (no shift).

ALI_BIRTHDAY_DATES_CONFIRMED_YEARS = (2001, 2026) class-attribute instance-attribute

ALI_BIRTHDAY_DATES = {2003: (SEP, 10), 2018: (APR, 1), 2024: (JAN, 25)} class-attribute instance-attribute

ASHURA_DATES_CONFIRMED_YEARS = (2001, 2026) class-attribute instance-attribute

ASHURA_DATES = {2006: (FEB, 9), 2008: (JAN, 19)} class-attribute instance-attribute

EID_AL_ADHA_DATES_CONFIRMED_YEARS = (2001, 2026) class-attribute instance-attribute

EID_AL_ADHA_DATES = {2005: (JAN, 21), 2014: (OCT, 6), 2015: (SEP, 25), 2026: (MAY, 27)} class-attribute instance-attribute

EID_AL_FITR_DATES_CONFIRMED_YEARS = (2001, 2026) class-attribute instance-attribute

EID_AL_FITR_DATES = {2006: (OCT, 25), 2016: (JUL, 6)} class-attribute instance-attribute

JUMUATUL_WIDA_DATES_CONFIRMED_YEARS = (2001, 2026) class-attribute instance-attribute

JUMUATUL_WIDA_DATES = {2009: (SEP, 18), 2010: (SEP, 10), 2015: (JUL, 17), 2018: (JUN, 15), 2023: (APR, 21), 2026: (MAR, 20)} class-attribute instance-attribute

MAWLID_DATES_CONFIRMED_YEARS = (2001, 2026) class-attribute instance-attribute

MAWLID_DATES = {2016: (DEC, 13), 2017: (DEC, 2)} class-attribute instance-attribute

IndiaStaticHolidays

name_basant_panchami = tr('Basant Panchami') class-attribute instance-attribute

name_sri_panchami = tr('Sri Panchami') class-attribute instance-attribute

name_ganesh_chaturthi = tr('Ganesh Chaturthi') class-attribute instance-attribute

name_vinayak_chaturthi = tr('Vinayak Chaturthi') class-attribute instance-attribute

name_guru_tegh_bahadur_martyrdom_day = tr("Guru Tegh Bahadur's Martyrdom Day") class-attribute instance-attribute

name_magh_bihu = tr('Magh Bihu') class-attribute instance-attribute

name_janmashtami_smarta = tr('Janmashtami (Smarta)') class-attribute instance-attribute

name_guru_gobind_singh_birthday = tr("Guru Gobind Singh's Jayanti") class-attribute instance-attribute

special_public_holidays = {2002: (OCT, 14, tr('Dussehra (Mahanavami)'))} class-attribute instance-attribute

special_optional_holidays = {2002: (DEC, 8, name_guru_tegh_bahadur_martyrdom_day), 2003: (NOV, 28, name_guru_tegh_bahadur_martyrdom_day), 2007: (SEP, 3, name_janmashtami_smarta), 2008: (AUG, 28, name_janmashtami_smarta), 2011: (DEC, 31, name_guru_gobind_singh_birthday), 2012: ((AUG, 21, name_vinayak_chaturthi), (SEP, 19, name_ganesh_chaturthi)), 2013: ((FEB, 14, name_sri_panchami), (FEB, 15, name_basant_panchami)), 2020: (AUG, 11, name_janmashtami_smarta), 2021: (AUG, 30, name_janmashtami_smarta), 2022: (AUG, 18, name_janmashtami_smarta), 2023: ((JAN, 14, name_magh_bihu), (AUG, 20, name_vinayak_chaturthi), (SEP, 6, name_janmashtami_smarta), (SEP, 19, name_ganesh_chaturthi)), 2025: (AUG, 15, name_janmashtami_smarta)} class-attribute instance-attribute