holidays.countries.india

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

Bases: HolidayBase, ChristianHolidays, HinduCalendarHolidays, InternationalHolidays, IslamicHolidays

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', '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 = ('en_IN', 'en_US', 'gu', 'hi') 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).

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

ASHURA_DATES = {2001: (APR, 4), 2002: (MAR, 24), 2005: (FEB, 19), 2006: (FEB, 9), 2008: (JAN, 19), 2009: ((JAN, 7), (DEC, 28)), 2021: (AUG, 20)} class-attribute instance-attribute

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

EID_AL_ADHA_DATES = {2005: (JAN, 21), 2006: ((JAN, 11), (DEC, 31)), 2007: (DEC, 20), 2014: (OCT, 6), 2015: (SEP, 25), 2016: (SEP, 13)} class-attribute instance-attribute

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

EID_AL_FITR_DATES = {2004: (NOV, 14), 2005: (NOV, 3), 2007: (OCT, 13), 2010: (SEP, 10), 2013: (AUG, 8)} class-attribute instance-attribute

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

MAWLID_DATES = {2003: (MAY, 15), 2004: (MAY, 3), 2009: (MAR, 9), 2015: ((JAN, 4), (DEC, 25)), 2016: (DEC, 13), 2017: (DEC, 2)} class-attribute instance-attribute