holidays.countries.pakistan

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

Bases: HolidayBase, InternationalHolidays, IslamicHolidays

Pakistan holidays.

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

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

country = 'PK' class-attribute instance-attribute

default_language = 'en_PK' class-attribute instance-attribute

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

start_year = 1948 class-attribute instance-attribute

supported_languages = ('en_PK', 'en_US', 'ur_PK') class-attribute instance-attribute

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

Bases: Pakistan

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

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

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

Bases: Pakistan

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

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

PakistanIslamicHolidays(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 = (2005, 2025) class-attribute instance-attribute

ASHURA_DATES = {2005: (FEB, 18), 2006: (FEB, 8), 2007: (JAN, 28), 2008: (JAN, 18), 2009: ((JAN, 6), (DEC, 26)), 2012: (NOV, 23), 2018: (SEP, 21), 2022: (AUG, 9), 2025: (JUL, 6)} class-attribute instance-attribute

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

EID_AL_ADHA_DATES = {2008: (DEC, 9), 2009: (NOV, 28), 2010: (NOV, 17), 2011: (NOV, 7), 2014: (OCT, 6), 2015: (SEP, 24), 2016: (SEP, 12), 2017: (SEP, 2), 2018: (AUG, 22), 2019: (AUG, 12), 2021: (JUL, 21), 2022: (JUL, 10), 2023: (JUN, 29), 2024: (JUN, 17), 2025: (JUN, 7)} class-attribute instance-attribute

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

EID_AL_FITR_DATES = {2005: (NOV, 4), 2006: (OCT, 24), 2008: (OCT, 2), 2009: (SEP, 21), 2011: (AUG, 31), 2014: (JUL, 29), 2017: (JUN, 26), 2018: (JUN, 16), 2019: (JUN, 5), 2022: (MAY, 3), 2023: (APR, 22), 2025: (MAR, 31)} class-attribute instance-attribute

MAWLID_DATES_CONFIRMED_YEARS = (2005, 2024) class-attribute instance-attribute

MAWLID_DATES = {2005: (APR, 22), 2006: (APR, 11), 2008: (MAR, 21), 2010: (MAR, 1), 2011: (FEB, 17), 2012: (FEB, 5), 2014: (JAN, 14), 2015: (JAN, 4), 2016: (DEC, 12), 2017: (DEC, 1), 2018: (NOV, 21), 2019: (NOV, 10), 2020: (OCT, 30), 2021: (OCT, 19), 2022: (OCT, 9), 2023: (SEP, 29), 2024: (SEP, 17)} class-attribute instance-attribute