summaryrefslogtreecommitdiff
path: root/ishtar_common/data.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-03-08 11:02:06 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-03-08 11:02:06 +0100
commitb8f302003c6c9eda078eceea16e3dd0546b6aea2 (patch)
tree7c940a4d1f4572fcbe00612a506fa2ba61a416a3 /ishtar_common/data.py
parenta3f6cb07e8e2340196530d9bca7466a83ab364d0 (diff)
downloadIshtar-b8f302003c6c9eda078eceea16e3dd0546b6aea2.tar.bz2
Ishtar-b8f302003c6c9eda078eceea16e3dd0546b6aea2.zip
🏷️ update french states and departments
Diffstat (limited to 'ishtar_common/data.py')
-rw-r--r--ishtar_common/data.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/ishtar_common/data.py b/ishtar_common/data.py
new file mode 100644
index 000000000..dcbc4aa09
--- /dev/null
+++ b/ishtar_common/data.py
@@ -0,0 +1,23 @@
+FRENCH_STATES = [
+ ("Auvergne-Rhône-Alpe", "FR-ARA", ("01", "03", "07", "15", "26", "38", "42", "43", "63", "69", "73", "74",)),
+ ("Bourgogne-Franche-Comté", "FR-BFC", ("21", "25", "39", "58", "70", "71", "89", "90",)),
+ ("Bretagne", "FR-BRE", ("22", "29", "35", "56",)),
+ ("Centre-Val de Loire", "FR-CVL", ("18", "28", "36", "37", "41", "45",)),
+ ("Corse", "FR-COR", ("2A", "2B",)),
+ ("Grand Est", "FR-GES", ("08", "10", "51", "52", "54", "55", "57", "67", "68", "88",)),
+ ("Hauts-de-France", "FR-HDF", ("02", "59", "60", "62", "80",)),
+ ("Ile-de-France", "FR-IDF", ("75", "77", "78", "91", "92", "93", "94", "95", )),
+ ("Normandie", "FR-NOR", ("14", "27", "50", "61", "76",)),
+ ("Nouvelle-Aquitaine", "FR-NAQ", ("16", "17", "19", "23", "24", "33", "40", "47", "64", "79", "86", "87",)),
+ ("Occitanie", "FR-OCC", ("09", "11", "12", "30", "31", "32", "34", "46", "48", "65", "66", "81", "82",)),
+ ("Pays de la Loire", "FR-PDL", ("44", "49", "53", "72", "85",)),
+ ("Provence Alpes Côte d’Azur", "FR-PAC", ("04", "05", "06", "13", "83", "84",)),
+]
+
+FRENCH_TOM_STATES = [
+ ("Guadeloupe", "FR-GUA", []),
+ ("Guyane", "FR-GUF", []),
+ ("Martinique", "FR-MTQ", []),
+ ("La Réunion", "FR-LRE", []),
+ ("Mayotte", "FR-MAY", []),
+]