471 lines
13 KiB
Python
471 lines
13 KiB
Python
# *-* coding: utf-8 *-*
|
|
from __future__ import unicode_literals
|
|
|
|
SI_POSTALCODES = [
|
|
(1000, 'Ljubljana'),
|
|
(1215, 'Medvode'),
|
|
(1216, 'Smlednik'),
|
|
(1217, 'Vodice'),
|
|
(1218, 'Komenda'),
|
|
(1219, 'Laze v Tuhinju'),
|
|
(1221, 'Motnik'),
|
|
(1222, 'Trojane'),
|
|
(1223, 'Blagovica'),
|
|
(1225, 'Lukovica'),
|
|
(1230, 'Dom\u017eale'),
|
|
(1233, 'Dob'),
|
|
(1234, 'Menge\u0161'),
|
|
(1235, 'Radomlje'),
|
|
(1236, 'Trzin'),
|
|
(1241, 'Kamnik'),
|
|
(1242, 'Stahovica'),
|
|
(1251, 'Morav\u010de'),
|
|
(1252, 'Va\u010de'),
|
|
(1262, 'Dol pri Ljubljani'),
|
|
(1270, 'Litija'),
|
|
(1272, 'Pol\u0161nik'),
|
|
(1273, 'Dole pri Litiji'),
|
|
(1274, 'Gabrovka'),
|
|
(1275, '\u0160martno pri Litiji'),
|
|
(1276, 'Primskovo'),
|
|
(1281, 'Kresnice'),
|
|
(1282, 'Sava'),
|
|
(1290, 'Grosuplje'),
|
|
(1291, '\u0160kofljica'),
|
|
(1292, 'Ig'),
|
|
(1293, '\u0160marje - Sap'),
|
|
(1294, 'Vi\u0161nja Gora'),
|
|
(1295, 'Ivan\u010dna Gorica'),
|
|
(1296, '\u0160entvid pri Sti\u010dni'),
|
|
(1301, 'Krka'),
|
|
(1303, 'Zagradec'),
|
|
(1310, 'Ribnica'),
|
|
(1311, 'Turjak'),
|
|
(1312, 'Videm - Dobrepolje'),
|
|
(1313, 'Struge'),
|
|
(1314, 'Rob'),
|
|
(1315, 'Velike La\u0161\u010de'),
|
|
(1316, 'Ortnek'),
|
|
(1317, 'Sodra\u017eica'),
|
|
(1318, 'Lo\u0161ki Potok'),
|
|
(1319, 'Draga'),
|
|
(1330, 'Ko\u010devje'),
|
|
(1331, 'Dolenja vas'),
|
|
(1332, 'Stara Cerkev'),
|
|
(1336, 'Kostel'),
|
|
(1337, 'Osilnica'),
|
|
(1338, 'Ko\u010devska Reka'),
|
|
(1351, 'Brezovica pri Ljubljani'),
|
|
(1352, 'Preserje'),
|
|
(1353, 'Borovnica'),
|
|
(1354, 'Horjul'),
|
|
(1355, 'Polhov Gradec'),
|
|
(1356, 'Dobrova'),
|
|
(1357, 'Notranje Gorice'),
|
|
(1358, 'Log pri Brezovici'),
|
|
(1360, 'Vrhnika'),
|
|
(1370, 'Logatec'),
|
|
(1372, 'Hotedr\u0161ica'),
|
|
(1373, 'Rovte'),
|
|
(1380, 'Cerknica'),
|
|
(1381, 'Rakek'),
|
|
(1382, 'Begunje pri Cerknici'),
|
|
(1384, 'Grahovo'),
|
|
(1385, 'Nova vas'),
|
|
(1386, 'Stari trg pri Lo\u017eu'),
|
|
(1410, 'Zagorje ob Savi'),
|
|
(1411, 'Izlake'),
|
|
(1412, 'Kisovec'),
|
|
(1413, '\u010cem\u0161enik'),
|
|
(1414, 'Podkum'),
|
|
(1420, 'Trbovlje'),
|
|
(1423, 'Dobovec'),
|
|
(1430, 'Hrastnik'),
|
|
(1431, 'Dol pri Hrastniku'),
|
|
(1432, 'Zidani Most'),
|
|
(1433, 'Rade\u010de'),
|
|
(1434, 'Loka pri Zidanem Mostu'),
|
|
(2000, 'Maribor'),
|
|
(2201, 'Zgornja Kungota'),
|
|
(2204, 'Miklav\u017e na Dravskem polju'),
|
|
(2205, 'Star\u0161e'),
|
|
(2206, 'Marjeta na Dravskem polju'),
|
|
(2208, 'Pohorje'),
|
|
(2211, 'Pesnica pri Mariboru'),
|
|
(2212, '\u0160entilj v Slovenskih goricah'),
|
|
(2213, 'Zgornja Velka'),
|
|
(2214, 'Sladki vrh'),
|
|
(2215, 'Cer\u0161ak'),
|
|
(2221, 'Jarenina'),
|
|
(2222, 'Jakobski Dol'),
|
|
(2223, 'Jurovski Dol'),
|
|
(2229, 'Male\u010dnik'),
|
|
(2230, 'Lenart v Slovenskih goricah'),
|
|
(2231, 'Pernica'),
|
|
(2232, 'Voli\u010dina'),
|
|
(2233, 'Sveta Ana v Slovenskih goricah'),
|
|
(2234, 'Benedikt'),
|
|
(2235, 'Sveta Trojica v Slovenskih goricah'),
|
|
(2236, 'Cerkvenjak'),
|
|
(2241, 'Spodnji Duplek'),
|
|
(2242, 'Zgornja Korena'),
|
|
(2250, 'Ptuj'),
|
|
(2252, 'Dornava'),
|
|
(2253, 'Destrnik'),
|
|
(2254, 'Trnovska vas'),
|
|
(2255, 'Vitomarci'),
|
|
(2256, 'Jur\u0161inci'),
|
|
(2257, 'Polen\u0161ak'),
|
|
(2258, 'Sveti Toma\u017e'),
|
|
(2259, 'Ivanjkovci'),
|
|
(2270, 'Ormo\u017e'),
|
|
(2272, 'Gori\u0161nica'),
|
|
(2273, 'Podgorci'),
|
|
(2274, 'Velika Nedelja'),
|
|
(2275, 'Miklav\u017e pri Ormo\u017eu'),
|
|
(2276, 'Kog'),
|
|
(2277, 'Sredi\u0161\u010de ob Dravi'),
|
|
(2281, 'Markovci'),
|
|
(2282, 'Cirkulane'),
|
|
(2283, 'Zavr\u010d'),
|
|
(2284, 'Videm pri Ptuju'),
|
|
(2285, 'Zgornji Leskovec'),
|
|
(2286, 'Podlehnik'),
|
|
(2287, '\u017detale'),
|
|
(2288, 'Hajdina'),
|
|
(2289, 'Stoperce'),
|
|
(2310, 'Slovenska Bistrica'),
|
|
(2311, 'Ho\u010de'),
|
|
(2312, 'Orehova vas'),
|
|
(2313, 'Fram'),
|
|
(2314, 'Zgornja Polskava'),
|
|
(2315, '\u0160martno na Pohorju'),
|
|
(2316, 'Zgornja Lo\u017enica'),
|
|
(2317, 'Oplotnica'),
|
|
(2318, 'Laporje'),
|
|
(2319, 'Polj\u010dane'),
|
|
(2321, 'Makole'),
|
|
(2322, 'Maj\u0161perk'),
|
|
(2323, 'Ptujska Gora'),
|
|
(2324, 'Lovrenc na Dravskem polju'),
|
|
(2325, 'Kidri\u010devo'),
|
|
(2326, 'Cirkovce'),
|
|
(2327, 'Ra\u010de'),
|
|
(2331, 'Pragersko'),
|
|
(2341, 'Limbu\u0161'),
|
|
(2342, 'Ru\u0161e'),
|
|
(2343, 'Fala'),
|
|
(2344, 'Lovrenc na Pohorju'),
|
|
(2345, 'Bistrica ob Dravi'),
|
|
(2351, 'Kamnica'),
|
|
(2352, 'Selnica ob Dravi'),
|
|
(2353, 'Sv. Duh na Ostrem Vrhu'),
|
|
(2354, 'Bresternica'),
|
|
(2360, 'Radlje ob Dravi'),
|
|
(2361, 'O\u017ebalt'),
|
|
(2362, 'Kapla'),
|
|
(2363, 'Podvelka'),
|
|
(2364, 'Ribnica na Pohorju'),
|
|
(2365, 'Vuhred'),
|
|
(2366, 'Muta'),
|
|
(2367, 'Vuzenica'),
|
|
(2370, 'Dravograd'),
|
|
(2371, 'Trbonje'),
|
|
(2372, 'Libeli\u010de'),
|
|
(2373, '\u0160entjan\u017e pri Dravogradu'),
|
|
(2380, 'Slovenj Gradec'),
|
|
(2381, 'Podgorje pri Slovenj Gradcu'),
|
|
(2382, 'Mislinja'),
|
|
(2383, '\u0160martno pri Slovenj Gradcu'),
|
|
(2390, 'Ravne na Koro\u0161kem'),
|
|
(2391, 'Prevalje'),
|
|
(2392, 'Me\u017eica'),
|
|
(2393, '\u010crna na Koro\u0161kem'),
|
|
(2394, 'Kotlje'),
|
|
(3000, 'Celje'),
|
|
(3201, '\u0160martno v Ro\u017eni dolini'),
|
|
(3202, 'Ljube\u010dna'),
|
|
(3203, 'Nova Cerkev'),
|
|
(3204, 'Dobrna'),
|
|
(3205, 'Vitanje'),
|
|
(3206, 'Stranice'),
|
|
(3210, 'Slovenske Konjice'),
|
|
(3211, '\u0160kofja vas'),
|
|
(3212, 'Vojnik'),
|
|
(3213, 'Frankolovo'),
|
|
(3214, 'Zre\u010de'),
|
|
(3215, 'Lo\u010de'),
|
|
(3220, '\u0160tore'),
|
|
(3221, 'Teharje'),
|
|
(3222, 'Dramlje'),
|
|
(3223, 'Loka pri \u017dusmu'),
|
|
(3224, 'Dobje pri Planini'),
|
|
(3225, 'Planina pri Sevnici'),
|
|
(3230, '\u0160entjur'),
|
|
(3231, 'Grobelno'),
|
|
(3232, 'Ponikva'),
|
|
(3233, 'Kalobje'),
|
|
(3240, '\u0160marje pri Jel\u0161ah'),
|
|
(3241, 'Podplat'),
|
|
(3250, 'Roga\u0161ka Slatina'),
|
|
(3252, 'Rogatec'),
|
|
(3253, 'Pristava pri Mestinju'),
|
|
(3254, 'Pod\u010detrtek'),
|
|
(3255, 'Bu\u010de'),
|
|
(3256, 'Bistrica ob Sotli'),
|
|
(3257, 'Podsreda'),
|
|
(3260, 'Kozje'),
|
|
(3261, 'Lesi\u010dno'),
|
|
(3262, 'Prevorje'),
|
|
(3263, 'Gorica pri Slivnici'),
|
|
(3264, 'Sveti \u0160tefan'),
|
|
(3270, 'La\u0161ko'),
|
|
(3271, '\u0160entrupert'),
|
|
(3272, 'Rimske Toplice'),
|
|
(3273, 'Jurklo\u0161ter'),
|
|
(3301, 'Petrov\u010de'),
|
|
(3302, 'Gri\u017ee'),
|
|
(3303, 'Gomilsko'),
|
|
(3304, 'Tabor'),
|
|
(3305, 'Vransko'),
|
|
(3310, '\u017dalec'),
|
|
(3311, '\u0160empeter v Savinjski dolini'),
|
|
(3312, 'Prebold'),
|
|
(3313, 'Polzela'),
|
|
(3314, 'Braslov\u010de'),
|
|
(3320, 'Velenje - dostava'),
|
|
(3322, 'Velenje - po\u0161tni predali'),
|
|
(3325, '\u0160o\u0161tanj'),
|
|
(3326, 'Topol\u0161ica'),
|
|
(3327, '\u0160martno ob Paki'),
|
|
(3330, 'Mozirje'),
|
|
(3331, 'Nazarje'),
|
|
(3332, 'Re\u010dica ob Savinji'),
|
|
(3333, 'Ljubno ob Savinji'),
|
|
(3334, 'Lu\u010de'),
|
|
(3335, 'Sol\u010dava'),
|
|
(3341, '\u0160martno ob Dreti'),
|
|
(3342, 'Gornji Grad'),
|
|
(4000, 'Kranj'),
|
|
(4201, 'Zgornja Besnica'),
|
|
(4202, 'Naklo'),
|
|
(4203, 'Duplje'),
|
|
(4204, 'Golnik'),
|
|
(4205, 'Preddvor'),
|
|
(4206, 'Zgornje Jezersko'),
|
|
(4207, 'Cerklje na Gorenjskem'),
|
|
(4208, '\u0160en\u010dur'),
|
|
(4209, '\u017dabnica'),
|
|
(4210, 'Brnik - aerodrom'),
|
|
(4211, 'Mav\u010di\u010de'),
|
|
(4212, 'Visoko'),
|
|
(4220, '\u0160kofja Loka'),
|
|
(4223, 'Poljane nad \u0160kofjo Loko'),
|
|
(4224, 'Gorenja vas'),
|
|
(4225, 'Sovodenj'),
|
|
(4226, '\u017diri'),
|
|
(4227, 'Selca'),
|
|
(4228, '\u017delezniki'),
|
|
(4229, 'Sorica'),
|
|
(4240, 'Radovljica'),
|
|
(4243, 'Brezje'),
|
|
(4244, 'Podnart'),
|
|
(4245, 'Kropa'),
|
|
(4246, 'Kamna Gorica'),
|
|
(4247, 'Zgornje Gorje'),
|
|
(4248, 'Lesce'),
|
|
(4260, 'Bled'),
|
|
(4263, 'Bohinjska Bela'),
|
|
(4264, 'Bohinjska Bistrica'),
|
|
(4265, 'Bohinjsko jezero'),
|
|
(4267, 'Srednja vas v Bohinju'),
|
|
(4270, 'Jesenice'),
|
|
(4273, 'Blejska Dobrava'),
|
|
(4274, '\u017dirovnica'),
|
|
(4275, 'Begunje na Gorenjskem'),
|
|
(4276, 'Hru\u0161ica'),
|
|
(4280, 'Kranjska Gora'),
|
|
(4281, 'Mojstrana'),
|
|
(4282, 'Gozd Martuljek'),
|
|
(4283, 'Rate\u010de - Planica'),
|
|
(4290, 'Tr\u017ei\u010d'),
|
|
(4294, 'Kri\u017ee'),
|
|
(5000, 'Nova Gorica'),
|
|
(5210, 'Deskle'),
|
|
(5211, 'Kojsko'),
|
|
(5212, 'Dobrovo v Brdih'),
|
|
(5213, 'Kanal'),
|
|
(5214, 'Kal nad Kanalom'),
|
|
(5215, 'Ro\u010dinj'),
|
|
(5216, 'Most na So\u010di'),
|
|
(5220, 'Tolmin'),
|
|
(5222, 'Kobarid'),
|
|
(5223, 'Breginj'),
|
|
(5224, 'Srpenica'),
|
|
(5230, 'Bovec'),
|
|
(5231, 'Log pod Mangartom'),
|
|
(5232, 'So\u010da'),
|
|
(5242, 'Grahovo ob Ba\u010di'),
|
|
(5243, 'Podbrdo'),
|
|
(5250, 'Solkan'),
|
|
(5251, 'Grgar'),
|
|
(5252, 'Trnovo pri Gorici'),
|
|
(5253, '\u010cepovan'),
|
|
(5261, '\u0160empas'),
|
|
(5262, '\u010crni\u010de'),
|
|
(5263, 'Dobravlje'),
|
|
(5270, 'Ajdov\u0161\u010dina'),
|
|
(5271, 'Vipava'),
|
|
(5272, 'Podnanos'),
|
|
(5273, 'Col'),
|
|
(5274, '\u010crni Vrh nad Idrijo'),
|
|
(5275, 'Godovi\u010d'),
|
|
(5280, 'Idrija'),
|
|
(5281, 'Spodnja Idrija'),
|
|
(5282, 'Cerkno'),
|
|
(5283, 'Slap ob Idrijci'),
|
|
(5290, '\u0160empeter pri Gorici'),
|
|
(5291, 'Miren'),
|
|
(5292, 'Ren\u010de'),
|
|
(5293, 'Vol\u010dja Draga'),
|
|
(5294, 'Dornberk'),
|
|
(5295, 'Branik'),
|
|
(5296, 'Kostanjevica na Krasu'),
|
|
(5297, 'Prva\u010dina'),
|
|
(6000, 'Koper'),
|
|
(6210, 'Se\u017eana'),
|
|
(6215, 'Diva\u010da'),
|
|
(6216, 'Podgorje'),
|
|
(6217, 'Vremski Britof'),
|
|
(6219, 'Lokev'),
|
|
(6221, 'Dutovlje'),
|
|
(6222, '\u0160tanjel'),
|
|
(6223, 'Komen'),
|
|
(6224, 'Seno\u017ee\u010de'),
|
|
(6225, 'Hru\u0161evje'),
|
|
(6230, 'Postojna'),
|
|
(6232, 'Planina'),
|
|
(6240, 'Kozina'),
|
|
(6242, 'Materija'),
|
|
(6243, 'Obrov'),
|
|
(6244, 'Podgrad'),
|
|
(6250, 'Ilirska Bistrica'),
|
|
(6251, 'Ilirska Bistrica - Trnovo'),
|
|
(6253, 'Kne\u017eak'),
|
|
(6254, 'Jel\u0161ane'),
|
|
(6255, 'Prem'),
|
|
(6256, 'Ko\u0161ana'),
|
|
(6257, 'Pivka'),
|
|
(6258, 'Prestranek'),
|
|
(6271, 'Dekani'),
|
|
(6272, 'Gra\u010di\u0161\u010de'),
|
|
(6273, 'Marezige'),
|
|
(6274, '\u0160marje'),
|
|
(6275, '\u010crni Kal'),
|
|
(6276, 'Pobegi'),
|
|
(6280, 'Ankaran - Ancarano'),
|
|
(6281, '\u0160kofije'),
|
|
(6310, 'Izola - Isola'),
|
|
(6320, 'Portoro\u017e - Portorose'),
|
|
(6330, 'Piran - Pirano'),
|
|
(6333, 'Se\u010dovlje - Sicciole'),
|
|
(8000, 'Novo mesto'),
|
|
(8210, 'Trebnje'),
|
|
(8211, 'Dobrni\u010d'),
|
|
(8212, 'Velika Loka'),
|
|
(8213, 'Veliki Gaber'),
|
|
(8216, 'Mirna Pe\u010d'),
|
|
(8220, '\u0160marje\u0161ke Toplice'),
|
|
(8222, 'Oto\u010dec'),
|
|
(8230, 'Mokronog'),
|
|
(8231, 'Trebelno'),
|
|
(8232, '\u0160entrupert'),
|
|
(8233, 'Mirna'),
|
|
(8250, 'Bre\u017eice'),
|
|
(8251, '\u010cate\u017e ob Savi'),
|
|
(8253, 'Arti\u010de'),
|
|
(8254, 'Globoko'),
|
|
(8255, 'Pi\u0161ece'),
|
|
(8256, 'Sromlje'),
|
|
(8257, 'Dobova'),
|
|
(8258, 'Kapele'),
|
|
(8259, 'Bizeljsko'),
|
|
(8261, 'Jesenice na Dolenjskem'),
|
|
(8262, 'Kr\u0161ka vas'),
|
|
(8263, 'Cerklje ob Krki'),
|
|
(8270, 'Kr\u0161ko'),
|
|
(8272, 'Zdole'),
|
|
(8273, 'Leskovec pri Kr\u0161kem'),
|
|
(8274, 'Raka'),
|
|
(8275, '\u0160kocjan'),
|
|
(8276, 'Bu\u010dka'),
|
|
(8280, 'Brestanica'),
|
|
(8281, 'Senovo'),
|
|
(8282, 'Koprivnica'),
|
|
(8283, 'Blanca'),
|
|
(8290, 'Sevnica'),
|
|
(8292, 'Zabukovje'),
|
|
(8293, 'Studenec'),
|
|
(8294, 'Bo\u0161tanj'),
|
|
(8295, 'Tr\u017ei\u0161\u010de'),
|
|
(8296, 'Krmelj'),
|
|
(8297, '\u0160entjan\u017e'),
|
|
(8310, '\u0160entjernej'),
|
|
(8311, 'Kostanjevica na Krki'),
|
|
(8312, 'Podbo\u010dje'),
|
|
(8321, 'Brusnice'),
|
|
(8322, 'Stopi\u010de'),
|
|
(8323, 'Ur\u0161na sela'),
|
|
(8330, 'Metlika'),
|
|
(8331, 'Suhor'),
|
|
(8332, 'Gradac'),
|
|
(8333, 'Semi\u010d'),
|
|
(8340, '\u010crnomelj'),
|
|
(8341, 'Adle\u0161i\u010di'),
|
|
(8342, 'Stari trg ob Kolpi'),
|
|
(8343, 'Dragatu\u0161'),
|
|
(8344, 'Vinica pri \u010crnomlju'),
|
|
(8350, 'Dolenjske Toplice'),
|
|
(8351, 'Stra\u017ea'),
|
|
(8360, '\u017du\u017eemberk'),
|
|
(8361, 'Dvor'),
|
|
(8362, 'Hinje'),
|
|
(9000, 'Murska Sobota'),
|
|
(9201, 'Puconci'),
|
|
(9202, 'Ma\u010dkovci'),
|
|
(9203, 'Petrovci'),
|
|
(9204, '\u0160alovci'),
|
|
(9205, 'Hodo\u0161 - Hodos'),
|
|
(9206, 'Kri\u017eevci'),
|
|
(9207, 'Prosenjakovci - Partosfalva'),
|
|
(9208, 'Fokovci'),
|
|
(9220, 'Lendava - Lendva'),
|
|
(9221, 'Martjanci'),
|
|
(9222, 'Bogojina'),
|
|
(9223, 'Dobrovnik - Dobronak'),
|
|
(9224, 'Turni\u0161\u010de'),
|
|
(9225, 'Velika Polana'),
|
|
(9226, 'Moravske Toplice'),
|
|
(9227, 'Kobilje'),
|
|
(9231, 'Beltinci'),
|
|
(9232, '\u010cren\u0161ovci'),
|
|
(9233, 'Odranci'),
|
|
(9240, 'Ljutomer'),
|
|
(9241, 'Ver\u017eej'),
|
|
(9242, 'Kri\u017eevci pri Ljutomeru'),
|
|
(9243, 'Mala Nedelja'),
|
|
(9244, 'Sveti Jurij ob \u0160\u010davnici'),
|
|
(9245, 'Spodnji Ivanjci'),
|
|
(9250, 'Gornja Radgona'),
|
|
(9251, 'Ti\u0161ina'),
|
|
(9252, 'Radenci'),
|
|
(9253, 'Apa\u010de'),
|
|
(9261, 'Cankova'),
|
|
(9262, 'Roga\u0161ovci'),
|
|
(9263, 'Kuzma'),
|
|
(9264, 'Grad'),
|
|
(9265, 'Bodonci'),
|
|
]
|
|
|
|
SI_POSTALCODES_CHOICES = sorted(SI_POSTALCODES, key=lambda k: k[1])
|