holidays.countries.bulgaria

Classes

BG(*args, **kwargs)

param years:

BLG(*args, **kwargs)

param years:

Bulgaria(*args, **kwargs)

Official holidays in Bulgaria in their current form.

class holidays.countries.bulgaria.Bulgaria(*args, **kwargs)

Bases: ObservedHolidayBase, ChristianHolidays, InternationalHolidays

Official holidays in Bulgaria in their current form. This class does not any return holidays before 1990, as holidays in the People’s Republic of Bulgaria and earlier were different.

Since 2017, it has been accepted that public holidays in Bulgaria that fall on a Saturday or Sunday are to be taken on the first working day after them. If there are both Saturday and Sunday holidays, Monday and Tuesday are rested respectively. The exceptions are: 1) the Easter holidays, which are always a consecutive Friday, Saturday, and Sunday; 2) National Awakening Day which, while an official holiday and a non-attendance day for schools, is still a working day.

Sources (Bulgarian): - http://lex.bg/laws/ldoc/1594373121 - https://www.parliament.bg/bg/24 - https://kik-info.com/spravochnik/calendar/2021/

Sources (English): - https://en.wikipedia.org/wiki/Public_holidays_in_Bulgaria

Parameters:
  • years – The year(s) to pre-calculate public holidays for at instantiation.

  • expand – Whether the entire year is calculated when one date from that year is requested.

  • observed – Whether to include the dates when public holiday are observed (e.g. a holiday falling on a Sunday being observed the following Monday). This doesn’t work for all countries.

  • subdiv – The subdivision (e.g. state or province) as a ISO 3166-2 code or its alias; not implemented for all countries (see documentation).

  • provdeprecated use subdiv instead.

  • statedeprecated use subdiv instead.

  • language – The language which the returned holiday names will be translated into. It must be an ISO 639-1 (2-letter) language code. If the language translation is not supported the original holiday names will be used.

  • categories – Requested holiday categories.

Returns:

A HolidayBase object matching the country.

country: str = 'BG'

The country’s ISO 3166-1 alpha-2 code.

default_language: str | None = 'bg'

The entity language used by default.

observed_label = '%s (почивен ден)'
supported_categories: Tuple[str, ...] = ('public', 'school')

All holiday categories supported by this entity.

supported_languages: Tuple[str, ...] = ('bg', 'en_US', 'uk')

All languages supported by this entity.

class holidays.countries.bulgaria.BG(*args, **kwargs)

Bases: Bulgaria

Parameters:
  • years – The year(s) to pre-calculate public holidays for at instantiation.

  • expand – Whether the entire year is calculated when one date from that year is requested.

  • observed – Whether to include the dates when public holiday are observed (e.g. a holiday falling on a Sunday being observed the following Monday). This doesn’t work for all countries.

  • subdiv – The subdivision (e.g. state or province) as a ISO 3166-2 code or its alias; not implemented for all countries (see documentation).

  • provdeprecated use subdiv instead.

  • statedeprecated use subdiv instead.

  • language – The language which the returned holiday names will be translated into. It must be an ISO 639-1 (2-letter) language code. If the language translation is not supported the original holiday names will be used.

  • categories – Requested holiday categories.

Returns:

A HolidayBase object matching the country.

class holidays.countries.bulgaria.BLG(*args, **kwargs)

Bases: Bulgaria

Parameters:
  • years – The year(s) to pre-calculate public holidays for at instantiation.

  • expand – Whether the entire year is calculated when one date from that year is requested.

  • observed – Whether to include the dates when public holiday are observed (e.g. a holiday falling on a Sunday being observed the following Monday). This doesn’t work for all countries.

  • subdiv – The subdivision (e.g. state or province) as a ISO 3166-2 code or its alias; not implemented for all countries (see documentation).

  • provdeprecated use subdiv instead.

  • statedeprecated use subdiv instead.

  • language – The language which the returned holiday names will be translated into. It must be an ISO 639-1 (2-letter) language code. If the language translation is not supported the original holiday names will be used.

  • categories – Requested holiday categories.

Returns:

A HolidayBase object matching the country.