-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Commented _globals and utils, removed unuseful tests and updated…
… README
- Loading branch information
Showing
6 changed files
with
27 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,27 @@ | ||
# URL from SIGPAC service | ||
BASE_URL = "https://sigpac.mapama.gob.es" | ||
|
||
|
||
# Provinces divided into communities | ||
# https://www.ine.es/daco/daco42/codmun/cod_ccaa_provincia.htm | ||
PROVINCES_BY_COMMUNITY = { | ||
1: [4, 11, 14, 18, 21, 23, 29, 41], | ||
2: [22, 44, 50], | ||
3: [33], | ||
4: [7], | ||
5: [35, 38], | ||
6: [39], | ||
7: [5, 9, 24, 34, 37, 40, 42, 47, 49], | ||
8: [2, 13, 16, 19, 45], | ||
9: [8, 17, 25, 43], | ||
10: [3, 12, 46], | ||
11: [6, 10], | ||
12: [15, 27, 32, 36], | ||
13: [28], | ||
14: [30], | ||
15: [31], | ||
16: [1, 20, 48], | ||
17: [26], | ||
18: [51], | ||
19: [52], | ||
1: [4, 11, 14, 18, 21, 23, 29, 41], # Andalucía : [Almería, Cádiz, Córdoba, Granada, Huelva, Jaén, Málaga, Sevilla] | ||
2: [22, 44, 50], # Aragón : [Huesca, Teruel, Zaragoza] | ||
3: [33], # Principado de Asturias : [Asturias] | ||
4: [7], # Illes Balears : [Illes Balears] | ||
5: [35, 38], # Canarias : [Las Palmas, Santa Cruz de Tenerife] | ||
6: [39], # Cantabria : [Cantabria] | ||
7: [5, 9, 24, 34, 37, 40, 42, 47, 49], # Castilla y León : [Ávila, Burgos, León, Palencia, Salamanca, Segovia, Soria, Valladolid, Zamora] | ||
8: [2, 13, 16, 19, 45], # Castilla-La Mancha : [Albacete, Ciudad Real, Cuenca, Guadalajara, Toledo] | ||
9: [8, 17, 25, 43], # Cataluña : [Barcelona, Girona, Lleida, Tarragona] | ||
10: [3, 12, 46], # Comunitat Valenciana : [Alicante, Castellón, Valencia] | ||
11: [6, 10], # Extremadura : [Badajoz, Cáceres] | ||
12: [15, 27, 32, 36], # Galicia : [A Coruña, Lugo, Ourense, Pontevedra] | ||
13: [28], # Comunidad de Madrid : [Madrid] | ||
14: [30], # Región de Murcia : [Murcia] | ||
15: [31], # Comunidad Foral de Navarra : [Navarra] | ||
16: [1, 20, 48], # País Vasco : [Álava, Gipuzkoa, Bizkaia] | ||
17: [26], # La Rioja : [La Rioja] | ||
18: [51], # Ceuta : [Ceuta] | ||
19: [52], # Melilla : [Melilla] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters