Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 82 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ and detailed information.

## Available Countries

We currently support 191 country codes. The standard way to refer to a country is by using its [ISO
We currently support 202 country codes. The standard way to refer to a country is by using its [ISO
3166-1 alpha-2 code](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes), the same used
for domain names, and for a subdivision its [ISO 3166-2
code](https://en.wikipedia.org/wiki/ISO_3166-2). Some countries have common or foreign names or
Expand Down Expand Up @@ -583,15 +583,29 @@ any) in brackets, available languages and additional holiday categories. All cou
<tr>
<td>France</td>
<td>FR</td>
<td>DOM/TOM: BL (Saint-Barthélemy), GES (Alsace, Champagne-Ardenne, Lorraine), GP (Guadeloupe), GY (Guyane), MF (Saint-Martin), MQ (Martinique), NC (Nouvelle-Calédonie), PF (Polynésie Française), RE (La Réunion), WF (Wallis-et-Futuna), YT (Mayotte)</td>
<td>en_US, <strong>fr</strong>, uk</td>
<td>Departments/European Collectivity/DOM/ROM/TOM: 57 (Moselle), 6AE (Alsace), 971 (GP, GUA, Guadeloupe), 972 (MQ, Martinique), 973 (GY, Guyane), 974 (RE, LRE, La Réunion), 976 (YT, MAY, Mayotte), BL (Saint-Barthélemy), MF (Saint-Martin), NC (Nouvelle-Calédonie), PF (Polynésie Française), PM (Saint-Pierre-et-Miquelon), TF (Terres australes françaises), WF (Wallis-et-Futuna)</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
Comment thread
PPsyrius marked this conversation as resolved.
<td></td>
</tr>
<tr>
<td>French Guiana</td>
<td>GF</td>
<td>Can also be loaded as country FR, subdivision 973</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>French Polynesia</td>
<td>PF</td>
<td>Can also be loaded as country FR, subdivision PF</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>French Southern Territories</td>
<td>TF</td>
<td></td>
<td>en_US, <strong>fr</strong>, uk</td>
<td>Can also be loaded as country FR, subdivision TF</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
Expand Down Expand Up @@ -644,6 +658,13 @@ any) in brackets, available languages and additional holiday categories. All cou
<td></td>
</tr>
<tr>
<td>Guadeloupe</td>
<td>GP</td>
<td>Can also be loaded as country FR, subdivision 971</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>Guam</td>
<td>GU</td>
<td>Can also be loaded as country US, subdivision GU</td>
Expand Down Expand Up @@ -917,13 +938,27 @@ any) in brackets, available languages and additional holiday categories. All cou
<td></td>
</tr>
<tr>
<td>Martinique</td>
<td>MQ</td>
<td>Can also be loaded as country FR, subdivision 972</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>Mauritania</td>
<td>MR</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Mayotte</td>
<td>YT</td>
<td>Can also be loaded as country FR, subdivision 976</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>Mexico</td>
<td>MX</td>
<td></td>
Expand Down Expand Up @@ -1001,6 +1036,13 @@ any) in brackets, available languages and additional holiday categories. All cou
<td>OPTIONAL</td>
</tr>
<tr>
<td>New Caledonia</td>
<td>NC</td>
<td>Can also be loaded as country FR, subdivision NC</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>New Zealand</td>
<td>NZ</td>
<td>Regions and Special Island Authorities: AUK (Auckland, Tāmaki-Makaurau, AU), BOP (Bay of Plenty, Toi Moana, BP), CAN (Canterbury, Waitaha, CA), CIT (Chatham Islands Territory, Chatham Islands, Wharekauri, CI), GIS (Gisborne, Te Tairāwhiti, GI), HKB (Hawke's Bay, Te Matau-a-Māui, HB), MBH (Marlborough, MA), MWT (Manawatū Whanganui, Manawatū-Whanganui, MW), NSN (Nelson, Whakatū, NE), NTL (Northland, Te Taitokerau, NO), OTA (Otago, Ō Tākou, OT), STL (Southland, Te Taiao Tonga, SO), TAS (Tasman, Te tai o Aorere, TS), TKI (Taranaki, TK), WGN (Greater Wellington, Te Pane Matua Taiao, Wellington, Te Whanganui-a-Tara, WG), WKO (Waikato, WK), WTC (West Coast, Te Tai o Poutini, WC); subregions: South Canterbury</td>
Expand Down Expand Up @@ -1134,6 +1176,13 @@ any) in brackets, available languages and additional holiday categories. All cou
<td>BANK</td>
</tr>
<tr>
<td>Reunion</td>
<td>RE</td>
<td>Can also be loaded as country FR, subdivision 974</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>Romania</td>
<td>RO</td>
<td></td>
Expand All @@ -1148,6 +1197,13 @@ any) in brackets, available languages and additional holiday categories. All cou
<td></td>
</tr>
<tr>
<td>Saint Barthélemy</td>
<td>BL</td>
<td>Can also be loaded as country FR, subdivision BL</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>Saint Kitts and Nevis</td>
<td>KN</td>
<td></td>
Expand All @@ -1162,6 +1218,20 @@ any) in brackets, available languages and additional holiday categories. All cou
<td></td>
</tr>
<tr>
<td>Saint Martin</td>
<td>MF</td>
<td>Can also be loaded as country FR, subdivision MF</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>Saint Pierre and Miquelon</td>
<td>PM</td>
<td>Can also be loaded as country FR, subdivision PM</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>Samoa</td>
<td>WS</td>
<td></td>
Expand Down Expand Up @@ -1470,6 +1540,13 @@ any) in brackets, available languages and additional holiday categories. All cou
<td>GOVERNMENT, UNOFFICIAL</td>
</tr>
<tr>
<td>Wallis and Futuna</td>
<td>WF</td>
<td>Can also be loaded as country FR, subdivision WF</td>
<td>en_US, <strong>fr</strong>, th, uk</td>
<td></td>
</tr>
<tr>
<td>Yemen</td>
<td>YE</td>
<td></td>
Expand Down
16 changes: 16 additions & 0 deletions holidays/countries/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@
from holidays.countries.fiji import Fiji, FJ, FJI
from holidays.countries.finland import Finland, FI, FIN
from holidays.countries.france import France, FR, FRA
from holidays.countries.french_guiana import FrenchGuiana, GF, GUF, HolidaysGF
from holidays.countries.french_polynesia import FrenchPolynesia, PF, PYF, HolidaysPF
from holidays.countries.french_southern_territories import (
FrenchSouthernTerritories,
TF,
Expand All @@ -88,6 +90,7 @@
from holidays.countries.greece import Greece, GR, GRC
from holidays.countries.greenland import Greenland, GL, GRL
from holidays.countries.grenada import Grenada, GD, GRD
from holidays.countries.guadeloupe import Guadeloupe, GP, GLP, HolidaysGP
from holidays.countries.guam import Guam, GU, GUM, HolidaysGU
from holidays.countries.guatemala import Guatemala, GT, GUA
from holidays.countries.guernsey import Guernsey, GG, GGY
Expand Down Expand Up @@ -127,7 +130,9 @@
from holidays.countries.maldives import Maldives, MV, MDV
from holidays.countries.malta import Malta, MT, MLT
from holidays.countries.marshall_islands import MarshallIslands, MH, MHL, HolidaysMH
from holidays.countries.martinique import Martinique, MQ, MTQ, HolidaysMQ
from holidays.countries.mauritania import Mauritania, MR, MRT
from holidays.countries.mayotte import Mayotte, YT, MYT, HolidaysYT
from holidays.countries.mexico import Mexico, MX, MEX
from holidays.countries.micronesia import Micronesia, FM, FSM
from holidays.countries.moldova import Moldova, MD, MDA
Expand All @@ -139,6 +144,7 @@
from holidays.countries.nauru import Nauru, NR, NRU
from holidays.countries.nepal import Nepal, NP, NPL
from holidays.countries.netherlands import Netherlands, NL, NLD
from holidays.countries.new_caledonia import NewCaledonia, NC, NCL, HolidaysNC
from holidays.countries.new_zealand import NewZealand, NZ, NZL
from holidays.countries.nicaragua import Nicaragua, NI, NIC
from holidays.countries.niger import Niger, NE, NER
Expand All @@ -158,10 +164,19 @@
from holidays.countries.portugal import Portugal, PT, PRT
from holidays.countries.puerto_rico import PuertoRico, PR, PRI, HolidaysPR
from holidays.countries.qatar import Qatar, QA, QAT
from holidays.countries.reunion import Reunion, RE, REU, HolidaysRE
from holidays.countries.romania import Romania, RO, ROU
from holidays.countries.russia import Russia, RU, RUS
from holidays.countries.saint_barthelemy import SaintBarthelemy, BL, BLM, HolidaysBL
from holidays.countries.saint_kitts_and_nevis import SaintKittsAndNevis, KN, KNA
from holidays.countries.saint_lucia import SaintLucia, LC, LCA
from holidays.countries.saint_martin import SaintMartin, MF, MAF, HolidaysMF
from holidays.countries.saint_pierre_and_miquelon import (
SaintPierreAndMiquelon,
PM,
SPM,
HolidaysPM,
)
from holidays.countries.samoa import Samoa, WS, WSM
from holidays.countries.san_marino import SanMarino, SM, SMR
from holidays.countries.sao_tome_and_principe import SaoTomeAndPrincipe, ST, STP
Expand Down Expand Up @@ -215,6 +230,7 @@
from holidays.countries.vatican_city import VaticanCity, VA, VAT
from holidays.countries.venezuela import Venezuela, VE, VEN
from holidays.countries.vietnam import Vietnam, VN, VNM
from holidays.countries.wallis_and_futuna import WallisAndFutuna, WF, WLF, HolidaysWF
from holidays.countries.yemen import Yemen, YE, YEM
from holidays.countries.zambia import Zambia, ZM, ZMB
from holidays.countries.zimbabwe import Zimbabwe, ZW, ZWE
Loading