holidays 0.73__py3-none-any.whl → 0.74__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. holidays/constants.py +8 -1
  2. holidays/countries/__init__.py +6 -0
  3. holidays/countries/aland_islands.py +63 -0
  4. holidays/countries/angola.py +2 -2
  5. holidays/countries/argentina.py +2 -2
  6. holidays/countries/azerbaijan.py +1 -1
  7. holidays/countries/belgium.py +1 -1
  8. holidays/countries/benin.py +199 -0
  9. holidays/countries/bermuda.py +141 -0
  10. holidays/countries/british_virgin_islands.py +205 -0
  11. holidays/countries/chile.py +1 -1
  12. holidays/countries/curacao.py +1 -1
  13. holidays/countries/dominican_republic.py +1 -1
  14. holidays/countries/ecuador.py +1 -1
  15. holidays/countries/equatorial_guinea.py +150 -0
  16. holidays/countries/ethiopia.py +1 -1
  17. holidays/countries/finland.py +200 -36
  18. holidays/countries/italy.py +1 -1
  19. holidays/countries/ivory_coast.py +1 -1
  20. holidays/countries/kazakhstan.py +23 -23
  21. holidays/countries/mexico.py +1 -1
  22. holidays/countries/morocco.py +1 -1
  23. holidays/countries/north_macedonia.py +267 -15
  24. holidays/countries/norway.py +1 -1
  25. holidays/countries/panama.py +1 -1
  26. holidays/countries/paraguay.py +1 -1
  27. holidays/countries/slovenia.py +1 -1
  28. holidays/countries/sweden.py +1 -1
  29. holidays/countries/thailand.py +2 -2
  30. holidays/countries/togo.py +2 -2
  31. holidays/countries/trinidad_and_tobago.py +1 -1
  32. holidays/countries/tuvalu.py +1 -1
  33. holidays/countries/ukraine.py +44 -44
  34. holidays/countries/united_states.py +1 -1
  35. holidays/countries/venezuela.py +1 -1
  36. holidays/countries/yemen.py +207 -0
  37. holidays/groups/chinese.py +3 -3
  38. holidays/groups/christian.py +4 -4
  39. holidays/groups/international.py +9 -9
  40. holidays/groups/islamic.py +3 -3
  41. holidays/locale/ar/LC_MESSAGES/YE.mo +0 -0
  42. holidays/locale/en_US/LC_MESSAGES/AX.mo +0 -0
  43. holidays/locale/en_US/LC_MESSAGES/BJ.mo +0 -0
  44. holidays/locale/en_US/LC_MESSAGES/FI.mo +0 -0
  45. holidays/locale/en_US/LC_MESSAGES/GQ.mo +0 -0
  46. holidays/locale/en_US/LC_MESSAGES/MK.mo +0 -0
  47. holidays/locale/en_US/LC_MESSAGES/TH.mo +0 -0
  48. holidays/locale/en_US/LC_MESSAGES/VG.mo +0 -0
  49. holidays/locale/en_US/LC_MESSAGES/YE.mo +0 -0
  50. holidays/locale/en_VG/LC_MESSAGES/VG.mo +0 -0
  51. holidays/locale/es/LC_MESSAGES/GQ.mo +0 -0
  52. holidays/locale/fi/LC_MESSAGES/AX.mo +0 -0
  53. holidays/locale/fi/LC_MESSAGES/FI.mo +0 -0
  54. holidays/locale/fr_BJ/LC_MESSAGES/BJ.mo +0 -0
  55. holidays/locale/mk/LC_MESSAGES/MK.mo +0 -0
  56. holidays/locale/sv_FI/LC_MESSAGES/AX.mo +0 -0
  57. holidays/locale/sv_FI/LC_MESSAGES/FI.mo +0 -0
  58. holidays/locale/th/LC_MESSAGES/AX.mo +0 -0
  59. holidays/locale/th/LC_MESSAGES/FI.mo +0 -0
  60. holidays/locale/uk/LC_MESSAGES/AX.mo +0 -0
  61. holidays/locale/uk/LC_MESSAGES/FI.mo +0 -0
  62. holidays/locale/uk/LC_MESSAGES/MK.mo +0 -0
  63. holidays/locale/uk/LC_MESSAGES/TH.mo +0 -0
  64. holidays/registry.py +6 -0
  65. holidays/version.py +1 -1
  66. {holidays-0.73.dist-info → holidays-0.74.dist-info}/METADATA +50 -8
  67. {holidays-0.73.dist-info → holidays-0.74.dist-info}/RECORD +71 -47
  68. {holidays-0.73.dist-info → holidays-0.74.dist-info}/WHEEL +1 -1
  69. {holidays-0.73.dist-info → holidays-0.74.dist-info}/licenses/CONTRIBUTORS +2 -0
  70. {holidays-0.73.dist-info → holidays-0.74.dist-info}/licenses/LICENSE +0 -0
  71. {holidays-0.73.dist-info → holidays-0.74.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,207 @@
1
+ # holidays
2
+ # --------
3
+ # A fast, efficient Python library for generating country, province and state
4
+ # specific sets of holidays on the fly. It aims to make determining whether a
5
+ # specific date is a holiday as fast and flexible as possible.
6
+ #
7
+ # Authors: Vacanza Team and individual contributors (see CONTRIBUTORS file)
8
+ # dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9
+ # ryanss <ryanssdev@icloud.com> (c) 2014-2017
10
+ # Website: https://github.com/vacanza/holidays
11
+ # License: MIT (see LICENSE file)
12
+
13
+ from gettext import gettext as tr
14
+
15
+ from holidays.calendars import _CustomIslamicHolidays
16
+ from holidays.calendars.gregorian import (
17
+ JAN,
18
+ FEB,
19
+ MAR,
20
+ APR,
21
+ MAY,
22
+ JUN,
23
+ JUL,
24
+ AUG,
25
+ SEP,
26
+ OCT,
27
+ THU,
28
+ FRI,
29
+ SAT,
30
+ _timedelta,
31
+ )
32
+ from holidays.constants import PUBLIC, SCHOOL, WORKDAY
33
+ from holidays.groups import InternationalHolidays, IslamicHolidays
34
+ from holidays.observed_holiday_base import ObservedHolidayBase, FRI_TO_NEXT_WORKDAY
35
+
36
+
37
+ class Yemen(ObservedHolidayBase, InternationalHolidays, IslamicHolidays):
38
+ """Yemen holidays.
39
+
40
+ References:
41
+ * [Presidential Decree Law No. (8) of 1996](https://web.archive.org/web/20230905142654/http://yemen-nic.info/db/laws_ye/detail.php?ID=11476)
42
+ * [Presidential Decree Law No. (2) of 2000](https://web.archive.org/web/20140714152707/http://www.presidentsaleh.gov.ye/showlaws.php?_lwbkno=3&_lwptno=2&_lwnmid=4)
43
+ * <https://en.wikipedia.org/wiki/Public_holidays_in_Yemen>
44
+ * <https://ar.wikipedia.org/wiki/قائمة_العطل_الرسمية_في_اليمن>
45
+ * <https://web.archive.org/web/20160806072136/http://marebpress.net/news_details.php?lang=arabic&sid=55120>
46
+ * <https://web.archive.org/web/20250505071425/https://yemenembassy.it/festivities/>
47
+ * <https://web.archive.org/web/20250113111659/https://www.timeanddate.com/holidays/yemen/2025?hol=9>
48
+ * <https://web.archive.org/web/20250103115023/http://www.yemenpost.net/Detail123456789.aspx?ID=3&SubID=7132&MainCat=3>
49
+ """
50
+
51
+ country = "YE"
52
+ default_language = "ar"
53
+ # %s (estimated).
54
+ estimated_label = tr("%s (مُقدَّر)")
55
+ # %s (observed).
56
+ observed_label = tr("%s (ملاحظة)")
57
+ # %s (observed, estimated).
58
+ observed_estimated_label = tr("%s (مُقدَّر ملاحظة)")
59
+ # The Republic of Yemen was declared on 22 May 1990.
60
+ start_year = 1991
61
+ supported_categories = (PUBLIC, SCHOOL, WORKDAY)
62
+ supported_languages = ("ar", "en_US")
63
+
64
+ def __init__(self, islamic_show_estimated: bool = True, *args, **kwargs):
65
+ """
66
+ Args:
67
+ islamic_show_estimated:
68
+ Whether to add "estimated" label to Islamic holidays name
69
+ if holiday date is estimated.
70
+ """
71
+ InternationalHolidays.__init__(self)
72
+ IslamicHolidays.__init__(
73
+ self, cls=YemenIslamicHolidays, show_estimated=islamic_show_estimated
74
+ )
75
+ kwargs.setdefault("observed_rule", FRI_TO_NEXT_WORKDAY)
76
+ super().__init__(*args, **kwargs)
77
+
78
+ def _populate_public_holidays(self):
79
+ dts_observed = set()
80
+
81
+ # Yemen switches from THU-FRI to FRI-SAT on Aug 15, 2013
82
+ self.weekend = {THU, FRI} if self._year <= 2012 else {FRI, SAT}
83
+
84
+ # Hijri New Year.
85
+ dts_observed.update(self._add_islamic_new_year_day(tr("عيد رأس السنة الهجرية")))
86
+
87
+ if self._year <= 1999:
88
+ # Prophet's Birthday.
89
+ dts_observed.update(self._add_mawlid_day(tr("المولد النبوي")))
90
+
91
+ # Eid al-Fitr.
92
+ name = tr("عيد الفطر")
93
+ dts_observed.update(self._add_eid_al_fitr_day(name))
94
+ dts_observed.update(self._add_eid_al_fitr_day_two(name))
95
+ dts_observed.update(self._add_eid_al_fitr_day_three(name))
96
+ ramadan_29_holidays = self._add_holiday_29_ramadan(name)
97
+ dts_observed.update(ramadan_29_holidays)
98
+ for dt in ramadan_29_holidays:
99
+ if _timedelta(dt, +1) not in self:
100
+ dts_observed.update(self._add_eid_al_fitr_eve(name))
101
+
102
+ # Eid al-Adha.
103
+ name = tr("عيد الأضحى")
104
+ dts_observed.update(self._add_arafah_day(name))
105
+ dts_observed.update(self._add_eid_al_adha_day(name))
106
+ dts_observed.update(self._add_eid_al_adha_day_two(name))
107
+ dts_observed.update(self._add_eid_al_adha_day_three(name))
108
+ dts_observed.update(self._add_eid_al_adha_day_four(name))
109
+
110
+ # Labor Day.
111
+ dts_observed.add(self._add_labor_day(tr("عيد العمال")))
112
+
113
+ # Unity Day.
114
+ dts_observed.add(self._add_holiday_may_22(tr("اليوم الوطني للجمهورية اليمنية")))
115
+
116
+ if self._year <= 1999:
117
+ # Victory Day.
118
+ dts_observed.add(self._add_holiday_jul_7(tr("ذكرى 7 يوليو")))
119
+
120
+ # Revolution Day.
121
+ dts_observed.add(self._add_holiday_sep_26(tr("ثورة 26 سبتمبر المجيدة")))
122
+
123
+ # Liberation Day.
124
+ dts_observed.add(self._add_holiday_oct_14(tr("ثورة 14 أكتوبر المجيدة")))
125
+
126
+ # Independence Day.
127
+ dts_observed.add(self._add_holiday_nov_30(tr("عيد الجلاء")))
128
+
129
+ if self.observed:
130
+ self._populate_observed(dts_observed)
131
+
132
+ def _populate_school_holidays(self):
133
+ if self._year >= 2013:
134
+ # Teacher's Day.
135
+ self._add_holiday_may_5(tr("عيد المعلم"))
136
+
137
+ def _populate_workday_holidays(self):
138
+ if self._year >= 2000:
139
+ # Prophet's Birthday.
140
+ self._add_mawlid_day(tr("المولد النبوي"))
141
+
142
+ # Isra' and Mi'raj.
143
+ self._add_isra_and_miraj_day(tr("ذكرى الإسراء والمعراج"))
144
+
145
+ # Victory Day.
146
+ self._add_holiday_jul_7(tr("ذكرى 7 يوليو"))
147
+
148
+
149
+ class YE(Yemen):
150
+ pass
151
+
152
+
153
+ class YEM(Yemen):
154
+ pass
155
+
156
+
157
+ class YemenIslamicHolidays(_CustomIslamicHolidays):
158
+ # https://www.timeanddate.com/holidays/yemen/eid-al-adha-first-day
159
+ EID_AL_ADHA_DATES = {
160
+ 2020: (JUL, 31),
161
+ 2021: (JUL, 20),
162
+ 2022: (JUL, 9),
163
+ 2023: (JUN, 28),
164
+ 2024: (JUN, 16),
165
+ }
166
+
167
+ # https://www.timeanddate.com/holidays/yemen/eid-al-fitr-first-day
168
+ EID_AL_FITR_DATES = {
169
+ 2020: (MAY, 24),
170
+ 2021: (MAY, 13),
171
+ 2022: (MAY, 2),
172
+ 2023: (APR, 21),
173
+ 2024: (APR, 10),
174
+ 2025: (MAR, 30),
175
+ }
176
+
177
+ # https://www.timeanddate.com/holidays/yemen/muharram-new-year
178
+ HIJRI_NEW_YEAR_DATES = {
179
+ 2020: (AUG, 20),
180
+ 2021: (AUG, 10),
181
+ 2022: (JUL, 30),
182
+ 2023: (JUL, 19),
183
+ 2024: (JUL, 7),
184
+ }
185
+
186
+ # https://www.timeanddate.com/holidays/yemen/isra-miraj
187
+ ISRA_AND_MIRAJ_DATES = {
188
+ 2023: (FEB, 18),
189
+ 2024: (FEB, 8),
190
+ 2025: (JAN, 27),
191
+ }
192
+
193
+ # https://www.timeanddate.com/holidays/yemen/prophet-birthday
194
+ MAWLID_DATES = {
195
+ 2020: (OCT, 29),
196
+ 2021: (OCT, 18),
197
+ 2022: (OCT, 8),
198
+ 2023: (SEP, 27),
199
+ 2024: (SEP, 15),
200
+ }
201
+
202
+ # https://www.timeanddate.com/holidays/yemen/ramadan-begins
203
+ RAMADAN_BEGINNING_DATES = {
204
+ 2023: (MAR, 23),
205
+ 2024: (MAR, 11),
206
+ 2025: (MAR, 1),
207
+ }
@@ -115,7 +115,7 @@ class ChineseCalendarHolidays(EasternCalendarHolidays):
115
115
  Birthday of the Buddha is a Buddhist festival that is celebrated in
116
116
  most of East Asia and South Asia commemorating the birth of Gautama
117
117
  Buddha, who was the founder of Buddhism.
118
- https://en.wikipedia.org/wiki/Buddha%27s_Birthday
118
+ https://en.wikipedia.org/wiki/Buddha's_Birthday
119
119
  """
120
120
  return self._add_chinese_calendar_holiday(
121
121
  name, self._chinese_calendar.buddha_birthday_date(self._year)
@@ -126,7 +126,7 @@ class ChineseCalendarHolidays(EasternCalendarHolidays):
126
126
  Add Chinese New Year's Eve (last day of 12th lunar month).
127
127
 
128
128
  Chinese New Year's Eve is the day before the Chinese New Year.
129
- https://en.wikipedia.org/wiki/Chinese_New_Year%27s_Eve
129
+ https://en.wikipedia.org/wiki/Chinese_New_Year's_Eve
130
130
  """
131
131
  return self._add_chinese_calendar_holiday(
132
132
  name, self._chinese_calendar.lunar_new_year_date(self._year), days_delta=-1
@@ -235,7 +235,7 @@ class ChineseCalendarHolidays(EasternCalendarHolidays):
235
235
 
236
236
  Vietnamese festival held annually from the 8th to the 11th day of the
237
237
  3rd lunar month in honour of the Hùng Kings.
238
- https://en.wikipedia.org/wiki/H%C3%B9ng_Kings%27_Festival
238
+ https://en.wikipedia.org/wiki/Hùng_Kings'_Festival
239
239
  """
240
240
  return self._add_chinese_calendar_holiday(
241
241
  name, self._chinese_calendar.hung_kings_date(self._year)
@@ -100,7 +100,7 @@ class ChristianHolidays:
100
100
 
101
101
  Also known as All Hallows' Day, the Feast of All Saints,
102
102
  the Feast of All Hallows, the Solemnity of All Saints, and Hallowmas.
103
- https://en.wikipedia.org/wiki/All_Saints%27_Day
103
+ https://en.wikipedia.org/wiki/All_Saints'_Day
104
104
  """
105
105
  return self._add_holiday_nov_1(name)
106
106
 
@@ -111,7 +111,7 @@ class ChristianHolidays:
111
111
  All Souls' Day is a day of prayer and remembrance for the faithful
112
112
  departed, observed by certain Christian denominations on 2 November.
113
113
  In Belarussian tradition it is called Dziady.
114
- https://en.wikipedia.org/wiki/All_Souls%27_Day
114
+ https://en.wikipedia.org/wiki/All_Souls'_Day
115
115
  https://en.wikipedia.org/wiki/Dziady
116
116
  """
117
117
  return self._add_holiday_nov_2(name)
@@ -384,7 +384,7 @@ class ChristianHolidays:
384
384
 
385
385
  Saint George's Day is celebrated on 23 April, the traditionally
386
386
  accepted date of the saint's death.
387
- https://en.wikipedia.org/wiki/Saint_George%27s_Day
387
+ https://en.wikipedia.org/wiki/Saint_George's_Day
388
388
  """
389
389
  return self._add_holiday_apr_23(name)
390
390
 
@@ -415,7 +415,7 @@ class ChristianHolidays:
415
415
  Solemnity of Saint Joseph, is in Western Christianity the principal
416
416
  feast day of Saint Joseph, husband of the Virgin Mary and legal father
417
417
  of Jesus Christ.
418
- https://en.wikipedia.org/wiki/Saint_Joseph%27s_Day
418
+ https://en.wikipedia.org/wiki/Saint_Joseph's_Day
419
419
  """
420
420
  return self._add_holiday_mar_19(name)
421
421
 
@@ -103,7 +103,7 @@ class InternationalHolidays:
103
103
  International Workers' Day, also known as Labour Day, is a celebration
104
104
  of labourers and the working classes that is promoted by the
105
105
  international labour movement.
106
- https://en.wikipedia.org/wiki/International_Workers%27_Day
106
+ https://en.wikipedia.org/wiki/International_Workers'_Day
107
107
  """
108
108
  return self._add_holiday_may_1(name)
109
109
 
@@ -111,7 +111,7 @@ class InternationalHolidays:
111
111
  """
112
112
  Add International Workers' Day Two (May 2nd)
113
113
 
114
- https://en.wikipedia.org/wiki/International_Workers%27_Day
114
+ https://en.wikipedia.org/wiki/International_Workers'_Day
115
115
  """
116
116
  return self._add_holiday_may_2(name)
117
117
 
@@ -119,7 +119,7 @@ class InternationalHolidays:
119
119
  """
120
120
  Add International Workers' Day Three (May 3rd)
121
121
 
122
- https://en.wikipedia.org/wiki/International_Workers%27_Day
122
+ https://en.wikipedia.org/wiki/International_Workers'_Day
123
123
  """
124
124
  return self._add_holiday_may_3(name)
125
125
 
@@ -129,7 +129,7 @@ class InternationalHolidays:
129
129
 
130
130
  New Year's Day is a festival observed in most of the world on
131
131
  1 January, the first day of the year in the modern Gregorian calendar.
132
- https://en.wikipedia.org/wiki/New_Year%27s_Day
132
+ https://en.wikipedia.org/wiki/New_Year's_Day
133
133
  """
134
134
  return self._add_holiday_jan_1(name)
135
135
 
@@ -139,7 +139,7 @@ class InternationalHolidays:
139
139
 
140
140
  New Year's Day is a festival observed in most of the world on
141
141
  1 January, the first day of the year in the modern Gregorian calendar.
142
- https://en.wikipedia.org/wiki/New_Year%27s_Day
142
+ https://en.wikipedia.org/wiki/New_Year's_Day
143
143
  """
144
144
  return self._add_holiday_jan_2(name)
145
145
 
@@ -149,7 +149,7 @@ class InternationalHolidays:
149
149
 
150
150
  New Year's Day is a festival observed in most of the world on
151
151
  1 January, the first day of the year in the modern Gregorian calendar.
152
- https://en.wikipedia.org/wiki/New_Year%27s_Day
152
+ https://en.wikipedia.org/wiki/New_Year's_Day
153
153
  """
154
154
  return self._add_holiday_jan_3(name)
155
155
 
@@ -159,7 +159,7 @@ class InternationalHolidays:
159
159
 
160
160
  New Year's Day is a festival observed in most of the world on
161
161
  1 January, the first day of the year in the modern Gregorian calendar.
162
- https://en.wikipedia.org/wiki/New_Year%27s_Day
162
+ https://en.wikipedia.org/wiki/New_Year's_Day
163
163
  """
164
164
  return self._add_holiday_jan_4(name)
165
165
 
@@ -180,7 +180,7 @@ class InternationalHolidays:
180
180
  In the Gregorian calendar, New Year's Eve, also known as Old Year's
181
181
  Day or Saint Sylvester's Day in many countries, is the evening or the
182
182
  entire day of the last day of the year, on 31 December.
183
- https://en.wikipedia.org/wiki/New_Year%27s_Eve
183
+ https://en.wikipedia.org/wiki/New_Year's_Eve
184
184
  """
185
185
  return self._add_holiday_dec_31(name)
186
186
 
@@ -192,7 +192,7 @@ class InternationalHolidays:
192
192
  point in the women's rights movement, bringing attention to issues
193
193
  such as gender equality, reproductive rights, and violence and abuse
194
194
  against women.
195
- https://en.wikipedia.org/wiki/International_Women%27s_Day
195
+ https://en.wikipedia.org/wiki/International_Women's_Day
196
196
  """
197
197
  return self._add_holiday_mar_8(name)
198
198
 
@@ -299,7 +299,7 @@ class IslamicHolidays(EasternCalendarHolidays):
299
299
  Add Isra' and Mi'raj Day (27th day of 7th month).
300
300
 
301
301
  The Prophet's Ascension.
302
- https://en.wikipedia.org/wiki/Isra%27_and_Mi%27raj
302
+ https://en.wikipedia.org/wiki/Isra'_and_Mi'raj
303
303
  """
304
304
  return self._add_islamic_calendar_holiday(
305
305
  name, self._islamic_calendar.isra_and_miraj_dates(self._year)
@@ -399,7 +399,7 @@ class IslamicHolidays(EasternCalendarHolidays):
399
399
  """
400
400
  Add birthday of Prophet Muhammad and Ja'far al-Sadiq day (17th day of 3rd month).
401
401
 
402
- https://en.wikipedia.org/wiki/Ja%27far_al-Sadiq
402
+ https://en.wikipedia.org/wiki/Ja'far_al-Sadiq
403
403
  """
404
404
  return self._add_islamic_calendar_holiday(
405
405
  name, self._islamic_calendar.sadiq_birthday_dates(self._year)
@@ -409,7 +409,7 @@ class IslamicHolidays(EasternCalendarHolidays):
409
409
  """
410
410
  Add death of Ja'far al-Sadiq day (25th day of 10th month).
411
411
 
412
- https://en.wikipedia.org/wiki/Ja%27far_al-Sadiq
412
+ https://en.wikipedia.org/wiki/Ja'far_al-Sadiq
413
413
  """
414
414
  return self._add_islamic_calendar_holiday(
415
415
  name, self._islamic_calendar.sadiq_death_dates(self._year)
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
holidays/registry.py CHANGED
@@ -21,6 +21,7 @@ RegistryDict = dict[str, tuple[str, ...]]
21
21
 
22
22
  COUNTRIES: RegistryDict = {
23
23
  "afghanistan": ("Afghanistan", "AF", "AFG"),
24
+ "aland_islands": ("AlandIslands", "AX", "ALA", "HolidaysAX"),
24
25
  "albania": ("Albania", "AL", "ALB"),
25
26
  "algeria": ("Algeria", "DZ", "DZA"),
26
27
  "american_samoa": ("AmericanSamoa", "AS", "ASM", "HolidaysAS"),
@@ -40,10 +41,13 @@ COUNTRIES: RegistryDict = {
40
41
  "belarus": ("Belarus", "BY", "BLR"),
41
42
  "belgium": ("Belgium", "BE", "BEL"),
42
43
  "belize": ("Belize", "BZ", "BLZ"),
44
+ "benin": ("Benin", "BJ", "BEN"),
45
+ "bermuda": ("Bermuda", "BM", "BMU"),
43
46
  "bolivia": ("Bolivia", "BO", "BOL"),
44
47
  "bosnia_and_herzegovina": ("BosniaAndHerzegovina", "BA", "BIH"),
45
48
  "botswana": ("Botswana", "BW", "BWA"),
46
49
  "brazil": ("Brazil", "BR", "BRA"),
50
+ "british_virgin_islands": ("BritishVirginIslands", "VG", "VGB"),
47
51
  "brunei": ("Brunei", "BN", "BRN"),
48
52
  "bulgaria": ("Bulgaria", "BG", "BLG"),
49
53
  "burkina_faso": ("BurkinaFaso", "BF", "BFA"),
@@ -71,6 +75,7 @@ COUNTRIES: RegistryDict = {
71
75
  "egypt": ("Egypt", "EG", "EGY"),
72
76
  "jordan": ("Jordan", "JO", "JOR"),
73
77
  "el_salvador": ("ElSalvador", "SV", "SLV"),
78
+ "equatorial_guinea": ("EquatorialGuinea", "GQ", "GNQ"),
74
79
  "estonia": ("Estonia", "EE", "EST"),
75
80
  "eswatini": ("Eswatini", "SZ", "SZW", "Swaziland"),
76
81
  "ethiopia": ("Ethiopia", "ET", "ETH"),
@@ -198,6 +203,7 @@ COUNTRIES: RegistryDict = {
198
203
  "vatican_city": ("VaticanCity", "VA", "VAT"),
199
204
  "venezuela": ("Venezuela", "VE", "VEN"),
200
205
  "vietnam": ("Vietnam", "VN", "VNM"),
206
+ "yemen": ("Yemen", "YE", "YEM"),
201
207
  "zambia": ("Zambia", "ZM", "ZMB"),
202
208
  "zimbabwe": ("Zimbabwe", "ZW", "ZWE"),
203
209
  }
holidays/version.py CHANGED
@@ -10,4 +10,4 @@
10
10
  # Website: https://github.com/vacanza/holidays
11
11
  # License: MIT (see LICENSE file)
12
12
 
13
- __version__ = "0.73"
13
+ __version__ = "0.74"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: holidays
3
- Version: 0.73
3
+ Version: 0.74
4
4
  Summary: Open World Holidays Framework
5
5
  Author: Vacanza Team
6
6
  Maintainer: Arkadii Yakovets, Panpakorn Siripanich, Serhii Murza
@@ -142,7 +142,7 @@ and detailed information.
142
142
 
143
143
  ## Available Countries
144
144
 
145
- We currently support 175 country codes. The standard way to refer to a country is by using its [ISO
145
+ We currently support 181 country codes. The standard way to refer to a country is by using its [ISO
146
146
  3166-1 alpha-2 code](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes), the same used
147
147
  for domain names, and for a subdivision its [ISO 3166-2
148
148
  code](https://en.wikipedia.org/wiki/ISO_3166-2). Some countries have common or foreign names or
@@ -191,6 +191,13 @@ any) in brackets, available languages and additional holiday categories. All cou
191
191
  <td></td>
192
192
  </tr>
193
193
  <tr>
194
+ <td>Aland Islands</td>
195
+ <td>AX</td>
196
+ <td>Can also be loaded as country FI, subdivision 01</td>
197
+ <td>en_US, <strong>fi</strong>, sv_FI, th, uk</td>
198
+ <td>UNOFFICIAL, WORKDAY</td>
199
+ </tr>
200
+ <tr>
194
201
  <td>Albania</td>
195
202
  <td>AL</td>
196
203
  <td></td>
@@ -324,6 +331,20 @@ any) in brackets, available languages and additional holiday categories. All cou
324
331
  <td></td>
325
332
  </tr>
326
333
  <tr>
334
+ <td>Benin</td>
335
+ <td>BJ</td>
336
+ <td></td>
337
+ <td>en_US, <strong>fr_BJ</strong></td>
338
+ <td>WORKDAY</td>
339
+ </tr>
340
+ <tr>
341
+ <td>Bermuda</td>
342
+ <td>BM</td>
343
+ <td></td>
344
+ <td></td>
345
+ <td></td>
346
+ </tr>
347
+ <tr>
327
348
  <td>Bolivia</td>
328
349
  <td>BO</td>
329
350
  <td>Departments: B (El Beni), C (Cochabamba), H (Chuquisaca), L (La Paz), N (Pando), O (Oruro), P (Potosí), S (Santa Cruz), T (Tarija)</td>
@@ -352,6 +373,13 @@ any) in brackets, available languages and additional holiday categories. All cou
352
373
  <td>OPTIONAL</td>
353
374
  </tr>
354
375
  <tr>
376
+ <td>British Virgin Islands</td>
377
+ <td>VG</td>
378
+ <td></td>
379
+ <td>en_US, <strong>en_VG</strong></td>
380
+ <td></td>
381
+ </tr>
382
+ <tr>
355
383
  <td>Brunei</td>
356
384
  <td>BN</td>
357
385
  <td></td>
@@ -534,6 +562,13 @@ any) in brackets, available languages and additional holiday categories. All cou
534
562
  <td></td>
535
563
  </tr>
536
564
  <tr>
565
+ <td>Equatorial Guinea</td>
566
+ <td>GQ</td>
567
+ <td>Provinces: AN (Annobón, Annobon), BN (Bioko Norte, North Bioko), BS (Bioko Sur, South Bioko), CS (Centro Sur, South Center), DJ (Djibloho), KN (Kié-Ntem, Kie-Ntem), LI (Litoral, Coast), WN (Wele-Nzas)</td>
568
+ <td>en_US, <strong>es</strong></td>
569
+ <td></td>
570
+ </tr>
571
+ <tr>
537
572
  <td>Estonia</td>
538
573
  <td>EE</td>
539
574
  <td></td>
@@ -564,9 +599,9 @@ any) in brackets, available languages and additional holiday categories. All cou
564
599
  <tr>
565
600
  <td>Finland</td>
566
601
  <td>FI</td>
567
- <td></td>
568
- <td>en_US, <strong>fi</strong>, sv_FI, uk</td>
569
- <td>UNOFFICIAL</td>
602
+ <td>Regions: 01 (Ahvenanmaan maakunta, Landskapet Åland), 02 (Etelä-Karjala, Södra Karelen), 03 (Etelä-Pohjanmaa, Södra Österbotten), 04 (Etelä-Savo, Södra Savolax), 05 (Kainuu, Kajanaland), 06 (Kanta-Häme, Egentliga Tavastland), 07 (Keski-Pohjanmaa, Mellersta Österbotten), 08 (Keski-Suomi, Mellersta Finland), 09 (Kymenlaakso, Kymmenedalen), 10 (Lappi, Lappland), 11 (Pirkanmaa, Birkaland), 12 (Pohjanmaa, Österbotten), 13 (Pohjois-Karjala, Norra Karelen), 14 (Pohjois-Pohjanmaa, Norra Österbotten), 15 (Pohjois-Savo, Norra Savolax), 16 (Päijät-Häme, Päijänne-Tavastland), 17 (Satakunta), 18 (Uusimaa, Nyland), 19 (Varsinais-Suomi, Egentliga Finland)</td>
603
+ <td>en_US, <strong>fi</strong>, sv_FI, th, uk</td>
604
+ <td>UNOFFICIAL, WORKDAY</td>
570
605
  </tr>
571
606
  <tr>
572
607
  <td>France</td>
@@ -1000,8 +1035,8 @@ any) in brackets, available languages and additional holiday categories. All cou
1000
1035
  <td>North Macedonia</td>
1001
1036
  <td>MK</td>
1002
1037
  <td></td>
1003
- <td></td>
1004
- <td></td>
1038
+ <td>en_US, <strong>mk</strong>, uk</td>
1039
+ <td>ALBANIAN, BOSNIAN, CATHOLIC, HEBREW, ISLAMIC, ORTHODOX, ROMA, SERBIAN, TURKISH, VLACH</td>
1005
1040
  </tr>
1006
1041
  <tr>
1007
1042
  <td>Norway</td>
@@ -1259,7 +1294,7 @@ any) in brackets, available languages and additional holiday categories. All cou
1259
1294
  <td>Thailand</td>
1260
1295
  <td>TH</td>
1261
1296
  <td></td>
1262
- <td>en_US, <strong>th</strong></td>
1297
+ <td>en_US, <strong>th</strong>, uk</td>
1263
1298
  <td>ARMED_FORCES, BANK, GOVERNMENT, SCHOOL, WORKDAY</td>
1264
1299
  </tr>
1265
1300
  <tr>
@@ -1403,6 +1438,13 @@ any) in brackets, available languages and additional holiday categories. All cou
1403
1438
  <td>GOVERNMENT, UNOFFICIAL</td>
1404
1439
  </tr>
1405
1440
  <tr>
1441
+ <td>Yemen</td>
1442
+ <td>YE</td>
1443
+ <td></td>
1444
+ <td><strong>ar</strong>, en_US</td>
1445
+ <td>SCHOOL, WORKDAY</td>
1446
+ </tr>
1447
+ <tr>
1406
1448
  <td>Zambia</td>
1407
1449
  <td>ZM</td>
1408
1450
  <td></td>