holidays 0.63__py3-none-any.whl → 0.65__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/calendars/hebrew.py +32 -3
  2. holidays/constants.py +1 -0
  3. holidays/countries/__init__.py +1 -0
  4. holidays/countries/afghanistan.py +192 -0
  5. holidays/countries/azerbaijan.py +2 -2
  6. holidays/countries/belarus.py +93 -14
  7. holidays/countries/el_salvador.py +45 -24
  8. holidays/countries/iran.py +3 -0
  9. holidays/countries/israel.py +55 -80
  10. holidays/countries/kazakhstan.py +2 -2
  11. holidays/countries/lithuania.py +1 -4
  12. holidays/countries/montenegro.py +143 -27
  13. holidays/countries/norway.py +1 -1
  14. holidays/countries/poland.py +9 -1
  15. holidays/countries/russia.py +1 -1
  16. holidays/countries/south_korea.py +2 -0
  17. holidays/countries/thailand.py +1 -2
  18. holidays/countries/ukraine.py +19 -10
  19. holidays/financial/ny_stock_exchange.py +81 -44
  20. holidays/groups/__init__.py +1 -0
  21. holidays/groups/christian.py +2 -0
  22. holidays/groups/custom.py +12 -0
  23. holidays/groups/hebrew.py +151 -0
  24. holidays/groups/persian.py +11 -0
  25. holidays/holiday_base.py +15 -8
  26. holidays/locale/be/LC_MESSAGES/BY.mo +0 -0
  27. holidays/locale/be/LC_MESSAGES/BY.po +53 -17
  28. holidays/locale/cnr/LC_MESSAGES/ME.mo +0 -0
  29. holidays/locale/cnr/LC_MESSAGES/ME.po +102 -0
  30. holidays/locale/en_US/LC_MESSAGES/AF.mo +0 -0
  31. holidays/locale/en_US/LC_MESSAGES/AF.po +92 -0
  32. holidays/locale/en_US/LC_MESSAGES/BY.mo +0 -0
  33. holidays/locale/en_US/LC_MESSAGES/BY.po +61 -20
  34. holidays/locale/en_US/LC_MESSAGES/ME.mo +0 -0
  35. holidays/locale/en_US/LC_MESSAGES/ME.po +102 -0
  36. holidays/locale/en_US/LC_MESSAGES/PL.mo +0 -0
  37. holidays/locale/en_US/LC_MESSAGES/PL.po +7 -5
  38. holidays/locale/en_US/LC_MESSAGES/SV.mo +0 -0
  39. holidays/locale/en_US/LC_MESSAGES/SV.po +75 -0
  40. holidays/locale/es/LC_MESSAGES/SV.mo +0 -0
  41. holidays/locale/es/LC_MESSAGES/SV.po +75 -0
  42. holidays/locale/fa_AF/LC_MESSAGES/AF.mo +0 -0
  43. holidays/locale/fa_AF/LC_MESSAGES/AF.po +92 -0
  44. holidays/locale/pl/LC_MESSAGES/PL.mo +0 -0
  45. holidays/locale/pl/LC_MESSAGES/PL.po +8 -4
  46. holidays/locale/ps_AF/LC_MESSAGES/AF.mo +0 -0
  47. holidays/locale/ps_AF/LC_MESSAGES/AF.po +92 -0
  48. holidays/locale/ru/LC_MESSAGES/BY.mo +0 -0
  49. holidays/locale/ru/LC_MESSAGES/BY.po +111 -0
  50. holidays/locale/th/LC_MESSAGES/BY.mo +0 -0
  51. holidays/locale/th/LC_MESSAGES/BY.po +109 -0
  52. holidays/locale/th/LC_MESSAGES/NO.mo +0 -0
  53. holidays/locale/th/LC_MESSAGES/NO.po +80 -0
  54. holidays/locale/th/LC_MESSAGES/RU.mo +0 -0
  55. holidays/locale/th/LC_MESSAGES/RU.po +90 -0
  56. holidays/locale/th/LC_MESSAGES/UA.mo +0 -0
  57. holidays/locale/th/LC_MESSAGES/UA.po +114 -0
  58. holidays/locale/uk/LC_MESSAGES/ME.mo +0 -0
  59. holidays/locale/uk/LC_MESSAGES/ME.po +102 -0
  60. holidays/locale/uk/LC_MESSAGES/PL.mo +0 -0
  61. holidays/locale/uk/LC_MESSAGES/PL.po +7 -5
  62. holidays/locale/uk/LC_MESSAGES/SV.mo +0 -0
  63. holidays/locale/uk/LC_MESSAGES/SV.po +75 -0
  64. holidays/registry.py +1 -0
  65. holidays/version.py +1 -1
  66. {holidays-0.63.dist-info → holidays-0.65.dist-info}/AUTHORS +1 -0
  67. {holidays-0.63.dist-info → holidays-0.65.dist-info}/METADATA +17 -12
  68. {holidays-0.63.dist-info → holidays-0.65.dist-info}/RECORD +71 -41
  69. {holidays-0.63.dist-info → holidays-0.65.dist-info}/WHEEL +1 -1
  70. {holidays-0.63.dist-info → holidays-0.65.dist-info}/LICENSE +0 -0
  71. {holidays-0.63.dist-info → holidays-0.65.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,102 @@
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 AUTHORS 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
+ # Montenegro holidays uk localization.
14
+ #
15
+ msgid ""
16
+ msgstr ""
17
+ "Project-Id-Version: Holidays 0.64\n"
18
+ "POT-Creation-Date: 2024-11-09 15:23+0200\n"
19
+ "PO-Revision-Date: 2024-12-24 17:55+0200\n"
20
+ "Last-Translator: ~Jhellico <jhellico@gmail.com>\n"
21
+ "Language-Team: Holidays Localization Team\n"
22
+ "Language: uk\n"
23
+ "MIME-Version: 1.0\n"
24
+ "Content-Type: text/plain; charset=UTF-8\n"
25
+ "Content-Transfer-Encoding: 8bit\n"
26
+ "Generated-By: Lingva 5.0.4\n"
27
+ "X-Generator: Poedit 3.5\n"
28
+
29
+ #. %s (estimated).
30
+ #, c-format
31
+ msgid "%s (procijenjeno)"
32
+ msgstr "%s (приблизна дата)"
33
+
34
+ #. %s (observed).
35
+ #, c-format
36
+ msgid "%s (neradni dan)"
37
+ msgstr "%s (вихідний)"
38
+
39
+ #. %s (observed, estimated).
40
+ #, c-format
41
+ msgid "%s (neradni dan, procijenjeno)"
42
+ msgstr "%s (вихідний, приблизна дата)"
43
+
44
+ #. New Year's Day.
45
+ msgid "Nova godina"
46
+ msgstr "Новий рік"
47
+
48
+ #. Labor Day.
49
+ msgid "Praznik rada"
50
+ msgstr "День праці"
51
+
52
+ #. Independence Day.
53
+ msgid "Dan nezavisnosti"
54
+ msgstr "День незалежності"
55
+
56
+ #. Statehood Day.
57
+ msgid "Dan državnosti"
58
+ msgstr "День державності"
59
+
60
+ #. Njegos Day.
61
+ msgid "Njegošev dan"
62
+ msgstr "День Нєґоша"
63
+
64
+ #. Good Friday.
65
+ msgid "Veliki petak"
66
+ msgstr "Страсна пʼятниця"
67
+
68
+ #. Easter.
69
+ msgid "Uskrs"
70
+ msgstr "Великдень"
71
+
72
+ #. All Saints' Day.
73
+ msgid "Svi Sveti"
74
+ msgstr "День усіх святих"
75
+
76
+ #. Christmas Eve.
77
+ msgid "Badnji dan"
78
+ msgstr "Святий вечір"
79
+
80
+ #. Christmas.
81
+ msgid "Božić"
82
+ msgstr "Різдво Христове"
83
+
84
+ #. Pesach.
85
+ msgid "Pasha"
86
+ msgstr "Песах"
87
+
88
+ #. Yom Kippur.
89
+ msgid "Jom Kipur"
90
+ msgstr "Йом Кіпур"
91
+
92
+ #. Eid al-Fitr.
93
+ msgid "Ramazanski bajram"
94
+ msgstr "Рамазан-байрам"
95
+
96
+ #. Eid al-Adha.
97
+ msgid "Kurbanski bajram"
98
+ msgstr "Курбан-байрам"
99
+
100
+ #. Ecological State Day.
101
+ msgid "Dan Ekološke države"
102
+ msgstr "День екологічної держави"
Binary file
@@ -14,19 +14,17 @@
14
14
  #
15
15
  msgid ""
16
16
  msgstr ""
17
- "Project-Id-Version: Holidays 0.20\n"
17
+ "Project-Id-Version: Holidays 0.64\n"
18
18
  "POT-Creation-Date: 2023-02-14 20:19+0200\n"
19
- "PO-Revision-Date: 2024-01-02 19:09+0200\n"
19
+ "PO-Revision-Date: 2025-01-03 19:32+0200\n"
20
20
  "Last-Translator: ~Jhellico <jhellico@gmail.com>\n"
21
21
  "Language-Team: Holidays Localization Team\n"
22
22
  "Language: uk\n"
23
23
  "MIME-Version: 1.0\n"
24
24
  "Content-Type: text/plain; charset=UTF-8\n"
25
25
  "Content-Transfer-Encoding: 8bit\n"
26
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
27
26
  "Generated-By: pygettext.py 1.5\n"
28
- "X-Generator: Poedit 3.4\n"
29
- "X-Poedit-SourceCharset: UTF-8\n"
27
+ "X-Generator: Poedit 3.5\n"
30
28
 
31
29
  #. National Independence Day - 100th anniversary.
32
30
  msgid "Narodowe Święto Niepodległości - 100-lecie"
@@ -104,6 +102,10 @@ msgstr "День Незалежності"
104
102
  msgid "Niepokalane Poczęcie Najświętszej Marii Panny"
105
103
  msgstr "Непорочне зачаття Діви Марії"
106
104
 
105
+ #. Christmas Eve.
106
+ msgid "Wigilia Bożego Narodzenia"
107
+ msgstr "Святий вечір"
108
+
107
109
  #. Christmas Day.
108
110
  msgid "Boże Narodzenie (pierwszy dzień)"
109
111
  msgstr "Різдво Христове"
Binary file
@@ -0,0 +1,75 @@
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 AUTHORS 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
+ # El Salvador holidays uk localization.
14
+ #
15
+ msgid ""
16
+ msgstr ""
17
+ "Project-Id-Version: Holidays 0.64\n"
18
+ "POT-Creation-Date: 2025-01-03 16:40+0200\n"
19
+ "PO-Revision-Date: 2025-01-03 16:50+0200\n"
20
+ "Last-Translator: ~Jhellico <jhellico@gmail.com>\n"
21
+ "Language-Team: Holidays Localization Team\n"
22
+ "Language: uk\n"
23
+ "MIME-Version: 1.0\n"
24
+ "Content-Type: text/plain; charset=UTF-8\n"
25
+ "Content-Transfer-Encoding: 8bit\n"
26
+ "Generated-By: Lingva 5.0.4\n"
27
+ "X-Generator: Poedit 3.5\n"
28
+
29
+ #. New Year's Day.
30
+ msgid "Año Nuevo"
31
+ msgstr "Новий рік"
32
+
33
+ #. Maundy Thursday.
34
+ msgid "Jueves Santo"
35
+ msgstr "Великий четвер"
36
+
37
+ #. Good Friday.
38
+ msgid "Viernes Santo"
39
+ msgstr "Страсна пʼятниця"
40
+
41
+ #. Holy Saturday.
42
+ msgid "Sábado Santo"
43
+ msgstr "Велика субота"
44
+
45
+ #. Labor Day.
46
+ msgid "Día del Trabajo"
47
+ msgstr "День праці"
48
+
49
+ #. Mother's Day.
50
+ msgid "Día de la Madre"
51
+ msgstr "День матері"
52
+
53
+ #. Father's Day.
54
+ msgid "Día del Padre"
55
+ msgstr "День батька"
56
+
57
+ #. Celebrations of San Salvador.
58
+ msgid "Celebración del Divino Salvador del Mundo"
59
+ msgstr "Свято Божественного Спасителя світу"
60
+
61
+ #. Independence Day.
62
+ msgid "Día de la Independencia"
63
+ msgstr "День незалежності"
64
+
65
+ #. All Souls' Day.
66
+ msgid "Día de los Difuntos"
67
+ msgstr "День усіх померлих"
68
+
69
+ #. Christmas Day.
70
+ msgid "Navidad"
71
+ msgstr "Різдво Христове"
72
+
73
+ #. Feast of San Salvador.
74
+ msgid "Fiesta de San Salvador"
75
+ msgstr "Свято Спасителя"
holidays/registry.py CHANGED
@@ -20,6 +20,7 @@ from holidays.holiday_base import HolidayBase
20
20
  RegistryDict = dict[str, tuple[str, ...]]
21
21
 
22
22
  COUNTRIES: RegistryDict = {
23
+ "afghanistan": ("Afghanistan", "AF", "AFG"),
23
24
  "albania": ("Albania", "AL", "ALB"),
24
25
  "algeria": ("Algeria", "DZ", "DZA"),
25
26
  "american_samoa": ("AmericanSamoa", "AS", "ASM", "HolidaysAS"),
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.63"
13
+ __version__ = "0.65"
@@ -111,6 +111,7 @@ Pedro Baptista
111
111
  Peter Zsak
112
112
  Pieter van der Westhuizen
113
113
  Piotr Staniów
114
+ Prateekshit Jaiswal
114
115
  Raphael Borg Ellul Vincenti
115
116
  Raychel Mattheeuw
116
117
  Reinaldo Ramos
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: holidays
3
- Version: 0.63
3
+ Version: 0.65
4
4
  Summary: Open World Holidays Framework
5
5
  Author: Vacanza Team
6
6
  Maintainer: Arkadii Yakovets, Panpakorn Siripanich, Serhii Murza
@@ -183,7 +183,7 @@ Available Countries
183
183
  .. _ISO 639-1 code: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
184
184
  .. _ISO 639-2 code: https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
185
185
 
186
- We currently support 155 country codes. The standard way to refer to a country
186
+ We currently support 156 country codes. The standard way to refer to a country
187
187
  is by using its `ISO 3166-1 alpha-2 code`_, the same used for domain names, and
188
188
  for a subdivision its `ISO 3166-2 code`_. Some countries have common or foreign
189
189
  names or abbreviations as aliases for their subdivisions. These are defined in
@@ -217,6 +217,11 @@ All other default values are highlighted with bold:
217
217
  - Subdivisions
218
218
  - Supported Languages
219
219
  - Supported Categories
220
+ * - Afghanistan
221
+ - AF
222
+ -
223
+ - en_US, **fa_AF**, ps_AF
224
+ -
220
225
  * - Albania
221
226
  - AL
222
227
  -
@@ -295,8 +300,8 @@ All other default values are highlighted with bold:
295
300
  * - Belarus
296
301
  - BY
297
302
  -
298
- - **be**, en_US
299
- -
303
+ - **be**, en_US, ru, th
304
+ - WORKDAY
300
305
  * - Belgium
301
306
  - BE
302
307
  -
@@ -449,8 +454,8 @@ All other default values are highlighted with bold:
449
454
  -
450
455
  * - El Salvador
451
456
  - SV
452
- - Departments: AH, CA, CH, CU, LI, MO, PA, SA, SM, SO, SS, SV, UN, US
453
- -
457
+ - Departments: AH (Ahuachapán), CA (Cabañas), CH (Chalatenango), CU (Cuscatlán), LI (La Libertad), MO (Morazán), PA (La Paz), SA (Santa Ana), SM (San Miguel), SO (Sonsonate), SS (San Salvador), SV (San Vicente), UN (La Unión), US (Usulután)
458
+ - en_US, **es**, uk
454
459
  -
455
460
  * - Estonia
456
461
  - EE
@@ -705,8 +710,8 @@ All other default values are highlighted with bold:
705
710
  * - Montenegro
706
711
  - ME
707
712
  -
708
- -
709
- -
713
+ - **cnr**, en_US, uk
714
+ - CATHOLIC, HEBREW, ISLAMIC, ORTHODOX, WORKDAY
710
715
  * - Morocco
711
716
  - MA
712
717
  -
@@ -755,7 +760,7 @@ All other default values are highlighted with bold:
755
760
  * - Norway
756
761
  - NO
757
762
  -
758
- - en_US, **no**, uk
763
+ - en_US, **no**, th, uk
759
764
  -
760
765
  * - Pakistan
761
766
  - PK
@@ -815,7 +820,7 @@ All other default values are highlighted with bold:
815
820
  * - Russia
816
821
  - RU
817
822
  -
818
- - en_US, **ru**
823
+ - en_US, **ru**, th
819
824
  -
820
825
  * - Saint Kitts and Nevis
821
826
  - KN
@@ -925,7 +930,7 @@ All other default values are highlighted with bold:
925
930
  * - Ukraine
926
931
  - UA
927
932
  -
928
- - ar, en_US, **uk**
933
+ - ar, en_US, th, **uk**
929
934
  - WORKDAY
930
935
  * - United Arab Emirates
931
936
  - AE