@camstack/addon-waste-collections 0.0.0-stage → 0.1.1
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.
- package/THIRD_PARTY.md +9 -0
- package/assets/icon.svg +7 -0
- package/dist/index.js +13 -0
- package/dist/index.mjs +2 -0
- package/dist/waste-collections.addon.js +53077 -0
- package/dist/waste-collections.addon.mjs +53064 -0
- package/package.json +71 -4
- package/python/fetch_source.py +92 -0
- package/python/requirements.txt +10 -0
- package/python/vendor/LICENSE +23 -0
- package/python/vendor/README-sources.md +4094 -0
- package/python/vendor/waste_collection_schedule/__init__.py +4 -0
- package/python/vendor/waste_collection_schedule/collection.py +162 -0
- package/python/vendor/waste_collection_schedule/collection_aggregator.py +128 -0
- package/python/vendor/waste_collection_schedule/exceptions.py +208 -0
- package/python/vendor/waste_collection_schedule/icons.py +107 -0
- package/python/vendor/waste_collection_schedule/service/A_region_ch.py +230 -0
- package/python/vendor/waste_collection_schedule/service/AbfallIO.py +212 -0
- package/python/vendor/waste_collection_schedule/service/AbfallIOGraphQL.py +58 -0
- package/python/vendor/waste_collection_schedule/service/AbfallnaviDe.py +405 -0
- package/python/vendor/waste_collection_schedule/service/AchieveForms.py +177 -0
- package/python/vendor/waste_collection_schedule/service/AppAbfallplusDe.py +1240 -0
- package/python/vendor/waste_collection_schedule/service/ArcGis.py +176 -0
- package/python/vendor/waste_collection_schedule/service/CMCityMedia.py +271 -0
- package/python/vendor/waste_collection_schedule/service/CitiesAppsCom.py +2074 -0
- package/python/vendor/waste_collection_schedule/service/DeviceKeyStore.py +77 -0
- package/python/vendor/waste_collection_schedule/service/EcoHarmonogramPL.py +288 -0
- package/python/vendor/waste_collection_schedule/service/FirmstepSelfService.py +106 -0
- package/python/vendor/waste_collection_schedule/service/ICS.py +270 -0
- package/python/vendor/waste_collection_schedule/service/InsertITDe.py +39 -0
- package/python/vendor/waste_collection_schedule/service/IntraMaps.py +516 -0
- package/python/vendor/waste_collection_schedule/service/MuellmaxDe.py +73 -0
- package/python/vendor/waste_collection_schedule/service/OpenCities.py +431 -0
- package/python/vendor/waste_collection_schedule/service/Pozi.py +194 -0
- package/python/vendor/waste_collection_schedule/service/RiSKommunalAT.py +420 -0
- package/python/vendor/waste_collection_schedule/service/SSLError.py +31 -0
- package/python/vendor/waste_collection_schedule/service/Samiljo_se_wastetype_searcher.py +224 -0
- package/python/vendor/waste_collection_schedule/service/Sepan.py +334 -0
- package/python/vendor/waste_collection_schedule/service/SiteparkIES.py +231 -0
- package/python/vendor/waste_collection_schedule/service/WasteInfo.py +83 -0
- package/python/vendor/waste_collection_schedule/service/WhatBinDay.py +339 -0
- package/python/vendor/waste_collection_schedule/service/WhitespaceWRP.py +136 -0
- package/python/vendor/waste_collection_schedule/service/__init__.py +0 -0
- package/python/vendor/waste_collection_schedule/service/generate_ukbcd_json.py +31 -0
- package/python/vendor/waste_collection_schedule/service/junker_app.py +146 -0
- package/python/vendor/waste_collection_schedule/service/uk_cloud9_apps.py +414 -0
- package/python/vendor/waste_collection_schedule/source/123abfallkalender_de.py +197 -0
- package/python/vendor/waste_collection_schedule/source/1coast_com_au.py +189 -0
- package/python/vendor/waste_collection_schedule/source/a_region_ch.py +110 -0
- package/python/vendor/waste_collection_schedule/source/aarberg_ch.py +123 -0
- package/python/vendor/waste_collection_schedule/source/ab_peine_de.py +68 -0
- package/python/vendor/waste_collection_schedule/source/aberdeencity_gov_uk.py +232 -0
- package/python/vendor/waste_collection_schedule/source/aberdeenshire_gov_uk.py +56 -0
- package/python/vendor/waste_collection_schedule/source/abfall_havelland_de.py +52 -0
- package/python/vendor/waste_collection_schedule/source/abfall_io.py +233 -0
- package/python/vendor/waste_collection_schedule/source/abfall_io_graphql.py +176 -0
- package/python/vendor/waste_collection_schedule/source/abfall_kyffhaeuser_de.py +166 -0
- package/python/vendor/waste_collection_schedule/source/abfall_lro_de.py +229 -0
- package/python/vendor/waste_collection_schedule/source/abfall_neunkirchen_siegerland_de.py +63 -0
- package/python/vendor/waste_collection_schedule/source/abfall_wiener_neustadt_at.py +394 -0
- package/python/vendor/waste_collection_schedule/source/abfallkalender_prezero_network.py +147 -0
- package/python/vendor/waste_collection_schedule/source/abfallnavi_de.py +106 -0
- package/python/vendor/waste_collection_schedule/source/abfalltermine_forchheim_de.py +37 -0
- package/python/vendor/waste_collection_schedule/source/abfalltransport_li.py +181 -0
- package/python/vendor/waste_collection_schedule/source/abfallwirtschaft_fuerth_eu.py +51 -0
- package/python/vendor/waste_collection_schedule/source/abfallwirtschaft_germersheim_de.py +70 -0
- package/python/vendor/waste_collection_schedule/source/abfallwirtschaft_pforzheim_de.py +130 -0
- package/python/vendor/waste_collection_schedule/source/abfallwirtschaft_vechta_de.py +125 -0
- package/python/vendor/waste_collection_schedule/source/abfuhrplan_landkreis_neumarkt_de.py +126 -0
- package/python/vendor/waste_collection_schedule/source/abfuhrplan_schwabach_de.py +118 -0
- package/python/vendor/waste_collection_schedule/source/abilene_tx_us.py +163 -0
- package/python/vendor/waste_collection_schedule/source/abki_de.py +123 -0
- package/python/vendor/waste_collection_schedule/source/act_gov_au.py +82 -0
- package/python/vendor/waste_collection_schedule/source/adur_worthing_gov_uk.py +157 -0
- package/python/vendor/waste_collection_schedule/source/aen_minasidor_se.py +209 -0
- package/python/vendor/waste_collection_schedule/source/affaldonline_dk.py +373 -0
- package/python/vendor/waste_collection_schedule/source/affarsverken_se.py +67 -0
- package/python/vendor/waste_collection_schedule/source/afvalstoffendienst_nl.py +128 -0
- package/python/vendor/waste_collection_schedule/source/aha_region_de.py +160 -0
- package/python/vendor/waste_collection_schedule/source/ahe_de.py +64 -0
- package/python/vendor/waste_collection_schedule/source/ahk_heidekreis_de.py +213 -0
- package/python/vendor/waste_collection_schedule/source/airdrie_ca.py +156 -0
- package/python/vendor/waste_collection_schedule/source/ajl_mbh_de.py +198 -0
- package/python/vendor/waste_collection_schedule/source/alba_com_pl.py +90 -0
- package/python/vendor/waste_collection_schedule/source/albany_wa_gov_au.py +122 -0
- package/python/vendor/waste_collection_schedule/source/alchenstorf_ch.py +87 -0
- package/python/vendor/waste_collection_schedule/source/alexandria_va_us.py +144 -0
- package/python/vendor/waste_collection_schedule/source/aliaserviziambientali_it.py +220 -0
- package/python/vendor/waste_collection_schedule/source/allerdale_gov_uk.py +59 -0
- package/python/vendor/waste_collection_schedule/source/alvsbyns_energi_se.py +144 -0
- package/python/vendor/waste_collection_schedule/source/amberg_de.py +243 -0
- package/python/vendor/waste_collection_schedule/source/ambervalley_gov_uk.py +91 -0
- package/python/vendor/waste_collection_schedule/source/amsa_it.py +284 -0
- package/python/vendor/waste_collection_schedule/source/angern_gv_at.py +29 -0
- package/python/vendor/waste_collection_schedule/source/angus_gov_uk.py +157 -0
- package/python/vendor/waste_collection_schedule/source/antrimandnewtownabbey_gov_uk.py +212 -0
- package/python/vendor/waste_collection_schedule/source/api_golemio_cz.py +198 -0
- package/python/vendor/waste_collection_schedule/source/api_hubert_schmid_de.py +53 -0
- package/python/vendor/waste_collection_schedule/source/app_abfallplus_de.py +200 -0
- package/python/vendor/waste_collection_schedule/source/app_my_local_services_au.py +209 -0
- package/python/vendor/waste_collection_schedule/source/apps_ci_minneapolis_mn_us.py +122 -0
- package/python/vendor/waste_collection_schedule/source/apps_imactivate_com.py +178 -0
- package/python/vendor/waste_collection_schedule/source/apricaspa_it.py +300 -0
- package/python/vendor/waste_collection_schedule/source/araccolta_it.py +95 -0
- package/python/vendor/waste_collection_schedule/source/ardsandnorthdown_gov_uk.py +110 -0
- package/python/vendor/waste_collection_schedule/source/armadale_wa_gov_au.py +108 -0
- package/python/vendor/waste_collection_schedule/source/armaghbanbridgecraigavon_gov_uk.py +104 -0
- package/python/vendor/waste_collection_schedule/source/art_trier_de.py +90 -0
- package/python/vendor/waste_collection_schedule/source/arun_gov_uk.py +66 -0
- package/python/vendor/waste_collection_schedule/source/ashfield_gov_uk.py +126 -0
- package/python/vendor/waste_collection_schedule/source/ashford_gov_uk.py +150 -0
- package/python/vendor/waste_collection_schedule/source/asm_pv_it.py +164 -0
- package/python/vendor/waste_collection_schedule/source/asr_chemnitz_de.py +132 -0
- package/python/vendor/waste_collection_schedule/source/aucklandcouncil_govt_nz.py +143 -0
- package/python/vendor/waste_collection_schedule/source/avfallsapp_se.py +424 -0
- package/python/vendor/waste_collection_schedule/source/avfallsor_no.py +133 -0
- package/python/vendor/waste_collection_schedule/source/aw_harburg_de.py +157 -0
- package/python/vendor/waste_collection_schedule/source/awb_ammerland_de.py +303 -0
- package/python/vendor/waste_collection_schedule/source/awb_bad_kreuznach_de.py +251 -0
- package/python/vendor/waste_collection_schedule/source/awb_bir_de.py +120 -0
- package/python/vendor/waste_collection_schedule/source/awb_emsland_de.py +180 -0
- package/python/vendor/waste_collection_schedule/source/awb_es_de.py +107 -0
- package/python/vendor/waste_collection_schedule/source/awb_mainz_bingen_de.py +50 -0
- package/python/vendor/waste_collection_schedule/source/awb_oldenburg_de.py +107 -0
- package/python/vendor/waste_collection_schedule/source/awbkoeln_de.py +48 -0
- package/python/vendor/waste_collection_schedule/source/awg_de.py +155 -0
- package/python/vendor/waste_collection_schedule/source/awg_wuppertal_de.py +101 -0
- package/python/vendor/waste_collection_schedule/source/awido_de.py +714 -0
- package/python/vendor/waste_collection_schedule/source/awigo_de.py +132 -0
- package/python/vendor/waste_collection_schedule/source/awista_kommunal_de.py +220 -0
- package/python/vendor/waste_collection_schedule/source/awlneuss_de.py +117 -0
- package/python/vendor/waste_collection_schedule/source/awm_muenchen_de.py +476 -0
- package/python/vendor/waste_collection_schedule/source/awn_de.py +156 -0
- package/python/vendor/waste_collection_schedule/source/awr_de.py +89 -0
- package/python/vendor/waste_collection_schedule/source/awsh_de.py +90 -0
- package/python/vendor/waste_collection_schedule/source/awv_ot_de.py +88 -0
- package/python/vendor/waste_collection_schedule/source/babergh_midsuffolk_gov_uk.py +208 -0
- package/python/vendor/waste_collection_schedule/source/bad_eisenkappel_info.py +89 -0
- package/python/vendor/waste_collection_schedule/source/badaussee_at.py +109 -0
- package/python/vendor/waste_collection_schedule/source/baden_umweltverbaende_at.py +59 -0
- package/python/vendor/waste_collection_schedule/source/ballarat_vic_gov_au.py +77 -0
- package/python/vendor/waste_collection_schedule/source/ballina_nsw_gov_au.py +64 -0
- package/python/vendor/waste_collection_schedule/source/baltimore_county_md_us.py +425 -0
- package/python/vendor/waste_collection_schedule/source/banyule_vic_gov_au.py +58 -0
- package/python/vendor/waste_collection_schedule/source/barnet_gov_uk.py +61 -0
- package/python/vendor/waste_collection_schedule/source/barnsley_gov_uk.py +115 -0
- package/python/vendor/waste_collection_schedule/source/barrie_ca.py +179 -0
- package/python/vendor/waste_collection_schedule/source/basildon_gov_uk.py +134 -0
- package/python/vendor/waste_collection_schedule/source/basingstoke_gov_uk.py +82 -0
- package/python/vendor/waste_collection_schedule/source/bassendean_wa_gov_au.py +132 -0
- package/python/vendor/waste_collection_schedule/source/bathnes_gov_uk.py +127 -0
- package/python/vendor/waste_collection_schedule/source/bathurst_nsw_gov_au.py +153 -0
- package/python/vendor/waste_collection_schedule/source/baton_rouge_la_us.py +131 -0
- package/python/vendor/waste_collection_schedule/source/baumkirchen_gv_at.py +27 -0
- package/python/vendor/waste_collection_schedule/source/bayside_vic_gov_au.py +113 -0
- package/python/vendor/waste_collection_schedule/source/bayswater_wa_gov_au.py +128 -0
- package/python/vendor/waste_collection_schedule/source/bcp_gov_uk.py +84 -0
- package/python/vendor/waste_collection_schedule/source/bedford_gov_uk.py +65 -0
- package/python/vendor/waste_collection_schedule/source/beg_logistics_de.py +95 -0
- package/python/vendor/waste_collection_schedule/source/belfast_city_gov_uk.py +189 -0
- package/python/vendor/waste_collection_schedule/source/belmont_wa_gov_au.py +74 -0
- package/python/vendor/waste_collection_schedule/source/bendigo_vic_gov_au.py +218 -0
- package/python/vendor/waste_collection_schedule/source/bep_environnement_be.py +127 -0
- package/python/vendor/waste_collection_schedule/source/berdorf_lu.py +173 -0
- package/python/vendor/waste_collection_schedule/source/berlin_recycling_de.py +94 -0
- package/python/vendor/waste_collection_schedule/source/bern_ch.py +220 -0
- package/python/vendor/waste_collection_schedule/source/berndorf_gv_at.py +41 -0
- package/python/vendor/waste_collection_schedule/source/betzdorf_lu.py +68 -0
- package/python/vendor/waste_collection_schedule/source/bexley_gov_uk.py +64 -0
- package/python/vendor/waste_collection_schedule/source/bielefeld_de.py +185 -0
- package/python/vendor/waste_collection_schedule/source/biffaleicester_co_uk.py +76 -0
- package/python/vendor/waste_collection_schedule/source/binzone_uk.py +95 -0
- package/python/vendor/waste_collection_schedule/source/bir_no.py +162 -0
- package/python/vendor/waste_collection_schedule/source/birmingham_gov_uk.py +168 -0
- package/python/vendor/waste_collection_schedule/source/blaby_gov_uk.py +88 -0
- package/python/vendor/waste_collection_schedule/source/blackburn_gov_uk.py +82 -0
- package/python/vendor/waste_collection_schedule/source/blackpool_gov_uk.py +79 -0
- package/python/vendor/waste_collection_schedule/source/blacktown_nsw_gov_au.py +71 -0
- package/python/vendor/waste_collection_schedule/source/bmv_at.py +109 -0
- package/python/vendor/waste_collection_schedule/source/bochnia_gmina_pl.py +185 -0
- package/python/vendor/waste_collection_schedule/source/bolsover_gov_uk.py +160 -0
- package/python/vendor/waste_collection_schedule/source/bolton_gov_uk.py +187 -0
- package/python/vendor/waste_collection_schedule/source/borlange_energi_se.py +177 -0
- package/python/vendor/waste_collection_schedule/source/boroondara_vic_gov_au.py +153 -0
- package/python/vendor/waste_collection_schedule/source/boston_gov_uk.py +216 -0
- package/python/vendor/waste_collection_schedule/source/bracknell_forest_gov_uk.py +97 -0
- package/python/vendor/waste_collection_schedule/source/bradford_gov_uk.py +95 -0
- package/python/vendor/waste_collection_schedule/source/braintree_gov_uk.py +89 -0
- package/python/vendor/waste_collection_schedule/source/breckland_gov_uk.py +95 -0
- package/python/vendor/waste_collection_schedule/source/bridgend_gov_uk.py +70 -0
- package/python/vendor/waste_collection_schedule/source/brimbank_vic_gov_au.py +274 -0
- package/python/vendor/waste_collection_schedule/source/brisbane_qld_gov_au.py +139 -0
- package/python/vendor/waste_collection_schedule/source/bristol_gov_uk.py +97 -0
- package/python/vendor/waste_collection_schedule/source/bromley_gov_uk.py +57 -0
- package/python/vendor/waste_collection_schedule/source/bromsgrove_gov_uk.py +114 -0
- package/python/vendor/waste_collection_schedule/source/broxbourne_gov_uk.py +112 -0
- package/python/vendor/waste_collection_schedule/source/broxtowe_gov_uk.py +128 -0
- package/python/vendor/waste_collection_schedule/source/bsr_de.py +98 -0
- package/python/vendor/waste_collection_schedule/source/buchegg_so_ch.py +439 -0
- package/python/vendor/waste_collection_schedule/source/buergerportal_de.py +375 -0
- package/python/vendor/waste_collection_schedule/source/buermoos_at.py +85 -0
- package/python/vendor/waste_collection_schedule/source/bundaberg_qld_gov_au.py +115 -0
- package/python/vendor/waste_collection_schedule/source/burgerportaal_nl.py +230 -0
- package/python/vendor/waste_collection_schedule/source/burnley_gov_uk.py +99 -0
- package/python/vendor/waste_collection_schedule/source/bury_gov_uk.py +129 -0
- package/python/vendor/waste_collection_schedule/source/byron_nsw_gov_au.py +228 -0
- package/python/vendor/waste_collection_schedule/source/c_trace_de.py +270 -0
- package/python/vendor/waste_collection_schedule/source/cairns_qld_gov_au.py +162 -0
- package/python/vendor/waste_collection_schedule/source/calderdale_gov_uk.py +164 -0
- package/python/vendor/waste_collection_schedule/source/calgary_ca.py +106 -0
- package/python/vendor/waste_collection_schedule/source/cambridge_gov_uk.py +80 -0
- package/python/vendor/waste_collection_schedule/source/cambridge_wa_gov_au.py +54 -0
- package/python/vendor/waste_collection_schedule/source/camden_gov_uk.py +71 -0
- package/python/vendor/waste_collection_schedule/source/campbelltown_nsw_gov_au.py +58 -0
- package/python/vendor/waste_collection_schedule/source/canadabay_nsw_gov_au.py +164 -0
- package/python/vendor/waste_collection_schedule/source/canning_wa_gov_au.py +73 -0
- package/python/vendor/waste_collection_schedule/source/cannock_chase_dc_gov_uk.py +108 -0
- package/python/vendor/waste_collection_schedule/source/canterbury_gov_uk.py +113 -0
- package/python/vendor/waste_collection_schedule/source/cardiff_gov_uk.py +108 -0
- package/python/vendor/waste_collection_schedule/source/cardinia_vic_gov_au.py +148 -0
- package/python/vendor/waste_collection_schedule/source/carmarthenshire_gov_wales.py +100 -0
- package/python/vendor/waste_collection_schedule/source/casey_vic_gov_au.py +159 -0
- package/python/vendor/waste_collection_schedule/source/cassowarycoast_qld_gov_au.py +70 -0
- package/python/vendor/waste_collection_schedule/source/castlepoint_gov_uk.py +302 -0
- package/python/vendor/waste_collection_schedule/source/cbcity_nsw_gov_au.py +452 -0
- package/python/vendor/waste_collection_schedule/source/cc-montesquieu_fr.py +295 -0
- package/python/vendor/waste_collection_schedule/source/ccc_govt_nz.py +138 -0
- package/python/vendor/waste_collection_schedule/source/ccc_tas_gov_au.py +125 -0
- package/python/vendor/waste_collection_schedule/source/ceb_coburg_de.py +97 -0
- package/python/vendor/waste_collection_schedule/source/cederbaum_de.py +103 -0
- package/python/vendor/waste_collection_schedule/source/cem_ambiente_it.py +239 -0
- package/python/vendor/waste_collection_schedule/source/centralbedfordshire_gov_uk.py +193 -0
- package/python/vendor/waste_collection_schedule/source/charleston_sc_gov.py +107 -0
- package/python/vendor/waste_collection_schedule/source/charlestoncounty_org.py +97 -0
- package/python/vendor/waste_collection_schedule/source/charnwood_gov_uk.py +116 -0
- package/python/vendor/waste_collection_schedule/source/chelmsford_gov_uk.py +85 -0
- package/python/vendor/waste_collection_schedule/source/cheltenham_gov_uk.py +155 -0
- package/python/vendor/waste_collection_schedule/source/cherwell_gov_uk.py +74 -0
- package/python/vendor/waste_collection_schedule/source/chesapeake_va_us.py +90 -0
- package/python/vendor/waste_collection_schedule/source/cheshire_east_gov_uk.py +111 -0
- package/python/vendor/waste_collection_schedule/source/cheshire_west_and_chester_gov_uk.py +159 -0
- package/python/vendor/waste_collection_schedule/source/chesterfield_gov_uk.py +117 -0
- package/python/vendor/waste_collection_schedule/source/chichester_gov_uk.py +72 -0
- package/python/vendor/waste_collection_schedule/source/chiemgau_recycling_lk_rosenheim.py +40 -0
- package/python/vendor/waste_collection_schedule/source/chiltern_gov_uk.py +20 -0
- package/python/vendor/waste_collection_schedule/source/chorley_gov_uk.py +132 -0
- package/python/vendor/waste_collection_schedule/source/cidiu_it.py +220 -0
- package/python/vendor/waste_collection_schedule/source/circulus_nl.py +67 -0
- package/python/vendor/waste_collection_schedule/source/citiesapps_com.py +101 -0
- package/python/vendor/waste_collection_schedule/source/cityofparramatta_nsw_gov_au.py +199 -0
- package/python/vendor/waste_collection_schedule/source/cityofsydney_nsw_gov_au.py +137 -0
- package/python/vendor/waste_collection_schedule/source/ciudad_de_la_costa_uy.py +230 -0
- package/python/vendor/waste_collection_schedule/source/clackmannanshire_gov_uk.py +176 -0
- package/python/vendor/waste_collection_schedule/source/clissonsevremaine_fr.py +255 -0
- package/python/vendor/waste_collection_schedule/source/cm_lisboa_pt.py +175 -0
- package/python/vendor/waste_collection_schedule/source/cmcitymedia_de.py +58 -0
- package/python/vendor/waste_collection_schedule/source/cockburn_wa_gov_au.py +209 -0
- package/python/vendor/waste_collection_schedule/source/codc_govt_nz.py +102 -0
- package/python/vendor/waste_collection_schedule/source/coeur_yvelines_fr.py +285 -0
- package/python/vendor/waste_collection_schedule/source/colchester_gov_uk.py +213 -0
- package/python/vendor/waste_collection_schedule/source/communitywastedisposal_com.py +301 -0
- package/python/vendor/waste_collection_schedule/source/comune_digital_it.py +166 -0
- package/python/vendor/waste_collection_schedule/source/conwy_gov_uk.py +57 -0
- package/python/vendor/waste_collection_schedule/source/cornwall_gov_uk.py +86 -0
- package/python/vendor/waste_collection_schedule/source/cotswold_gov_uk.py +328 -0
- package/python/vendor/waste_collection_schedule/source/coventry_gov_uk.py +178 -0
- package/python/vendor/waste_collection_schedule/source/crawley_gov_uk.py +107 -0
- package/python/vendor/waste_collection_schedule/source/croydon_gov_uk.py +217 -0
- package/python/vendor/waste_collection_schedule/source/cumberland_gov_uk.py +72 -0
- package/python/vendor/waste_collection_schedule/source/cumberland_nsw_gov_au.py +150 -0
- package/python/vendor/waste_collection_schedule/source/czystyregion_pl.py +239 -0
- package/python/vendor/waste_collection_schedule/source/dacorum_gov_uk.py +131 -0
- package/python/vendor/waste_collection_schedule/source/dardanup_wa_gov_au.py +219 -0
- package/python/vendor/waste_collection_schedule/source/darebin_vic_gov_au.py +236 -0
- package/python/vendor/waste_collection_schedule/source/darlington_gov_uk.py +67 -0
- package/python/vendor/waste_collection_schedule/source/dartford_gov_uk.py +65 -0
- package/python/vendor/waste_collection_schedule/source/data_angers_fr.py +369 -0
- package/python/vendor/waste_collection_schedule/source/data_bs_ch.py +93 -0
- package/python/vendor/waste_collection_schedule/source/data_grandlyon_com.py +196 -0
- package/python/vendor/waste_collection_schedule/source/data_montpellier3m_fr.py +283 -0
- package/python/vendor/waste_collection_schedule/source/data_nantesmetropole_fr.py +322 -0
- package/python/vendor/waste_collection_schedule/source/data_umweltprofis_at.py +97 -0
- package/python/vendor/waste_collection_schedule/source/deafvalapp_nl.py +154 -0
- package/python/vendor/waste_collection_schedule/source/delight_system_com.py +484 -0
- package/python/vendor/waste_collection_schedule/source/denbighshire_gov_uk.py +54 -0
- package/python/vendor/waste_collection_schedule/source/deponia_hu.py +542 -0
- package/python/vendor/waste_collection_schedule/source/derby_gov_uk.py +95 -0
- package/python/vendor/waste_collection_schedule/source/derbyshiredales_gov_uk.py +143 -0
- package/python/vendor/waste_collection_schedule/source/dienten_gv_at.py +36 -0
- package/python/vendor/waste_collection_schedule/source/dillingen_saar_de.py +69 -0
- package/python/vendor/waste_collection_schedule/source/doncaster_gov_uk.py +264 -0
- package/python/vendor/waste_collection_schedule/source/dorset_gov_uk.py +56 -0
- package/python/vendor/waste_collection_schedule/source/dover_gov_uk.py +68 -0
- package/python/vendor/waste_collection_schedule/source/dudley_gov_uk.py +90 -0
- package/python/vendor/waste_collection_schedule/source/dundeecity_gov_uk.py +75 -0
- package/python/vendor/waste_collection_schedule/source/dunedin_govt_nz.py +88 -0
- package/python/vendor/waste_collection_schedule/source/durban_gov_za.py +157 -0
- package/python/vendor/waste_collection_schedule/source/durham_gov_uk.py +103 -0
- package/python/vendor/waste_collection_schedule/source/e_lindsey_gov_uk.py +173 -0
- package/python/vendor/waste_collection_schedule/source/ead_darmstadt_de.py +64 -0
- package/python/vendor/waste_collection_schedule/source/ealing_gov_uk.py +46 -0
- package/python/vendor/waste_collection_schedule/source/east_ayrshire_gov_uk.py +48 -0
- package/python/vendor/waste_collection_schedule/source/east_northamptonshire_gov_uk.py +61 -0
- package/python/vendor/waste_collection_schedule/source/east_renfrewshire_gov_uk.py +180 -0
- package/python/vendor/waste_collection_schedule/source/eastcambs_gov_uk.py +198 -0
- package/python/vendor/waste_collection_schedule/source/eastdevon_gov_uk.py +72 -0
- package/python/vendor/waste_collection_schedule/source/eastdunbarton_gov_uk.py +63 -0
- package/python/vendor/waste_collection_schedule/source/easthants_gov_uk.py +481 -0
- package/python/vendor/waste_collection_schedule/source/eastherts_gov_uk.py +180 -0
- package/python/vendor/waste_collection_schedule/source/eastleigh_gov_uk.py +65 -0
- package/python/vendor/waste_collection_schedule/source/eastlothian_gov_uk.py +166 -0
- package/python/vendor/waste_collection_schedule/source/eastriding_gov_uk.py +67 -0
- package/python/vendor/waste_collection_schedule/source/eaststaffsbc_gov_uk.py +99 -0
- package/python/vendor/waste_collection_schedule/source/eastsuffolk_gov_uk.py +147 -0
- package/python/vendor/waste_collection_schedule/source/ecoapp_ecoservice_lt.py +135 -0
- package/python/vendor/waste_collection_schedule/source/ecoharmonogram_pl.py +688 -0
- package/python/vendor/waste_collection_schedule/source/ecoszczecin_pl.py +135 -0
- package/python/vendor/waste_collection_schedule/source/edlitz_at.py +21 -0
- package/python/vendor/waste_collection_schedule/source/edpevent_se.py +409 -0
- package/python/vendor/waste_collection_schedule/source/eggelsberg_at.py +73 -0
- package/python/vendor/waste_collection_schedule/source/egn_abfallkalender_de.py +112 -0
- package/python/vendor/waste_collection_schedule/source/eigenbetrieb_abfallwirtschaft_de.py +107 -0
- package/python/vendor/waste_collection_schedule/source/eilenburg_de.py +98 -0
- package/python/vendor/waste_collection_schedule/source/eko_tom_pl.py +103 -0
- package/python/vendor/waste_collection_schedule/source/ekonovus_lt.py +316 -0
- package/python/vendor/waste_collection_schedule/source/ekosystem_wroc_pl.py +88 -0
- package/python/vendor/waste_collection_schedule/source/elmbridge_gov_uk.py +84 -0
- package/python/vendor/waste_collection_schedule/source/elsbethen_at.py +70 -0
- package/python/vendor/waste_collection_schedule/source/enfield_gov_uk.py +283 -0
- package/python/vendor/waste_collection_schedule/source/enns_at.py +71 -0
- package/python/vendor/waste_collection_schedule/source/environmentfirst_co_uk.py +105 -0
- package/python/vendor/waste_collection_schedule/source/eppingforestdc_gov_uk.py +107 -0
- package/python/vendor/waste_collection_schedule/source/erewash_gov_uk.py +72 -0
- package/python/vendor/waste_collection_schedule/source/erlangen_hoechstadt_de.py +53 -0
- package/python/vendor/waste_collection_schedule/source/esch_lu.py +84 -0
- package/python/vendor/waste_collection_schedule/source/eth_erd_hu.py +160 -0
- package/python/vendor/waste_collection_schedule/source/evv_voelklingen_de.py +291 -0
- package/python/vendor/waste_collection_schedule/source/example.py +46 -0
- package/python/vendor/waste_collection_schedule/source/exeter_gov_uk.py +114 -0
- package/python/vendor/waste_collection_schedule/source/fairfieldcity_nsw_gov_au.py +215 -0
- package/python/vendor/waste_collection_schedule/source/fareham_gov_uk.py +196 -0
- package/python/vendor/waste_collection_schedule/source/fcc_group_eu.py +246 -0
- package/python/vendor/waste_collection_schedule/source/fccenvironment_co_uk.py +166 -0
- package/python/vendor/waste_collection_schedule/source/felixdorf_gv_at.py +64 -0
- package/python/vendor/waste_collection_schedule/source/fenland_gov_uk.py +95 -0
- package/python/vendor/waste_collection_schedule/source/fermanaghomagh_gov_uk.py +138 -0
- package/python/vendor/waste_collection_schedule/source/feuerthalen_ch.py +304 -0
- package/python/vendor/waste_collection_schedule/source/fev_se.py +156 -0
- package/python/vendor/waste_collection_schedule/source/fife_gov_uk.py +96 -0
- package/python/vendor/waste_collection_schedule/source/fkf_bo_hu.py +94 -0
- package/python/vendor/waste_collection_schedule/source/flintshire_gov_uk.py +66 -0
- package/python/vendor/waste_collection_schedule/source/folkestone_hythe_gov_uk.py +72 -0
- package/python/vendor/waste_collection_schedule/source/forest_of_dean_gov_uk.py +326 -0
- package/python/vendor/waste_collection_schedule/source/fosenrenovasjon_no.py +79 -0
- package/python/vendor/waste_collection_schedule/source/frankenberg_de.py +182 -0
- package/python/vendor/waste_collection_schedule/source/frankston_vic_gov_au.py +133 -0
- package/python/vendor/waste_collection_schedule/source/frasercoast_qld_gov_au.py +143 -0
- package/python/vendor/waste_collection_schedule/source/fredrikstad_no.py +99 -0
- package/python/vendor/waste_collection_schedule/source/fritzens_gv_at.py +30 -0
- package/python/vendor/waste_collection_schedule/source/frwa_com_au.py +144 -0
- package/python/vendor/waste_collection_schedule/source/fuquay_varina_nc_us.py +123 -0
- package/python/vendor/waste_collection_schedule/source/fylde_gov_uk.py +204 -0
- package/python/vendor/waste_collection_schedule/source/gaenserndorf_city_at.py +186 -0
- package/python/vendor/waste_collection_schedule/source/gardenbags_co_nz.py +63 -0
- package/python/vendor/waste_collection_schedule/source/gargzdusvara_eu.py +113 -0
- package/python/vendor/waste_collection_schedule/source/gastrikeatervinnare_se.py +97 -0
- package/python/vendor/waste_collection_schedule/source/gateshead_gov_uk.py +161 -0
- package/python/vendor/waste_collection_schedule/source/geelongaustralia_com_au.py +104 -0
- package/python/vendor/waste_collection_schedule/source/geilenkirchen_de.py +201 -0
- package/python/vendor/waste_collection_schedule/source/gemeinde24_at.py +429 -0
- package/python/vendor/waste_collection_schedule/source/gemuenden_wohra_de.py +200 -0
- package/python/vendor/waste_collection_schedule/source/geoport_nwm_de.py +91 -0
- package/python/vendor/waste_collection_schedule/source/geovest_it.py +527 -0
- package/python/vendor/waste_collection_schedule/source/gfa_lueneburg_de.py +145 -0
- package/python/vendor/waste_collection_schedule/source/glasgow_gov_uk.py +86 -0
- package/python/vendor/waste_collection_schedule/source/gleneira_vic_gov_au.py +272 -0
- package/python/vendor/waste_collection_schedule/source/glor_no.py +140 -0
- package/python/vendor/waste_collection_schedule/source/gloucester_gov_uk.py +196 -0
- package/python/vendor/waste_collection_schedule/source/gmina_miekinia_pl.py +54 -0
- package/python/vendor/waste_collection_schedule/source/gmina_sroda_slaska_pl.py +220 -0
- package/python/vendor/waste_collection_schedule/source/gmina_trzebnica_pl.py +135 -0
- package/python/vendor/waste_collection_schedule/source/gmina_zgierz_pl.py +202 -0
- package/python/vendor/waste_collection_schedule/source/gmrmatawinie_qc_ca.py +129 -0
- package/python/vendor/waste_collection_schedule/source/goap_poznan_pl.py +190 -0
- package/python/vendor/waste_collection_schedule/source/goessendorf_at.py +22 -0
- package/python/vendor/waste_collection_schedule/source/gojer_at.py +175 -0
- package/python/vendor/waste_collection_schedule/source/goldcoast_qld_gov_au.py +37 -0
- package/python/vendor/waste_collection_schedule/source/goldenplains_vic_gov_au.py +101 -0
- package/python/vendor/waste_collection_schedule/source/gosnells_wa_gov_au.py +190 -0
- package/python/vendor/waste_collection_schedule/source/gosport_gov_uk.py +178 -0
- package/python/vendor/waste_collection_schedule/source/gotland_se.py +50 -0
- package/python/vendor/waste_collection_schedule/source/grafikai_svara_lt.py +332 -0
- package/python/vendor/waste_collection_schedule/source/grandbesancon_fr.py +194 -0
- package/python/vendor/waste_collection_schedule/source/great_yarmouth_gov_uk.py +160 -0
- package/python/vendor/waste_collection_schedule/source/greater_cambridge_waste_org.py +114 -0
- package/python/vendor/waste_collection_schedule/source/greaterdandenong_vic_gov_au.py +143 -0
- package/python/vendor/waste_collection_schedule/source/greatershepparton_com_au.py +259 -0
- package/python/vendor/waste_collection_schedule/source/grenchen_ch.py +40 -0
- package/python/vendor/waste_collection_schedule/source/greyhound_ie.py +148 -0
- package/python/vendor/waste_collection_schedule/source/gronau_de.py +122 -0
- package/python/vendor/waste_collection_schedule/source/gross_gerau_de.py +48 -0
- package/python/vendor/waste_collection_schedule/source/grosswangen_ch.py +52 -0
- package/python/vendor/waste_collection_schedule/source/gruppoveritas_it.py +375 -0
- package/python/vendor/waste_collection_schedule/source/guildford_gov_uk.py +82 -0
- package/python/vendor/waste_collection_schedule/source/gwynedd_gov_uk.py +57 -0
- package/python/vendor/waste_collection_schedule/source/gyhg_hu.py +92 -0
- package/python/vendor/waste_collection_schedule/source/hackney_gov_uk.py +168 -0
- package/python/vendor/waste_collection_schedule/source/haringey_gov_uk.py +82 -0
- package/python/vendor/waste_collection_schedule/source/harlow_gov_uk.py +63 -0
- package/python/vendor/waste_collection_schedule/source/harrow_gov_uk.py +70 -0
- package/python/vendor/waste_collection_schedule/source/hart_gov_uk.py +49 -0
- package/python/vendor/waste_collection_schedule/source/hartbeigraz_at.py +123 -0
- package/python/vendor/waste_collection_schedule/source/hartlepool_gov_uk.py +109 -0
- package/python/vendor/waste_collection_schedule/source/harvey_wa_gov_au.py +157 -0
- package/python/vendor/waste_collection_schedule/source/hasselroth_de.py +92 -0
- package/python/vendor/waste_collection_schedule/source/hassleholm_miljo_se.py +124 -0
- package/python/vendor/waste_collection_schedule/source/hastings_gov_uk.py +88 -0
- package/python/vendor/waste_collection_schedule/source/hastingsdc_govt_nz.py +168 -0
- package/python/vendor/waste_collection_schedule/source/hausmannstaetten_gv_at.py +67 -0
- package/python/vendor/waste_collection_schedule/source/hausmuell_info.py +411 -0
- package/python/vendor/waste_collection_schedule/source/havering_gov_uk.py +77 -0
- package/python/vendor/waste_collection_schedule/source/hawkesbury_nsw_gov_au.py +131 -0
- package/python/vendor/waste_collection_schedule/source/hcc_govt_nz.py +50 -0
- package/python/vendor/waste_collection_schedule/source/hedemora_energi_se.py +146 -0
- package/python/vendor/waste_collection_schedule/source/heidelberg_de.py +309 -0
- package/python/vendor/waste_collection_schedule/source/heilbronn_de.py +125 -0
- package/python/vendor/waste_collection_schedule/source/heimat_info_de.py +284 -0
- package/python/vendor/waste_collection_schedule/source/heinz_entsorgung_de.py +90 -0
- package/python/vendor/waste_collection_schedule/source/herefordshire_gov_uk.py +190 -0
- package/python/vendor/waste_collection_schedule/source/herzogsdorf_ooe_gv_at.py +41 -0
- package/python/vendor/waste_collection_schedule/source/highland_gov_uk.py +97 -0
- package/python/vendor/waste_collection_schedule/source/highpeak_gov_uk.py +142 -0
- package/python/vendor/waste_collection_schedule/source/hilchenbach_de.py +60 -0
- package/python/vendor/waste_collection_schedule/source/hillingdon_gov_uk.py +202 -0
- package/python/vendor/waste_collection_schedule/source/him_as.py +154 -0
- package/python/vendor/waste_collection_schedule/source/hinckley_bosworth_gov_uk.py +123 -0
- package/python/vendor/waste_collection_schedule/source/hobartcity_com_au.py +46 -0
- package/python/vendor/waste_collection_schedule/source/hobsonsbay_vic_gov_au.py +125 -0
- package/python/vendor/waste_collection_schedule/source/hoover_al_us.py +91 -0
- package/python/vendor/waste_collection_schedule/source/hornsby_nsw_gov_au.py +746 -0
- package/python/vendor/waste_collection_schedule/source/horowhenua_govt_nz.py +65 -0
- package/python/vendor/waste_collection_schedule/source/horsham_gov_uk.py +88 -0
- package/python/vendor/waste_collection_schedule/source/hounslow_gov_uk.py +114 -0
- package/python/vendor/waste_collection_schedule/source/hudiksvall_se.py +72 -0
- package/python/vendor/waste_collection_schedule/source/hull_gov_uk.py +55 -0
- package/python/vendor/waste_collection_schedule/source/hume_vic_gov_au.py +120 -0
- package/python/vendor/waste_collection_schedule/source/huntingdonshire_gov_uk.py +50 -0
- package/python/vendor/waste_collection_schedule/source/hvcgroep_nl.py +385 -0
- package/python/vendor/waste_collection_schedule/source/hygea_be.py +58 -0
- package/python/vendor/waste_collection_schedule/source/iapp_itouchvision_com.py +606 -0
- package/python/vendor/waste_collection_schedule/source/ichisystem_eu.py +320 -0
- package/python/vendor/waste_collection_schedule/source/ics.py +284 -0
- package/python/vendor/waste_collection_schedule/source/ilm_kreis_de.py +50 -0
- package/python/vendor/waste_collection_schedule/source/ilrifiutologo_it.py +172 -0
- package/python/vendor/waste_collection_schedule/source/impactapps_com_au.py +611 -0
- package/python/vendor/waste_collection_schedule/source/imst_at.py +83 -0
- package/python/vendor/waste_collection_schedule/source/infeo_at.py +279 -0
- package/python/vendor/waste_collection_schedule/source/info_collectes_ca.py +145 -0
- package/python/vendor/waste_collection_schedule/source/innerwest_nsw_gov_au.py +196 -0
- package/python/vendor/waste_collection_schedule/source/innherredrenovasjon_no.py +59 -0
- package/python/vendor/waste_collection_schedule/source/insert_it_de.py +199 -0
- package/python/vendor/waste_collection_schedule/source/inverclyde_gov_uk.py +160 -0
- package/python/vendor/waste_collection_schedule/source/ipswich_gov_uk.py +159 -0
- package/python/vendor/waste_collection_schedule/source/ipswich_qld_gov_au.py +157 -0
- package/python/vendor/waste_collection_schedule/source/irado_nl.py +216 -0
- package/python/vendor/waste_collection_schedule/source/irenambiente_it.py +358 -0
- package/python/vendor/waste_collection_schedule/source/iris_salten_no.py +197 -0
- package/python/vendor/waste_collection_schedule/source/islington_gov_uk.py +66 -0
- package/python/vendor/waste_collection_schedule/source/ismaning_de.py +188 -0
- package/python/vendor/waste_collection_schedule/source/isontinambiente_it.py +164 -0
- package/python/vendor/waste_collection_schedule/source/ittre_be.py +107 -0
- package/python/vendor/waste_collection_schedule/source/jacksonville_fl_us.py +112 -0
- package/python/vendor/waste_collection_schedule/source/jochberg_gv_at.py +34 -0
- package/python/vendor/waste_collection_schedule/source/jointwastesolutions_org.py +143 -0
- package/python/vendor/waste_collection_schedule/source/joondalup_wa_gov_au.py +252 -0
- package/python/vendor/waste_collection_schedule/source/jumomind_de.py +429 -0
- package/python/vendor/waste_collection_schedule/source/juneavfall_se.py +64 -0
- package/python/vendor/waste_collection_schedule/source/junker_app.py +382 -0
- package/python/vendor/waste_collection_schedule/source/kaev_niederlausitz.py +93 -0
- package/python/vendor/waste_collection_schedule/source/kalamunda_wa_gov_au.py +231 -0
- package/python/vendor/waste_collection_schedule/source/kaltenleutgeben_gv_at.py +93 -0
- package/python/vendor/waste_collection_schedule/source/kalundborg_dk.py +107 -0
- package/python/vendor/waste_collection_schedule/source/kansas_city_mo_us.py +91 -0
- package/python/vendor/waste_collection_schedule/source/kanzian_at.py +41 -0
- package/python/vendor/waste_collection_schedule/source/karlsruhe_de.py +102 -0
- package/python/vendor/waste_collection_schedule/source/kaw_mainz_bingen_de.py +175 -0
- package/python/vendor/waste_collection_schedule/source/kempsey_nsw_gov_au.py +167 -0
- package/python/vendor/waste_collection_schedule/source/kiama_nsw_gov_au.py +45 -0
- package/python/vendor/waste_collection_schedule/source/kiedyodpady_pl.py +258 -0
- package/python/vendor/waste_collection_schedule/source/kiedysmieci_info.py +210 -0
- package/python/vendor/waste_collection_schedule/source/kiertokapula_fi.py +129 -0
- package/python/vendor/waste_collection_schedule/source/kingston_vic_gov_au.py +130 -0
- package/python/vendor/waste_collection_schedule/source/kirchlengern_de.py +199 -0
- package/python/vendor/waste_collection_schedule/source/kirklees_gov_uk.py +261 -0
- package/python/vendor/waste_collection_schedule/source/klosterneuburg_at.py +58 -0
- package/python/vendor/waste_collection_schedule/source/knowsley_gov_uk.py +212 -0
- package/python/vendor/waste_collection_schedule/source/knox_vic_gov_au.py +94 -0
- package/python/vendor/waste_collection_schedule/source/koeniz_ch.py +90 -0
- package/python/vendor/waste_collection_schedule/source/kolding_dk.py +103 -0
- package/python/vendor/waste_collection_schedule/source/kom_lub_com_pl.py +432 -0
- package/python/vendor/waste_collection_schedule/source/koma_pl.py +144 -0
- package/python/vendor/waste_collection_schedule/source/komunala_kranj_si.py +179 -0
- package/python/vendor/waste_collection_schedule/source/kopavogur_is.py +185 -0
- package/python/vendor/waste_collection_schedule/source/koppl_at.py +39 -0
- package/python/vendor/waste_collection_schedule/source/korneuburg_stadtservice_at.py +199 -0
- package/python/vendor/waste_collection_schedule/source/kositeast_sk.py +382 -0
- package/python/vendor/waste_collection_schedule/source/kositwest_sk.py +90 -0
- package/python/vendor/waste_collection_schedule/source/kreis_ploen_de.py +43 -0
- package/python/vendor/waste_collection_schedule/source/kriftel_de.py +92 -0
- package/python/vendor/waste_collection_schedule/source/kronstorf_at.py +43 -0
- package/python/vendor/waste_collection_schedule/source/ks_boerde_de.py +116 -0
- package/python/vendor/waste_collection_schedule/source/kumberg_gv_at.py +55 -0
- package/python/vendor/waste_collection_schedule/source/kungalv_se.py +141 -0
- package/python/vendor/waste_collection_schedule/source/kungsbacka_se.py +133 -0
- package/python/vendor/waste_collection_schedule/source/kvatg_ch.py +1186 -0
- package/python/vendor/waste_collection_schedule/source/kwb_goslar_de.py +65 -0
- package/python/vendor/waste_collection_schedule/source/kwinana_wa_gov_au.py +153 -0
- package/python/vendor/waste_collection_schedule/source/kwu_de.py +155 -0
- package/python/vendor/waste_collection_schedule/source/lacity_gov.py +115 -0
- package/python/vendor/waste_collection_schedule/source/lakemac_nsw_gov_au.py +39 -0
- package/python/vendor/waste_collection_schedule/source/lambeth_gov_uk.py +128 -0
- package/python/vendor/waste_collection_schedule/source/lancaster_gov_uk.py +71 -0
- package/python/vendor/waste_collection_schedule/source/landkreis_helmstedt_de.py +243 -0
- package/python/vendor/waste_collection_schedule/source/landkreis_kusel_de.py +109 -0
- package/python/vendor/waste_collection_schedule/source/landkreis_rhoen_grabfeld.py +112 -0
- package/python/vendor/waste_collection_schedule/source/landkreis_verden_de.py +162 -0
- package/python/vendor/waste_collection_schedule/source/landkreis_wittmund_de.py +64 -0
- package/python/vendor/waste_collection_schedule/source/lanecove_nsw_gov_au.py +62 -0
- package/python/vendor/waste_collection_schedule/source/launceston_tas_gov_au.py +115 -0
- package/python/vendor/waste_collection_schedule/source/laznebohdanec_cz.py +314 -0
- package/python/vendor/waste_collection_schedule/source/lbbd_gov_uk.py +61 -0
- package/python/vendor/waste_collection_schedule/source/lerum_se.py +55 -0
- package/python/vendor/waste_collection_schedule/source/lewisham_gov_uk.py +235 -0
- package/python/vendor/waste_collection_schedule/source/lichfielddc_gov_uk.py +70 -0
- package/python/vendor/waste_collection_schedule/source/lincoln_gov_uk.py +120 -0
- package/python/vendor/waste_collection_schedule/source/lindau_ch.py +82 -0
- package/python/vendor/waste_collection_schedule/source/lipizzanerheimat_at.py +382 -0
- package/python/vendor/waste_collection_schedule/source/lisburn_castlereagh_gov_uk.py +131 -0
- package/python/vendor/waste_collection_schedule/source/lismore_city_nsw_gov_au.py +226 -0
- package/python/vendor/waste_collection_schedule/source/liverpool_gov_uk.py +72 -0
- package/python/vendor/waste_collection_schedule/source/liverpool_nsw_gov_au.py +98 -0
- package/python/vendor/waste_collection_schedule/source/lk_mecklenburgische_seenplatte_de.py +60 -0
- package/python/vendor/waste_collection_schedule/source/lobbe_app.py +264 -0
- package/python/vendor/waste_collection_schedule/source/localcities_ch.py +339 -0
- package/python/vendor/waste_collection_schedule/source/lodz_pl.py +143 -0
- package/python/vendor/waste_collection_schedule/source/logan_qld_gov_au.py +78 -0
- package/python/vendor/waste_collection_schedule/source/lrasha_de.py +17 -0
- package/python/vendor/waste_collection_schedule/source/lsr_nu.py +56 -0
- package/python/vendor/waste_collection_schedule/source/lumire_se.py +72 -0
- package/python/vendor/waste_collection_schedule/source/lund_se.py +71 -0
- package/python/vendor/waste_collection_schedule/source/luxembourg_lu.py +191 -0
- package/python/vendor/waste_collection_schedule/source/mackay_qld_gov_au.py +77 -0
- package/python/vendor/waste_collection_schedule/source/magdeburg_de.py +127 -0
- package/python/vendor/waste_collection_schedule/source/mags_de.py +79 -0
- package/python/vendor/waste_collection_schedule/source/maidstone_gov_uk.py +136 -0
- package/python/vendor/waste_collection_schedule/source/maitland_nsw_gov_au.py +232 -0
- package/python/vendor/waste_collection_schedule/source/maldon_gov_uk.py +70 -0
- package/python/vendor/waste_collection_schedule/source/mamirolle_info.py +69 -0
- package/python/vendor/waste_collection_schedule/source/manchester_uk.py +105 -0
- package/python/vendor/waste_collection_schedule/source/mandurah_wa_gov_au.py +202 -0
- package/python/vendor/waste_collection_schedule/source/manningham_vic_gov_au.py +152 -0
- package/python/vendor/waste_collection_schedule/source/mansfield_gov_uk.py +52 -0
- package/python/vendor/waste_collection_schedule/source/mansfield_vic_gov_au.py +186 -0
- package/python/vendor/waste_collection_schedule/source/maribyrnong_vic_gov_au.py +134 -0
- package/python/vendor/waste_collection_schedule/source/maroondah_vic_gov_au.py +66 -0
- package/python/vendor/waste_collection_schedule/source/marysville_wa_us.py +167 -0
- package/python/vendor/waste_collection_schedule/source/maur_ch.py +169 -0
- package/python/vendor/waste_collection_schedule/source/medway_gov_uk.py +120 -0
- package/python/vendor/waste_collection_schedule/source/meinawb_de.py +155 -0
- package/python/vendor/waste_collection_schedule/source/melbourne_vic_gov_au.py +126 -0
- package/python/vendor/waste_collection_schedule/source/melton_gov_uk.py +79 -0
- package/python/vendor/waste_collection_schedule/source/melton_vic_gov_au.py +50 -0
- package/python/vendor/waste_collection_schedule/source/melvillecity_com_au.py +158 -0
- package/python/vendor/waste_collection_schedule/source/memotri_agglo_pau_fr.py +267 -0
- package/python/vendor/waste_collection_schedule/source/merri_bek_vic_gov_au.py +106 -0
- package/python/vendor/waste_collection_schedule/source/merton_gov_uk.py +80 -0
- package/python/vendor/waste_collection_schedule/source/mestorudna_cz.py +120 -0
- package/python/vendor/waste_collection_schedule/source/micheldorf_at.py +70 -0
- package/python/vendor/waste_collection_schedule/source/mid_devon_gov_uk.py +240 -0
- package/python/vendor/waste_collection_schedule/source/midandeastantrim_gov_uk.py +140 -0
- package/python/vendor/waste_collection_schedule/source/midcoast_nsw_gov_au.py +39 -0
- package/python/vendor/waste_collection_schedule/source/midlothian_gov_uk.py +157 -0
- package/python/vendor/waste_collection_schedule/source/midsussex_gov_uk.py +208 -0
- package/python/vendor/waste_collection_schedule/source/midulstercouncil_org.py +131 -0
- package/python/vendor/waste_collection_schedule/source/midwestern_nsw_gov_au.py +192 -0
- package/python/vendor/waste_collection_schedule/source/mijnafvalwijzer_nl.py +119 -0
- package/python/vendor/waste_collection_schedule/source/mildura_vic_gov_au.py +54 -0
- package/python/vendor/waste_collection_schedule/source/miljoteknik_se.py +98 -0
- package/python/vendor/waste_collection_schedule/source/millvalleyrefuse_com.py +144 -0
- package/python/vendor/waste_collection_schedule/source/mils_tirol_at.py +79 -0
- package/python/vendor/waste_collection_schedule/source/milton_keynes_gov_uk.py +110 -0
- package/python/vendor/waste_collection_schedule/source/minrenovasjon_no.py +122 -0
- package/python/vendor/waste_collection_schedule/source/mirabel_ca.py +152 -0
- package/python/vendor/waste_collection_schedule/source/mitchellshire_vic_gov_au.py +70 -0
- package/python/vendor/waste_collection_schedule/source/mohu_bp_hu.py +194 -0
- package/python/vendor/waste_collection_schedule/source/moje_odpady_pl.py +228 -0
- package/python/vendor/waste_collection_schedule/source/mojiodpadki_si.py +106 -0
- package/python/vendor/waste_collection_schedule/source/mole_valley_gov_uk.py +154 -0
- package/python/vendor/waste_collection_schedule/source/molndal_se.py +39 -0
- package/python/vendor/waste_collection_schedule/source/monaloga_de.py +117 -0
- package/python/vendor/waste_collection_schedule/source/monash_vic_gov_au.py +55 -0
- package/python/vendor/waste_collection_schedule/source/monheim_de.py +120 -0
- package/python/vendor/waste_collection_schedule/source/monmouthshire_gov_uk.py +180 -0
- package/python/vendor/waste_collection_schedule/source/montecospa_it.py +123 -0
- package/python/vendor/waste_collection_schedule/source/montreal_ca.py +477 -0
- package/python/vendor/waste_collection_schedule/source/montri_fr.py +267 -0
- package/python/vendor/waste_collection_schedule/source/moonee_valley_vic_gov_au.py +119 -0
- package/python/vendor/waste_collection_schedule/source/moorabool_vic_gov_au.py +55 -0
- package/python/vendor/waste_collection_schedule/source/moray_gov_uk.py +69 -0
- package/python/vendor/waste_collection_schedule/source/moretonbay_qld_gov_au.py +198 -0
- package/python/vendor/waste_collection_schedule/source/mornpen_vic_gov_au.py +41 -0
- package/python/vendor/waste_collection_schedule/source/mosman_nsw_gov_au.py +72 -0
- package/python/vendor/waste_collection_schedule/source/mount_alexander_vic_gov_au.py +127 -0
- package/python/vendor/waste_collection_schedule/source/movar_no.py +125 -0
- package/python/vendor/waste_collection_schedule/source/moyne_vic_gov_au.py +33 -0
- package/python/vendor/waste_collection_schedule/source/mpgk_com_pl.py +51 -0
- package/python/vendor/waste_collection_schedule/source/mpo_krakow_pl.py +288 -0
- package/python/vendor/waste_collection_schedule/source/mrcjoliette_qc_ca.py +139 -0
- package/python/vendor/waste_collection_schedule/source/mrsc_vic_gov_au.py +35 -0
- package/python/vendor/waste_collection_schedule/source/msva_se.py +159 -0
- package/python/vendor/waste_collection_schedule/source/muehlenkreis_de.py +62 -0
- package/python/vendor/waste_collection_schedule/source/muellabfuhr_de.py +157 -0
- package/python/vendor/waste_collection_schedule/source/muellmann_app_de.py +329 -0
- package/python/vendor/waste_collection_schedule/source/muellmax_de.py +302 -0
- package/python/vendor/waste_collection_schedule/source/muenchenstein_ch.py +98 -0
- package/python/vendor/waste_collection_schedule/source/mulhouse_alsace_fr.py +303 -0
- package/python/vendor/waste_collection_schedule/source/multiple.py +143 -0
- package/python/vendor/waste_collection_schedule/source/mundaring_wa_gov_au.py +109 -0
- package/python/vendor/waste_collection_schedule/source/municipium_it.py +244 -0
- package/python/vendor/waste_collection_schedule/source/murray_wa_gov_au.py +85 -0
- package/python/vendor/waste_collection_schedule/source/mustankorkea_fi.py +199 -0
- package/python/vendor/waste_collection_schedule/source/muswellbrook_nsw_gov_au.py +93 -0
- package/python/vendor/waste_collection_schedule/source/muttenz_ch.py +306 -0
- package/python/vendor/waste_collection_schedule/source/myutility_winnipeg_ca.py +74 -0
- package/python/vendor/waste_collection_schedule/source/mywastewatcher_de.py +446 -0
- package/python/vendor/waste_collection_schedule/source/mzv_rotenburg_bebra_de.py +170 -0
- package/python/vendor/waste_collection_schedule/source/mzvhegau_de.py +93 -0
- package/python/vendor/waste_collection_schedule/source/napier_govt_nz.py +166 -0
- package/python/vendor/waste_collection_schedule/source/narab_se.py +465 -0
- package/python/vendor/waste_collection_schedule/source/nawma_sa_gov_au.py +117 -0
- package/python/vendor/waste_collection_schedule/source/neath_port_talbot_gov_uk.py +236 -0
- package/python/vendor/waste_collection_schedule/source/nelincs_gov_uk.py +61 -0
- package/python/vendor/waste_collection_schedule/source/nemaffaldsservice_kk_dk.py +147 -0
- package/python/vendor/waste_collection_schedule/source/nerdbridge_de.py +1262 -0
- package/python/vendor/waste_collection_schedule/source/neu_ulm_de.py +73 -0
- package/python/vendor/waste_collection_schedule/source/newark_sherwooddc_gov_uk.py +90 -0
- package/python/vendor/waste_collection_schedule/source/newcastle_gov_uk.py +82 -0
- package/python/vendor/waste_collection_schedule/source/newcastle_nsw_gov_au.py +147 -0
- package/python/vendor/waste_collection_schedule/source/newcastle_staffs_gov_uk.py +86 -0
- package/python/vendor/waste_collection_schedule/source/newforest_gov_uk.py +294 -0
- package/python/vendor/waste_collection_schedule/source/newham_gov_uk.py +102 -0
- package/python/vendor/waste_collection_schedule/source/nillumbik_vic_gov_au.py +32 -0
- package/python/vendor/waste_collection_schedule/source/north_ayrshire_gov_uk.py +67 -0
- package/python/vendor/waste_collection_schedule/source/north_kesteven_org_uk.py +66 -0
- package/python/vendor/waste_collection_schedule/source/north_norfolk_gov_uk.py +154 -0
- package/python/vendor/waste_collection_schedule/source/northernbeaches_nsw_gov_au.py +185 -0
- package/python/vendor/waste_collection_schedule/source/northherts_gov_uk.py +73 -0
- package/python/vendor/waste_collection_schedule/source/northlanarkshire_gov_uk.py +82 -0
- package/python/vendor/waste_collection_schedule/source/northlincs_gov_uk.py +53 -0
- package/python/vendor/waste_collection_schedule/source/northnorthants_gov_uk.py +97 -0
- package/python/vendor/waste_collection_schedule/source/northumberland_gov_uk.py +230 -0
- package/python/vendor/waste_collection_schedule/source/northville_township_mi_us.py +90 -0
- package/python/vendor/waste_collection_schedule/source/northyorks_craven_gov_uk.py +70 -0
- package/python/vendor/waste_collection_schedule/source/northyorks_hambleton_gov_uk.py +98 -0
- package/python/vendor/waste_collection_schedule/source/northyorks_harrogate_gov_uk.py +62 -0
- package/python/vendor/waste_collection_schedule/source/northyorks_ryedale_gov_uk.py +73 -0
- package/python/vendor/waste_collection_schedule/source/northyorks_scarborough_gov_uk.py +67 -0
- package/python/vendor/waste_collection_schedule/source/northyorks_selby_gov_uk.py +67 -0
- package/python/vendor/waste_collection_schedule/source/norwich_gov_uk.py +299 -0
- package/python/vendor/waste_collection_schedule/source/nottingham_city_gov_uk.py +65 -0
- package/python/vendor/waste_collection_schedule/source/npdc_govt_nz.py +217 -0
- package/python/vendor/waste_collection_schedule/source/nsomerset_gov_uk.py +87 -0
- package/python/vendor/waste_collection_schedule/source/nsr_se.py +148 -0
- package/python/vendor/waste_collection_schedule/source/nuernberger_land_de.py +53 -0
- package/python/vendor/waste_collection_schedule/source/nvaa_se.py +130 -0
- package/python/vendor/waste_collection_schedule/source/nwleics_gov_uk.py +69 -0
- package/python/vendor/waste_collection_schedule/source/nwrrr_com_au.py +202 -0
- package/python/vendor/waste_collection_schedule/source/nyc_gov.py +65 -0
- package/python/vendor/waste_collection_schedule/source/oadby_wigston_gov_uk.py +119 -0
- package/python/vendor/waste_collection_schedule/source/obdach_at.py +20 -0
- package/python/vendor/waste_collection_schedule/source/oberndorf_schwanenstadt_at.py +71 -0
- package/python/vendor/waste_collection_schedule/source/ocarcims_ocfl_net.py +189 -0
- package/python/vendor/waste_collection_schedule/source/odenserenovation_dk.py +62 -0
- package/python/vendor/waste_collection_schedule/source/offenbach_de.py +27 -0
- package/python/vendor/waste_collection_schedule/source/okc_gov.py +395 -0
- package/python/vendor/waste_collection_schedule/source/okrab_se.py +41 -0
- package/python/vendor/waste_collection_schedule/source/oldham_gov_uk.py +64 -0
- package/python/vendor/waste_collection_schedule/source/olo_sk.py +365 -0
- package/python/vendor/waste_collection_schedule/source/omrin_nl.py +231 -0
- package/python/vendor/waste_collection_schedule/source/onkaparingacity_com.py +39 -0
- package/python/vendor/waste_collection_schedule/source/opendata_bordeauxmetropole_fr.py +336 -0
- package/python/vendor/waste_collection_schedule/source/orange_nsw_gov_au.py +199 -0
- package/python/vendor/waste_collection_schedule/source/ort_im_innkreis_at.py +27 -0
- package/python/vendor/waste_collection_schedule/source/oslokommune_no.py +144 -0
- package/python/vendor/waste_collection_schedule/source/ostersund_se.py +148 -0
- package/python/vendor/waste_collection_schedule/source/ostprignitz_ruppin_de.py +58 -0
- package/python/vendor/waste_collection_schedule/source/oxford_gov_uk.py +104 -0
- package/python/vendor/waste_collection_schedule/source/ozoostrava_cz.py +80 -0
- package/python/vendor/waste_collection_schedule/source/palmcoast_fl_gov.py +120 -0
- package/python/vendor/waste_collection_schedule/source/panda_ie.py +93 -0
- package/python/vendor/waste_collection_schedule/source/partille_se.py +76 -0
- package/python/vendor/waste_collection_schedule/source/pembrokeshire_gov_uk.py +88 -0
- package/python/vendor/waste_collection_schedule/source/pendle_gov_uk.py +473 -0
- package/python/vendor/waste_collection_schedule/source/pernitz_gv_at.py +148 -0
- package/python/vendor/waste_collection_schedule/source/peterborough_gov_uk.py +56 -0
- package/python/vendor/waste_collection_schedule/source/pgh_st.py +78 -0
- package/python/vendor/waste_collection_schedule/source/phila_gov.py +160 -0
- package/python/vendor/waste_collection_schedule/source/piberbach_ooe_gv_at.py +31 -0
- package/python/vendor/waste_collection_schedule/source/pireva_se.py +120 -0
- package/python/vendor/waste_collection_schedule/source/pkc_gov_uk.py +154 -0
- package/python/vendor/waste_collection_schedule/source/plano_gov.py +285 -0
- package/python/vendor/waste_collection_schedule/source/plymouth_gov_uk.py +130 -0
- package/python/vendor/waste_collection_schedule/source/pointe_claire_qc_ca.py +80 -0
- package/python/vendor/waste_collection_schedule/source/popuvky_cz.py +174 -0
- package/python/vendor/waste_collection_schedule/source/poriruacity_govt_nz.py +138 -0
- package/python/vendor/waste_collection_schedule/source/portenf_sa_gov_au.py +224 -0
- package/python/vendor/waste_collection_schedule/source/portphillip_vic_gov_au.py +107 -0
- package/python/vendor/waste_collection_schedule/source/portsmouth_gov_uk.py +78 -0
- package/python/vendor/waste_collection_schedule/source/portstephens_nsw_gov_au.py +136 -0
- package/python/vendor/waste_collection_schedule/source/potsdam_de.py +330 -0
- package/python/vendor/waste_collection_schedule/source/powys_gov_uk.py +186 -0
- package/python/vendor/waste_collection_schedule/source/poznan_pl.py +102 -0
- package/python/vendor/waste_collection_schedule/source/predmerice_nad_labem_cz.py +69 -0
- package/python/vendor/waste_collection_schedule/source/preston_gov_uk.py +211 -0
- package/python/vendor/waste_collection_schedule/source/prezero_bielsko_pl.py +217 -0
- package/python/vendor/waste_collection_schedule/source/prince_georges_county_md_us.py +149 -0
- package/python/vendor/waste_collection_schedule/source/prodnik_si.py +114 -0
- package/python/vendor/waste_collection_schedule/source/pronatura_bydgoszcz_pl.py +120 -0
- package/python/vendor/waste_collection_schedule/source/publidata_ca.py +476 -0
- package/python/vendor/waste_collection_schedule/source/publidata_fr.py +798 -0
- package/python/vendor/waste_collection_schedule/source/puchbeihallein_gv_at.py +74 -0
- package/python/vendor/waste_collection_schedule/source/pup_si.py +114 -0
- package/python/vendor/waste_collection_schedule/source/rambo_se.py +91 -0
- package/python/vendor/waste_collection_schedule/source/rapperswil_be_ch.py +57 -0
- package/python/vendor/waste_collection_schedule/source/rbwm_gov_uk.py +76 -0
- package/python/vendor/waste_collection_schedule/source/rctcbc_gov_uk.py +96 -0
- package/python/vendor/waste_collection_schedule/source/rd4_nl.py +93 -0
- package/python/vendor/waste_collection_schedule/source/reading_gov_uk.py +97 -0
- package/python/vendor/waste_collection_schedule/source/real_luzern_ch.py +116 -0
- package/python/vendor/waste_collection_schedule/source/recycleapp_be.py +141 -0
- package/python/vendor/waste_collection_schedule/source/recyclecoach_com.py +733 -0
- package/python/vendor/waste_collection_schedule/source/recyclesmart_com.py +62 -0
- package/python/vendor/waste_collection_schedule/source/red_bank_tn_us.py +313 -0
- package/python/vendor/waste_collection_schedule/source/redbridge_gov_uk.py +148 -0
- package/python/vendor/waste_collection_schedule/source/redland_qld_gov_au.py +148 -0
- package/python/vendor/waste_collection_schedule/source/regioentsorgung_de.py +248 -0
- package/python/vendor/waste_collection_schedule/source/reigatebanstead_gov_uk.py +111 -0
- package/python/vendor/waste_collection_schedule/source/reinach_bl_ch.py +114 -0
- package/python/vendor/waste_collection_schedule/source/remidt_no.py +54 -0
- package/python/vendor/waste_collection_schedule/source/renfrewshire_gov_uk.py +73 -0
- package/python/vendor/waste_collection_schedule/source/renhallningen_kristianstad_se.py +65 -0
- package/python/vendor/waste_collection_schedule/source/renodjurs_dk.py +98 -0
- package/python/vendor/waste_collection_schedule/source/renosyd_dk.py +58 -0
- package/python/vendor/waste_collection_schedule/source/renoweb_dk.py +179 -0
- package/python/vendor/waste_collection_schedule/source/repentigny_ca.py +128 -0
- package/python/vendor/waste_collection_schedule/source/republicservices_com.py +275 -0
- package/python/vendor/waste_collection_schedule/source/reso_gmbh_de.py +77 -0
- package/python/vendor/waste_collection_schedule/source/ressourceindsamling_dk.py +143 -0
- package/python/vendor/waste_collection_schedule/source/rfd_no.py +277 -0
- package/python/vendor/waste_collection_schedule/source/rh_entsorgung_de.py +40 -0
- package/python/vendor/waste_collection_schedule/source/richmond_gov_uk.py +106 -0
- package/python/vendor/waste_collection_schedule/source/richmondshire_gov_uk.py +70 -0
- package/python/vendor/waste_collection_schedule/source/rir_no.py +180 -0
- package/python/vendor/waste_collection_schedule/source/ritl_ca.py +308 -0
- package/python/vendor/waste_collection_schedule/source/rmrlac_qc_ca.py +208 -0
- package/python/vendor/waste_collection_schedule/source/rochdale_gov_uk.py +136 -0
- package/python/vendor/waste_collection_schedule/source/rochester_ny_us.py +182 -0
- package/python/vendor/waste_collection_schedule/source/rochford_gov_uk.py +160 -0
- package/python/vendor/waste_collection_schedule/source/rockingham_wa_gov_au.py +207 -0
- package/python/vendor/waste_collection_schedule/source/rohrbach_lafnitz_at.py +36 -0
- package/python/vendor/waste_collection_schedule/source/rosknroll_fi.py +110 -0
- package/python/vendor/waste_collection_schedule/source/roslagsvatten_se.py +183 -0
- package/python/vendor/waste_collection_schedule/source/rother_gov_uk.py +112 -0
- package/python/vendor/waste_collection_schedule/source/rotorua_lakes_council_nz.py +126 -0
- package/python/vendor/waste_collection_schedule/source/roundlookup_uk.py +136 -0
- package/python/vendor/waste_collection_schedule/source/roundrocktexas_gov.py +103 -0
- package/python/vendor/waste_collection_schedule/source/rova_nl.py +127 -0
- package/python/vendor/waste_collection_schedule/source/royalgreenwich_gov_uk.py +253 -0
- package/python/vendor/waste_collection_schedule/source/rsag_de.py +146 -0
- package/python/vendor/waste_collection_schedule/source/rueil_malmaison_fr.py +136 -0
- package/python/vendor/waste_collection_schedule/source/rugby_gov_uk.py +39 -0
- package/python/vendor/waste_collection_schedule/source/runnymede_gov_uk.py +60 -0
- package/python/vendor/waste_collection_schedule/source/rushcliffe_gov_uk.py +114 -0
- package/python/vendor/waste_collection_schedule/source/rushmoor_gov_uk.py +54 -0
- package/python/vendor/waste_collection_schedule/source/rv_de.py +121 -0
- package/python/vendor/waste_collection_schedule/source/rybnik_pl.py +623 -0
- package/python/vendor/waste_collection_schedule/source/ryde_nsw_gov_au.py +68 -0
- package/python/vendor/waste_collection_schedule/source/saalfelden_at.py +78 -0
- package/python/vendor/waste_collection_schedule/source/saguenay_ca.py +132 -0
- package/python/vendor/waste_collection_schedule/source/salford_gov_uk.py +59 -0
- package/python/vendor/waste_collection_schedule/source/samiljo_se.py +218 -0
- package/python/vendor/waste_collection_schedule/source/sammelkalender_ch.py +316 -0
- package/python/vendor/waste_collection_schedule/source/sanantonio_gov.py +175 -0
- package/python/vendor/waste_collection_schedule/source/sandiego_gov.py +62 -0
- package/python/vendor/waste_collection_schedule/source/sandnes_no.py +81 -0
- package/python/vendor/waste_collection_schedule/source/sandwell_gov_uk.py +144 -0
- package/python/vendor/waste_collection_schedule/source/saver_nl.py +158 -0
- package/python/vendor/waste_collection_schedule/source/scambs_gov_uk.py +84 -0
- package/python/vendor/waste_collection_schedule/source/scenicrim_qld_gov_au.py +184 -0
- package/python/vendor/waste_collection_schedule/source/schaerding_ooe_gv_at.py +76 -0
- package/python/vendor/waste_collection_schedule/source/scheibbs_umweltverbaende_at.py +59 -0
- package/python/vendor/waste_collection_schedule/source/schlierbach_at.py +68 -0
- package/python/vendor/waste_collection_schedule/source/schweinfurt_de.py +101 -0
- package/python/vendor/waste_collection_schedule/source/scotborders_gov_uk.py +136 -0
- package/python/vendor/waste_collection_schedule/source/seab_biella_it.py +152 -0
- package/python/vendor/waste_collection_schedule/source/seattle_gov.py +146 -0
- package/python/vendor/waste_collection_schedule/source/sector27_de.py +162 -0
- package/python/vendor/waste_collection_schedule/source/sefton_gov_uk.py +121 -0
- package/python/vendor/waste_collection_schedule/source/selwyn_govt_nz.py +198 -0
- package/python/vendor/waste_collection_schedule/source/sepan_remondis_pl.py +80 -0
- package/python/vendor/waste_collection_schedule/source/sesaeste_it.py +268 -0
- package/python/vendor/waste_collection_schedule/source/seuzach_ch.py +225 -0
- package/python/vendor/waste_collection_schedule/source/sevenoaks_gov_uk.py +166 -0
- package/python/vendor/waste_collection_schedule/source/shawinigan_ca.py +330 -0
- package/python/vendor/waste_collection_schedule/source/sheffield_gov_uk.py +77 -0
- package/python/vendor/waste_collection_schedule/source/shellharbourwaste_com_au.py +62 -0
- package/python/vendor/waste_collection_schedule/source/shoalhaven_nsw_gov_au.py +113 -0
- package/python/vendor/waste_collection_schedule/source/sholland_gov_uk.py +106 -0
- package/python/vendor/waste_collection_schedule/source/shropshire_gov_uk.py +70 -0
- package/python/vendor/waste_collection_schedule/source/sica_lu.py +138 -0
- package/python/vendor/waste_collection_schedule/source/sictom_lons_le_saunier_fr.py +181 -0
- package/python/vendor/waste_collection_schedule/source/sictomvds_com.py +171 -0
- package/python/vendor/waste_collection_schedule/source/sidec_lu.py +126 -0
- package/python/vendor/waste_collection_schedule/source/silea_it.py +112 -0
- package/python/vendor/waste_collection_schedule/source/simbio_si.py +72 -0
- package/python/vendor/waste_collection_schedule/source/sims_pl.py +426 -0
- package/python/vendor/waste_collection_schedule/source/siokom_hu.py +450 -0
- package/python/vendor/waste_collection_schedule/source/siunet_it.py +450 -0
- package/python/vendor/waste_collection_schedule/source/sivom_com.py +275 -0
- package/python/vendor/waste_collection_schedule/source/sivom_rivedroite_fr.py +108 -0
- package/python/vendor/waste_collection_schedule/source/sjobo_se.py +143 -0
- package/python/vendor/waste_collection_schedule/source/sjshire_wa_gov_au.py +140 -0
- package/python/vendor/waste_collection_schedule/source/skaraborg_se.py +70 -0
- package/python/vendor/waste_collection_schedule/source/slough_gov_uk.py +210 -0
- package/python/vendor/waste_collection_schedule/source/smiecioplan_pl.py +223 -0
- package/python/vendor/waste_collection_schedule/source/smolo_cz.py +566 -0
- package/python/vendor/waste_collection_schedule/source/snaga_mb_si.py +72 -0
- package/python/vendor/waste_collection_schedule/source/solihull_gov_uk.py +89 -0
- package/python/vendor/waste_collection_schedule/source/south_ayrshire_gov_uk.py +135 -0
- package/python/vendor/waste_collection_schedule/source/south_norfolk_and_broadland_gov_uk.py +352 -0
- package/python/vendor/waste_collection_schedule/source/southampton_gov_uk.py +81 -0
- package/python/vendor/waste_collection_schedule/source/southderbyshire_gov_uk.py +65 -0
- package/python/vendor/waste_collection_schedule/source/southend_gov_uk.py +69 -0
- package/python/vendor/waste_collection_schedule/source/southglos_gov_uk.py +59 -0
- package/python/vendor/waste_collection_schedule/source/southkesteven_gov_uk.py +114 -0
- package/python/vendor/waste_collection_schedule/source/southlanarkshire_gov_uk.py +185 -0
- package/python/vendor/waste_collection_schedule/source/southperth_wa_gov_au.py +120 -0
- package/python/vendor/waste_collection_schedule/source/southribble_gov_uk.py +118 -0
- package/python/vendor/waste_collection_schedule/source/southtyneside_gov_uk.py +83 -0
- package/python/vendor/waste_collection_schedule/source/southwark_gov_uk.py +84 -0
- package/python/vendor/waste_collection_schedule/source/spelthorne_gov_uk.py +169 -0
- package/python/vendor/waste_collection_schedule/source/sperrmuell_erlensee_de.py +111 -0
- package/python/vendor/waste_collection_schedule/source/srvatervinning_se.py +50 -0
- package/python/vendor/waste_collection_schedule/source/ssam_se.py +22 -0
- package/python/vendor/waste_collection_schedule/source/sstaffs_gov_uk.py +88 -0
- package/python/vendor/waste_collection_schedule/source/st_helens_gov_uk.py +204 -0
- package/python/vendor/waste_collection_schedule/source/st_margarethen_salzburg_at.py +35 -0
- package/python/vendor/waste_collection_schedule/source/stadt_bamberg_de.py +123 -0
- package/python/vendor/waste_collection_schedule/source/stadt_kerpen_de.py +55 -0
- package/python/vendor/waste_collection_schedule/source/stadtreinigung_dresden_de.py +75 -0
- package/python/vendor/waste_collection_schedule/source/stadtreinigung_giessen_de.py +227 -0
- package/python/vendor/waste_collection_schedule/source/stadtreinigung_hamburg.py +32 -0
- package/python/vendor/waste_collection_schedule/source/stadtreinigung_leipzig_de.py +68 -0
- package/python/vendor/waste_collection_schedule/source/stadtservice_bruehl_de.py +80 -0
- package/python/vendor/waste_collection_schedule/source/stadtwerke_roesrath_de.py +54 -0
- package/python/vendor/waste_collection_schedule/source/stadtwerke_singen_de.py +268 -0
- package/python/vendor/waste_collection_schedule/source/staedteservice_de.py +146 -0
- package/python/vendor/waste_collection_schedule/source/staffordbc_gov_uk.py +52 -0
- package/python/vendor/waste_collection_schedule/source/staffsmoorlands_gov_uk.py +166 -0
- package/python/vendor/waste_collection_schedule/source/stalbans_gov_uk.py +75 -0
- package/python/vendor/waste_collection_schedule/source/stamford_ct_us.py +251 -0
- package/python/vendor/waste_collection_schedule/source/static.py +285 -0
- package/python/vendor/waste_collection_schedule/source/stavanger_no.py +70 -0
- package/python/vendor/waste_collection_schedule/source/stevenage_gov_uk.py +81 -0
- package/python/vendor/waste_collection_schedule/source/steyr_at.py +70 -0
- package/python/vendor/waste_collection_schedule/source/stirling_gov_uk.py +117 -0
- package/python/vendor/waste_collection_schedule/source/stirling_wa_gov_au.py +127 -0
- package/python/vendor/waste_collection_schedule/source/stkh_hu.py +254 -0
- package/python/vendor/waste_collection_schedule/source/stockport_gov_uk.py +92 -0
- package/python/vendor/waste_collection_schedule/source/stockton_gov_uk.py +164 -0
- package/python/vendor/waste_collection_schedule/source/stoke_gov_uk.py +71 -0
- package/python/vendor/waste_collection_schedule/source/stonnington_vic_gov_au.py +35 -0
- package/python/vendor/waste_collection_schedule/source/straatbeeld_online.py +155 -0
- package/python/vendor/waste_collection_schedule/source/stratford_gov_uk.py +73 -0
- package/python/vendor/waste_collection_schedule/source/strathfield_nsw_gov_au.py +84 -0
- package/python/vendor/waste_collection_schedule/source/stroud_gov_uk.py +174 -0
- package/python/vendor/waste_collection_schedule/source/stuttgart_de.py +129 -0
- package/python/vendor/waste_collection_schedule/source/subiaco_wa_gov_au.py +106 -0
- package/python/vendor/waste_collection_schedule/source/sudestavenir_fr.py +474 -0
- package/python/vendor/waste_collection_schedule/source/suibr_ch.py +330 -0
- package/python/vendor/waste_collection_schedule/source/sumavfall_no.py +212 -0
- package/python/vendor/waste_collection_schedule/source/sunbury_ohio_org.py +80 -0
- package/python/vendor/waste_collection_schedule/source/sunderland_gov_uk.py +806 -0
- package/python/vendor/waste_collection_schedule/source/sunshinecoast_qld_gov_au.py +210 -0
- package/python/vendor/waste_collection_schedule/source/surf_coast_vic_gov_au.py +198 -0
- package/python/vendor/waste_collection_schedule/source/sutherlandshire_nsw_gov_au.py +219 -0
- package/python/vendor/waste_collection_schedule/source/sutton_gov_uk.py +52 -0
- package/python/vendor/waste_collection_schedule/source/swale_gov_uk.py +273 -0
- package/python/vendor/waste_collection_schedule/source/swan_wa_gov_au.py +100 -0
- package/python/vendor/waste_collection_schedule/source/swansea_gov_uk.py +109 -0
- package/python/vendor/waste_collection_schedule/source/swindon_gov_uk.py +72 -0
- package/python/vendor/waste_collection_schedule/source/sysav_se.py +59 -0
- package/python/vendor/waste_collection_schedule/source/talgov_com.py +179 -0
- package/python/vendor/waste_collection_schedule/source/tameside_gov_uk.py +83 -0
- package/python/vendor/waste_collection_schedule/source/tandridge_gov_uk.py +174 -0
- package/python/vendor/waste_collection_schedule/source/taupodc_govt_nz.py +154 -0
- package/python/vendor/waste_collection_schedule/source/tauranga_govt_nz.py +162 -0
- package/python/vendor/waste_collection_schedule/source/tbv_velbert_de.py +93 -0
- package/python/vendor/waste_collection_schedule/source/team_orange_de.py +290 -0
- package/python/vendor/waste_collection_schedule/source/teatreegully_sa_gov_au.py +189 -0
- package/python/vendor/waste_collection_schedule/source/teignbridge_gov_uk.py +88 -0
- package/python/vendor/waste_collection_schedule/source/telford_gov_uk.py +122 -0
- package/python/vendor/waste_collection_schedule/source/telge_se.py +117 -0
- package/python/vendor/waste_collection_schedule/source/tendring_gov_uk.py +118 -0
- package/python/vendor/waste_collection_schedule/source/terrestouloises_com.py +294 -0
- package/python/vendor/waste_collection_schedule/source/tewkesbury_gov_uk.py +80 -0
- package/python/vendor/waste_collection_schedule/source/thanet_gov_uk.py +116 -0
- package/python/vendor/waste_collection_schedule/source/thanet_gov_uk.py.bak +104 -0
- package/python/vendor/waste_collection_schedule/source/thehills_nsw_gov_au.py +109 -0
- package/python/vendor/waste_collection_schedule/source/thurrock_gov_uk.py +188 -0
- package/python/vendor/waste_collection_schedule/source/timra_se.py +140 -0
- package/python/vendor/waste_collection_schedule/source/tkeliai_lt.py +56 -0
- package/python/vendor/waste_collection_schedule/source/tmbc_gov_uk.py +97 -0
- package/python/vendor/waste_collection_schedule/source/tonnenleerung_de.py +82 -0
- package/python/vendor/waste_collection_schedule/source/tonnenticker_pro_de.py +106 -0
- package/python/vendor/waste_collection_schedule/source/toogoodtowaste_co_nz.py +96 -0
- package/python/vendor/waste_collection_schedule/source/torbay_council_gov_uk.py +98 -0
- package/python/vendor/waste_collection_schedule/source/toronto_ca.py +150 -0
- package/python/vendor/waste_collection_schedule/source/torridge_gov_uk.py +154 -0
- package/python/vendor/waste_collection_schedule/source/toulouse_metropole_fr.py +219 -0
- package/python/vendor/waste_collection_schedule/source/tower_hamlets_gov_uk.py +200 -0
- package/python/vendor/waste_collection_schedule/source/townsville_qld_gov_au.py +46 -0
- package/python/vendor/waste_collection_schedule/source/tsceskybrod_cz.py +220 -0
- package/python/vendor/waste_collection_schedule/source/tunbridgewells_gov_uk.py +77 -0
- package/python/vendor/waste_collection_schedule/source/ubzzw_de.py +177 -0
- package/python/vendor/waste_collection_schedule/source/uddevallaenergi_se.py +114 -0
- package/python/vendor/waste_collection_schedule/source/ukbcd.py +49 -0
- package/python/vendor/waste_collection_schedule/source/umweltverbaende_at.py +995 -0
- package/python/vendor/waste_collection_schedule/source/unley_sa_gov_au.py +80 -0
- package/python/vendor/waste_collection_schedule/source/uppsalavatten_se.py +35 -0
- package/python/vendor/waste_collection_schedule/source/uttlesford_gov_uk.py +97 -0
- package/python/vendor/waste_collection_schedule/source/valeofglamorgan_gov_uk.py +123 -0
- package/python/vendor/waste_collection_schedule/source/valorlux_lu.py +94 -0
- package/python/vendor/waste_collection_schedule/source/varmdo_se.py +97 -0
- package/python/vendor/waste_collection_schedule/source/vasyd_se.py +53 -0
- package/python/vendor/waste_collection_schedule/source/vattenmiljoresurs_se.py +250 -0
- package/python/vendor/waste_collection_schedule/source/verl_de.py +102 -0
- package/python/vendor/waste_collection_schedule/source/vestfor_dk.py +77 -0
- package/python/vendor/waste_collection_schedule/source/vevg_karlsburg_de.py +152 -0
- package/python/vendor/waste_collection_schedule/source/victoriapark_wa_gov_au.py +115 -0
- package/python/vendor/waste_collection_schedule/source/villagebonconseil_ca.py +86 -0
- package/python/vendor/waste_collection_schedule/source/ville_quebec_qc_ca.py +267 -0
- package/python/vendor/waste_collection_schedule/source/villesblg_ca.py +92 -0
- package/python/vendor/waste_collection_schedule/source/vincent_wa_gov_au.py +207 -0
- package/python/vendor/waste_collection_schedule/source/vivab_se.py +234 -0
- package/python/vendor/waste_collection_schedule/source/vmab_se.py +91 -0
- package/python/vendor/waste_collection_schedule/source/vmeab_se.py +115 -0
- package/python/vendor/waste_collection_schedule/source/vogeldisposal_com.py +225 -0
- package/python/vendor/waste_collection_schedule/source/waikato_district_council_govt_nz.py +154 -0
- package/python/vendor/waste_collection_schedule/source/waipa_nz.py +78 -0
- package/python/vendor/waste_collection_schedule/source/wakefield_gov_uk.py +71 -0
- package/python/vendor/waste_collection_schedule/source/walsall_gov_uk.py +74 -0
- package/python/vendor/waste_collection_schedule/source/walthamforest_gov_uk.py +107 -0
- package/python/vendor/waste_collection_schedule/source/wandsworth_gov_uk.py +169 -0
- package/python/vendor/waste_collection_schedule/source/wangaratta_vic_gov_au.py +35 -0
- package/python/vendor/waste_collection_schedule/source/wanneroo_wa_gov_au.py +428 -0
- package/python/vendor/waste_collection_schedule/source/warrington_gov_uk.py +92 -0
- package/python/vendor/waste_collection_schedule/source/warrnambool_vic_gov_au.py +116 -0
- package/python/vendor/waste_collection_schedule/source/warszawa19115_pl.py +145 -0
- package/python/vendor/waste_collection_schedule/source/warwickdc_gov_uk.py +58 -0
- package/python/vendor/waste_collection_schedule/source/was_wolfsburg_de.py +141 -0
- package/python/vendor/waste_collection_schedule/source/waste_havant_gov_uk.py +95 -0
- package/python/vendor/waste_collection_schedule/source/wastecollection_mt.py +145 -0
- package/python/vendor/waste_collection_schedule/source/wastenet_org_nz.py +138 -0
- package/python/vendor/waste_collection_schedule/source/watford_gov_uk.py +217 -0
- package/python/vendor/waste_collection_schedule/source/waverley_gov_uk.py +63 -0
- package/python/vendor/waste_collection_schedule/source/wealden_gov_uk.py +70 -0
- package/python/vendor/waste_collection_schedule/source/welhat_gov_uk.py +100 -0
- package/python/vendor/waste_collection_schedule/source/wellington_govt_nz.py +93 -0
- package/python/vendor/waste_collection_schedule/source/wermelskirchen_de.py +110 -0
- package/python/vendor/waste_collection_schedule/source/west_dunbartonshire_gov_uk.py +115 -0
- package/python/vendor/waste_collection_schedule/source/west_lindsey_gov_uk.py +103 -0
- package/python/vendor/waste_collection_schedule/source/west_norfolk_gov_uk.py +81 -0
- package/python/vendor/waste_collection_schedule/source/westberks_gov_uk.py +149 -0
- package/python/vendor/waste_collection_schedule/source/western_bay_of_plenty_nz.py +195 -0
- package/python/vendor/waste_collection_schedule/source/westlancs_gov_uk.py +138 -0
- package/python/vendor/waste_collection_schedule/source/westlothian_gov_uk.py +184 -0
- package/python/vendor/waste_collection_schedule/source/westminster_gov_uk.py +203 -0
- package/python/vendor/waste_collection_schedule/source/westnorthants_gov_uk.py +54 -0
- package/python/vendor/waste_collection_schedule/source/westoxon_gov_uk.py +305 -0
- package/python/vendor/waste_collection_schedule/source/westsuffolk_gov_uk.py +75 -0
- package/python/vendor/waste_collection_schedule/source/whitehorse_vic_gov_au.py +163 -0
- package/python/vendor/waste_collection_schedule/source/whittlesea_vic_gov_au.py +37 -0
- package/python/vendor/waste_collection_schedule/source/wieliczka_kiedyodpady_pl.py +212 -0
- package/python/vendor/waste_collection_schedule/source/wigan_gov_uk.py +98 -0
- package/python/vendor/waste_collection_schedule/source/willoughby_nsw_gov_au.py +112 -0
- package/python/vendor/waste_collection_schedule/source/wiltshire_gov_uk.py +83 -0
- package/python/vendor/waste_collection_schedule/source/wingecarribee_nsw_gov_au.py +151 -0
- package/python/vendor/waste_collection_schedule/source/winterthur_ch.py +66 -0
- package/python/vendor/waste_collection_schedule/source/wirral_gov_uk.py +105 -0
- package/python/vendor/waste_collection_schedule/source/wm_com.py +460 -0
- package/python/vendor/waste_collection_schedule/source/wokingham_gov_uk.py +161 -0
- package/python/vendor/waste_collection_schedule/source/wollondilly_nsw_gov_au.py +61 -0
- package/python/vendor/waste_collection_schedule/source/wollongongwaste_com_au.py +70 -0
- package/python/vendor/waste_collection_schedule/source/wolverhampton_gov_uk.py +98 -0
- package/python/vendor/waste_collection_schedule/source/woollahra_nsw_gov_au.py +65 -0
- package/python/vendor/waste_collection_schedule/source/wrexham_gov_uk.py +151 -0
- package/python/vendor/waste_collection_schedule/source/wsz_moosburg_at.py +114 -0
- package/python/vendor/waste_collection_schedule/source/wuerzburg_de.py +123 -0
- package/python/vendor/waste_collection_schedule/source/wychavon_gov_uk.py +31 -0
- package/python/vendor/waste_collection_schedule/source/wyndham_vic_gov_au.py +92 -0
- package/python/vendor/waste_collection_schedule/source/wyre_gov_uk.py +50 -0
- package/python/vendor/waste_collection_schedule/source/wyreforestdc_gov_uk.py +171 -0
- package/python/vendor/waste_collection_schedule/source/ximmio_nl.py +183 -0
- package/python/vendor/waste_collection_schedule/source/yarra_ranges_vic_gov_au.py +40 -0
- package/python/vendor/waste_collection_schedule/source/yarracity_vic_gov_au.py +163 -0
- package/python/vendor/waste_collection_schedule/source/york_gov_uk.py +51 -0
- package/python/vendor/waste_collection_schedule/source/zab_ch.py +121 -0
- package/python/vendor/waste_collection_schedule/source/zakb_de.py +161 -0
- package/python/vendor/waste_collection_schedule/source/zaw_sr_de.py +234 -0
- package/python/vendor/waste_collection_schedule/source/zke_sb_de.py +132 -0
- package/python/vendor/waste_collection_schedule/source/zva_sek_de.py +184 -0
- package/python/vendor/waste_collection_schedule/source/zva_wmk_de.py +85 -0
- package/python/vendor/waste_collection_schedule/source/zvo_com.py +185 -0
- package/python/vendor/waste_collection_schedule/source/zys_harmonogram_pl.py +52 -0
- package/python/vendor/waste_collection_schedule/source_shell.py +314 -0
- package/README.md +0 -3
|
@@ -0,0 +1,1186 @@
|
|
|
1
|
+
import io
|
|
2
|
+
import logging
|
|
3
|
+
import re
|
|
4
|
+
from datetime import date, timedelta
|
|
5
|
+
from itertools import pairwise
|
|
6
|
+
from urllib.parse import urljoin
|
|
7
|
+
|
|
8
|
+
import requests
|
|
9
|
+
from bs4 import BeautifulSoup
|
|
10
|
+
from pdfminer.high_level import extract_pages
|
|
11
|
+
from pdfminer.layout import LTChar, LTTextContainer, LTTextLine
|
|
12
|
+
from waste_collection_schedule import Collection, Icons
|
|
13
|
+
from waste_collection_schedule.exceptions import SourceArgumentNotFoundWithSuggestions
|
|
14
|
+
|
|
15
|
+
TITLE = "KVA Thurgau"
|
|
16
|
+
DESCRIPTION = (
|
|
17
|
+
"Source for KVA Thurgau (Kehrichtverwertungsanlage Thurgau) waste collection, "
|
|
18
|
+
"covering the municipalities of the canton of Thurgau and neighbouring "
|
|
19
|
+
"communities, Switzerland."
|
|
20
|
+
)
|
|
21
|
+
URL = "https://www.kvatg.ch"
|
|
22
|
+
COUNTRY = "ch"
|
|
23
|
+
|
|
24
|
+
SOURCE_CODEOWNERS = ["@Smn-hns"]
|
|
25
|
+
|
|
26
|
+
_OVERVIEW_URL = "https://www.kvatg.ch/fuer-private/entsorgungsplaene-1/"
|
|
27
|
+
|
|
28
|
+
# The KVA plan for Kreuzlingen contains no Kehricht dates — the city publishes
|
|
29
|
+
# its own zone plan (a map PDF with a parseable zone/weekday legend) here:
|
|
30
|
+
_KREUZLINGEN_ENTSORGUNG_URL = "https://www.kreuzlingen.ch/wir-fuer-sie/entsorgung"
|
|
31
|
+
|
|
32
|
+
COMMUNITIES = [
|
|
33
|
+
"Affeltrangen",
|
|
34
|
+
"Altnau",
|
|
35
|
+
"Amlikon-Bissegg",
|
|
36
|
+
"Amriswil",
|
|
37
|
+
"Arbon",
|
|
38
|
+
"Basadingen-Schlattingen",
|
|
39
|
+
"Berg",
|
|
40
|
+
"Berlingen",
|
|
41
|
+
"Birwinken",
|
|
42
|
+
"Bischofszell",
|
|
43
|
+
"Bottighofen",
|
|
44
|
+
"Buch",
|
|
45
|
+
"Bürglen",
|
|
46
|
+
"Bussnang",
|
|
47
|
+
"Diessenhofen",
|
|
48
|
+
"Dozwil",
|
|
49
|
+
"Egnach",
|
|
50
|
+
"Erlen",
|
|
51
|
+
"Ermatingen",
|
|
52
|
+
"Eschenz",
|
|
53
|
+
"Felben-Wellhausen",
|
|
54
|
+
"Frauenfeld",
|
|
55
|
+
"Gachnang",
|
|
56
|
+
"Gottlieben",
|
|
57
|
+
"Güttingen",
|
|
58
|
+
"Hauptwil-Gottshaus",
|
|
59
|
+
"Hefenhofen",
|
|
60
|
+
"Hemishofen",
|
|
61
|
+
"Herdern",
|
|
62
|
+
"Hohentannen",
|
|
63
|
+
"Homburg",
|
|
64
|
+
"Hüttlingen",
|
|
65
|
+
"Hüttwilen",
|
|
66
|
+
"Kemmental",
|
|
67
|
+
"Kesswil",
|
|
68
|
+
"Kradolf-Schönenberg",
|
|
69
|
+
"Kreuzlingen",
|
|
70
|
+
"Langrickenbach",
|
|
71
|
+
"Lengwil",
|
|
72
|
+
"Lommis",
|
|
73
|
+
"Märstetten",
|
|
74
|
+
"Mammern",
|
|
75
|
+
"Matzingen",
|
|
76
|
+
"Müllheim",
|
|
77
|
+
"Münsterlingen",
|
|
78
|
+
"Neunforn",
|
|
79
|
+
"Pfyn-Dettighofen",
|
|
80
|
+
"Ramsen",
|
|
81
|
+
"Raperswilen",
|
|
82
|
+
"Roggwil",
|
|
83
|
+
"Romanshorn",
|
|
84
|
+
"Salenstein",
|
|
85
|
+
"Salmsach",
|
|
86
|
+
"Schlatt",
|
|
87
|
+
"Schönholzerswilen",
|
|
88
|
+
"Sommeri",
|
|
89
|
+
"Steckborn",
|
|
90
|
+
"Stein am Rhein",
|
|
91
|
+
"Stettfurt",
|
|
92
|
+
"Sulgen",
|
|
93
|
+
"Tägerwilen",
|
|
94
|
+
"Thundorf",
|
|
95
|
+
"Uesslingen-Buch",
|
|
96
|
+
"Uttwil",
|
|
97
|
+
"Wäldi",
|
|
98
|
+
"Wagenhausen",
|
|
99
|
+
"Warth-Weiningen",
|
|
100
|
+
"Weinfelden",
|
|
101
|
+
"Wigoltingen",
|
|
102
|
+
"Zihlschlacht-Sitterdorf",
|
|
103
|
+
]
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
def EXTRA_INFO():
|
|
107
|
+
return [
|
|
108
|
+
{"title": m, "default_params": {"community": m}, "country": "ch"}
|
|
109
|
+
for m in COMMUNITIES
|
|
110
|
+
]
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
CONFIG_FLOW_TYPES = {
|
|
114
|
+
"community": {
|
|
115
|
+
"type": "SELECT",
|
|
116
|
+
"values": COMMUNITIES,
|
|
117
|
+
"multiple": False,
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
TEST_CASES = {
|
|
122
|
+
"Kreuzlingen": {"community": "Kreuzlingen"},
|
|
123
|
+
"Kreuzlingen Zone Ost": {"community": "Kreuzlingen", "zone": "Ost"},
|
|
124
|
+
"Kreuzlingen Kehricht Zentrum": {
|
|
125
|
+
"community": "Kreuzlingen",
|
|
126
|
+
"zone": "Ost",
|
|
127
|
+
"kehricht_zone": "Zentrum",
|
|
128
|
+
},
|
|
129
|
+
"Sulgen": {"community": "Sulgen"},
|
|
130
|
+
"Frauenfeld": {"community": "Frauenfeld"},
|
|
131
|
+
"Bischofszell": {"community": "Bischofszell", "zone": "Bischofszell"},
|
|
132
|
+
"Affeltrangen": {"community": "Affeltrangen"},
|
|
133
|
+
"Arbon Zone 1": {"community": "Arbon", "zone": "Zone 1"},
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
PARAM_TRANSLATIONS = {
|
|
137
|
+
"en": {
|
|
138
|
+
"community": "Community",
|
|
139
|
+
"zone": "Zone / district (optional)",
|
|
140
|
+
"kehricht_zone": "Kehricht zone (Kreuzlingen only, optional)",
|
|
141
|
+
},
|
|
142
|
+
"de": {
|
|
143
|
+
"community": "Gemeinde",
|
|
144
|
+
"zone": "Zone / Abfuhrgebiet (optional)",
|
|
145
|
+
"kehricht_zone": "Kehricht-Zone (nur Kreuzlingen, optional)",
|
|
146
|
+
},
|
|
147
|
+
"it": {
|
|
148
|
+
"community": "Comune",
|
|
149
|
+
"zone": "Zona / area di raccolta (facoltativo)",
|
|
150
|
+
"kehricht_zone": "Zona Kehricht (solo Kreuzlingen, facoltativo)",
|
|
151
|
+
},
|
|
152
|
+
"fr": {
|
|
153
|
+
"community": "Commune",
|
|
154
|
+
"zone": "Zone / secteur de collecte (facultatif)",
|
|
155
|
+
"kehricht_zone": "Zone Kehricht (Kreuzlingen uniquement, facultatif)",
|
|
156
|
+
},
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
PARAM_DESCRIPTIONS = {
|
|
160
|
+
"en": {
|
|
161
|
+
"community": "Community name exactly as listed on the KVA Thurgau "
|
|
162
|
+
"disposal plan page (e.g. 'Kreuzlingen').",
|
|
163
|
+
"zone": "Collection zone or district within the community, if the "
|
|
164
|
+
"disposal plan splits collections by area (e.g. 'Ost' for the "
|
|
165
|
+
"Kreuzlingen green waste district). Leave empty to get all zones; "
|
|
166
|
+
"zoned collections are then suffixed with their zone name. The zone "
|
|
167
|
+
"names are printed left of the date grid in your community's plan on "
|
|
168
|
+
"kvatg.ch (open 'Für Private' → 'Entsorgungspläne' from the main "
|
|
169
|
+
"page) — an invalid value shows a list of the valid names.",
|
|
170
|
+
"kehricht_zone": "Only for Kreuzlingen: household-waste (Kehricht) "
|
|
171
|
+
"zone from the city's own zone plan — 'Süd & Tägerwilen', "
|
|
172
|
+
"'Nord und Ost' or 'Zentrum'. Leave empty to get all three zones. "
|
|
173
|
+
"Which streets belong to which zone is shown on the Kehricht, "
|
|
174
|
+
"Abfuhrplan Kreuzlingen map at kreuzlingen.ch (open 'Wir für Sie' "
|
|
175
|
+
"→ 'Entsorgung' from the main page).",
|
|
176
|
+
},
|
|
177
|
+
"de": {
|
|
178
|
+
"community": "Gemeindename genau wie auf der Entsorgungsplan-Seite "
|
|
179
|
+
"der KVA Thurgau aufgeführt (z. B. 'Kreuzlingen').",
|
|
180
|
+
"zone": "Zone bzw. Abfuhrgebiet innerhalb der Gemeinde, falls der "
|
|
181
|
+
"Entsorgungsplan Sammlungen nach Gebiet unterteilt (z. B. 'Ost' für "
|
|
182
|
+
"das Grüngut-Gebiet in Kreuzlingen). Leer lassen für alle Zonen; "
|
|
183
|
+
"zonierte Sammlungen erhalten dann den Zonennamen als Zusatz. Die "
|
|
184
|
+
"Zonennamen stehen links neben dem Datumsraster im Entsorgungsplan "
|
|
185
|
+
"Ihrer Gemeinde auf kvatg.ch (auf der Startseite unter 'Für "
|
|
186
|
+
"Private' → 'Entsorgungspläne') — bei einem ungültigen Wert wird "
|
|
187
|
+
"eine Liste der gültigen Namen angezeigt.",
|
|
188
|
+
"kehricht_zone": "Nur für Kreuzlingen: Kehricht-Abfuhrzone gemäss "
|
|
189
|
+
"dem städtischen Zonenplan — 'Süd & Tägerwilen', 'Nord und Ost' "
|
|
190
|
+
"oder 'Zentrum'. Leer lassen für alle drei Zonen. Welche Strassen "
|
|
191
|
+
"zu welcher Zone gehören, zeigt die Karte Kehricht, Abfuhrplan "
|
|
192
|
+
"Kreuzlingen unter kreuzlingen.ch (auf der Startseite unter 'Wir "
|
|
193
|
+
"für Sie' → 'Entsorgung').",
|
|
194
|
+
},
|
|
195
|
+
"it": {
|
|
196
|
+
"community": "Nome del comune esattamente come indicato sulla pagina "
|
|
197
|
+
"dei piani di smaltimento della KVA Thurgau (ad es. 'Kreuzlingen').",
|
|
198
|
+
"zone": "Zona o area di raccolta all'interno del comune, se il piano "
|
|
199
|
+
"di smaltimento suddivide le raccolte per area (ad es. 'Ost' per "
|
|
200
|
+
"l'area del verde di Kreuzlingen). Lasciare vuoto per tutte le zone; "
|
|
201
|
+
"le raccolte zonali riportano poi il nome della zona. I nomi delle "
|
|
202
|
+
"zone si trovano a sinistra della griglia delle date nel piano del "
|
|
203
|
+
"comune su kvatg.ch (dalla pagina principale: 'Für Private' → "
|
|
204
|
+
"'Entsorgungspläne') — un valore non valido mostra l'elenco dei "
|
|
205
|
+
"nomi validi.",
|
|
206
|
+
"kehricht_zone": "Solo per Kreuzlingen: zona di raccolta dei rifiuti "
|
|
207
|
+
"domestici (Kehricht) secondo il piano zonale comunale — "
|
|
208
|
+
"'Süd & Tägerwilen', 'Nord und Ost' o 'Zentrum'. Lasciare vuoto per "
|
|
209
|
+
"tutte e tre le zone. La mappa Kehricht, Abfuhrplan Kreuzlingen su "
|
|
210
|
+
"kreuzlingen.ch (dalla pagina principale: 'Wir für Sie' → "
|
|
211
|
+
"'Entsorgung') mostra quali strade appartengono a quale zona.",
|
|
212
|
+
},
|
|
213
|
+
"fr": {
|
|
214
|
+
"community": "Nom de la commune exactement comme indiqué sur la page "
|
|
215
|
+
"des plans d'élimination de la KVA Thurgau (p. ex. 'Kreuzlingen').",
|
|
216
|
+
"zone": "Zone ou secteur de collecte au sein de la commune, si le "
|
|
217
|
+
"plan d'élimination répartit les collectes par secteur (p. ex. 'Ost' "
|
|
218
|
+
"pour le secteur des déchets verts de Kreuzlingen). Laisser vide pour "
|
|
219
|
+
"toutes les zones ; les collectes zonées portent alors le nom de la "
|
|
220
|
+
"zone. Les noms de zones figurent à gauche de la grille des dates "
|
|
221
|
+
"dans le plan de votre commune sur kvatg.ch (depuis la page "
|
|
222
|
+
"d'accueil : 'Für Private' → 'Entsorgungspläne') — une valeur "
|
|
223
|
+
"invalide affiche la liste des noms valides.",
|
|
224
|
+
"kehricht_zone": "Uniquement pour Kreuzlingen : zone de collecte des "
|
|
225
|
+
"ordures ménagères (Kehricht) selon le plan de zones de la ville — "
|
|
226
|
+
"'Süd & Tägerwilen', 'Nord und Ost' ou 'Zentrum'. Laisser vide pour "
|
|
227
|
+
"les trois zones. La carte Kehricht, Abfuhrplan Kreuzlingen sur "
|
|
228
|
+
"kreuzlingen.ch (depuis la page d'accueil : 'Wir für Sie' → "
|
|
229
|
+
"'Entsorgung') montre quelles rues appartiennent à quelle zone.",
|
|
230
|
+
},
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
HOW_TO_GET_ARGUMENTS_DESCRIPTION = {
|
|
234
|
+
"en": "Find your community on https://www.kvatg.ch/fuer-private/entsorgungsplaene-1/ "
|
|
235
|
+
"and enter its name. If your community's disposal plan splits a collection "
|
|
236
|
+
"by zone (e.g. the green waste districts in Kreuzlingen or the collection "
|
|
237
|
+
"areas in Frauenfeld), you can optionally enter the zone name as printed "
|
|
238
|
+
"in the plan.",
|
|
239
|
+
"de": "Suchen Sie Ihre Gemeinde auf https://www.kvatg.ch/fuer-private/entsorgungsplaene-1/ "
|
|
240
|
+
"und geben Sie deren Namen ein. Falls der Entsorgungsplan Ihrer Gemeinde "
|
|
241
|
+
"eine Sammlung nach Zonen unterteilt (z. B. die Grüngut-Gebiete in "
|
|
242
|
+
"Kreuzlingen oder die Abfuhrgebiete in Frauenfeld), können Sie optional "
|
|
243
|
+
"den Zonennamen wie im Plan gedruckt angeben.",
|
|
244
|
+
"it": "Cerca il tuo comune su https://www.kvatg.ch/fuer-private/entsorgungsplaene-1/ "
|
|
245
|
+
"e inserisci il suo nome. Se il piano di smaltimento del tuo comune "
|
|
246
|
+
"suddivide una raccolta per zone (ad es. le aree del verde a Kreuzlingen "
|
|
247
|
+
"o le zone di raccolta a Frauenfeld), puoi facoltativamente indicare il "
|
|
248
|
+
"nome della zona come stampato nel piano.",
|
|
249
|
+
"fr": "Recherchez votre commune sur https://www.kvatg.ch/fuer-private/entsorgungsplaene-1/ "
|
|
250
|
+
"et saisissez son nom. Si le plan d'élimination de votre commune répartit "
|
|
251
|
+
"une collecte par zones (p. ex. les secteurs de déchets verts à "
|
|
252
|
+
"Kreuzlingen ou les zones de collecte à Frauenfeld), vous pouvez "
|
|
253
|
+
"éventuellement indiquer le nom de la zone tel qu'imprimé dans le plan.",
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
_LOGGER = logging.getLogger(__name__)
|
|
257
|
+
|
|
258
|
+
ICON_MAP = {
|
|
259
|
+
"Kehricht": Icons.GENERAL_WASTE,
|
|
260
|
+
"Papier/Karton": Icons.PAPER,
|
|
261
|
+
"Papier": Icons.PAPER,
|
|
262
|
+
"Karton": Icons.PAPER,
|
|
263
|
+
"Kleinsperrgut": Icons.BULKY,
|
|
264
|
+
"Grüngut": Icons.ORGANIC,
|
|
265
|
+
"Kunststoff": Icons.PLASTIC_PACKAGING,
|
|
266
|
+
"Häckseldienst": Icons.GARDEN,
|
|
267
|
+
"Metalle": Icons.METAL,
|
|
268
|
+
"Christbaum": Icons.CHRISTMAS_TREE,
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
_MONTH_ABBR = {
|
|
272
|
+
"JAN": 1,
|
|
273
|
+
"FEB": 2,
|
|
274
|
+
"MÄR": 3,
|
|
275
|
+
"APR": 4,
|
|
276
|
+
"MAI": 5,
|
|
277
|
+
"JUN": 6,
|
|
278
|
+
"JUL": 7,
|
|
279
|
+
"AUG": 8,
|
|
280
|
+
"SEP": 9,
|
|
281
|
+
"OKT": 10,
|
|
282
|
+
"NOV": 11,
|
|
283
|
+
"DEZ": 12,
|
|
284
|
+
}
|
|
285
|
+
_MONTH_FULL = {
|
|
286
|
+
"Januar": 1,
|
|
287
|
+
"Februar": 2,
|
|
288
|
+
"März": 3,
|
|
289
|
+
"April": 4,
|
|
290
|
+
"Mai": 5,
|
|
291
|
+
"Juni": 6,
|
|
292
|
+
"Juli": 7,
|
|
293
|
+
"August": 8,
|
|
294
|
+
"September": 9,
|
|
295
|
+
"Oktober": 10,
|
|
296
|
+
"November": 11,
|
|
297
|
+
"Dezember": 12,
|
|
298
|
+
}
|
|
299
|
+
_WEEKDAYS = {
|
|
300
|
+
"Montag": 0,
|
|
301
|
+
"Dienstag": 1,
|
|
302
|
+
"Mittwoch": 2,
|
|
303
|
+
"Donnerstag": 3,
|
|
304
|
+
"Freitag": 4,
|
|
305
|
+
"Samstag": 5,
|
|
306
|
+
"Sonntag": 6,
|
|
307
|
+
}
|
|
308
|
+
_WD_RE = "|".join(_WEEKDAYS)
|
|
309
|
+
|
|
310
|
+
# Holiday-shift lines ("Auffahrt: Freitag, 15.5.2026") must not be mistaken
|
|
311
|
+
# for per-zone weekday rules.
|
|
312
|
+
_HOLIDAY_WORDS = (
|
|
313
|
+
"Neujahr",
|
|
314
|
+
"Berchtoldstag",
|
|
315
|
+
"Karfreitag",
|
|
316
|
+
"Ostermontag",
|
|
317
|
+
"Auffahrt",
|
|
318
|
+
"Pfingstmontag",
|
|
319
|
+
"Tag der Arbeit",
|
|
320
|
+
"Weihnachten",
|
|
321
|
+
"Stephanstag",
|
|
322
|
+
"Bundesfeier",
|
|
323
|
+
"Verschiebe",
|
|
324
|
+
)
|
|
325
|
+
|
|
326
|
+
# Big left-margin section labels (font size >= 16) own the full-width grids.
|
|
327
|
+
_MAJOR_SECTIONS = {
|
|
328
|
+
"KEHRICHT": "Kehricht",
|
|
329
|
+
"PAPIER": "Papier/Karton",
|
|
330
|
+
"KARTON": "Papier/Karton",
|
|
331
|
+
"KLEINSPERRGUT": "Kleinsperrgut",
|
|
332
|
+
"GRÜNGUTABFUHR": "Grüngut",
|
|
333
|
+
"GRÜNABFUHR": "Grüngut",
|
|
334
|
+
"GRÜNGUTSAMMLUNG": "Grüngut",
|
|
335
|
+
"GRÜNGUT": "Grüngut",
|
|
336
|
+
"GRÜNSAMMELTOUR": "Grüngut",
|
|
337
|
+
"KUNSTSTOFFSAMMLUNG": "Kunststoff",
|
|
338
|
+
"KUNSTSTOFF": "Kunststoff",
|
|
339
|
+
"PLASTIKSAMMELTOUR": "Kunststoff",
|
|
340
|
+
}
|
|
341
|
+
# Smaller sub-block headings; these own the indented mini-grids and the
|
|
342
|
+
# inline date notes.
|
|
343
|
+
_MINOR_SECTIONS = {
|
|
344
|
+
"HÄCKSELDIENST": "Häckseldienst",
|
|
345
|
+
"METALLE": "Metalle",
|
|
346
|
+
"ALTEISEN": "Metalle",
|
|
347
|
+
"CHRISTBAUM": "Christbaum",
|
|
348
|
+
"KUNSTSTOFFSAMMLUNG": "Kunststoff",
|
|
349
|
+
"KUNSTSTOFF": "Kunststoff",
|
|
350
|
+
"PLASTIKSAMMELTOUR": "Kunststoff",
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
# "22." plain, "8./12.*" compound cell, "9.¹" superscript zone marker,
|
|
354
|
+
# "14.5" day with a glued single-digit footnote (Verein reference)
|
|
355
|
+
_TOKEN_RE = re.compile(r"(\d{1,2})\.(?:/(\d{1,2})\.)?(\*{1,2}|[¹²³⁴]|\d)?")
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
def _normalize(value: str) -> str:
|
|
359
|
+
return re.sub(r"\s+", " ", value).strip().casefold()
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
# ---------------------------------------------------------------------------
|
|
363
|
+
# PDF word extraction
|
|
364
|
+
# ---------------------------------------------------------------------------
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
def _extract_words(pdf_stream: io.BytesIO) -> list[dict]:
|
|
368
|
+
"""Extract words with coordinates from the (single) plan page."""
|
|
369
|
+
words: list[dict] = []
|
|
370
|
+
for page in extract_pages(pdf_stream):
|
|
371
|
+
for element in page:
|
|
372
|
+
if not isinstance(element, LTTextContainer):
|
|
373
|
+
continue
|
|
374
|
+
for line in element:
|
|
375
|
+
if not isinstance(line, LTTextLine):
|
|
376
|
+
continue
|
|
377
|
+
chars = [c for c in line if isinstance(c, LTChar)]
|
|
378
|
+
current: list[LTChar] = []
|
|
379
|
+
for c in chars:
|
|
380
|
+
if current and (
|
|
381
|
+
c.x0 - current[-1].x1 > max(1.2, 0.35 * c.size)
|
|
382
|
+
or not c.get_text().strip()
|
|
383
|
+
):
|
|
384
|
+
_flush_word(words, current)
|
|
385
|
+
current = []
|
|
386
|
+
if c.get_text().strip():
|
|
387
|
+
current.append(c)
|
|
388
|
+
_flush_word(words, current)
|
|
389
|
+
break # all KVA Thurgau plans are single-page
|
|
390
|
+
return words
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
def _flush_word(words: list[dict], chars: list[LTChar]) -> None:
|
|
394
|
+
if not chars:
|
|
395
|
+
return
|
|
396
|
+
text = "".join(c.get_text() for c in chars).strip()
|
|
397
|
+
if not text:
|
|
398
|
+
return
|
|
399
|
+
words.append(
|
|
400
|
+
{
|
|
401
|
+
"text": text,
|
|
402
|
+
"x0": min(c.x0 for c in chars),
|
|
403
|
+
"x1": max(c.x1 for c in chars),
|
|
404
|
+
"y0": min(c.y0 for c in chars),
|
|
405
|
+
"y": (min(c.y0 for c in chars) + max(c.y1 for c in chars)) / 2,
|
|
406
|
+
"size": max(c.size for c in chars),
|
|
407
|
+
}
|
|
408
|
+
)
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
def _rows_from_words(words: list[dict]) -> list[dict]:
|
|
412
|
+
"""Group words into text rows by baseline, top-to-bottom."""
|
|
413
|
+
rows: dict[float, list[dict]] = {}
|
|
414
|
+
for w in sorted(words, key=lambda w: (round(w["y0"]), w["x0"])):
|
|
415
|
+
key = next((k for k in rows if abs(k - w["y0"]) < 2.5), None)
|
|
416
|
+
if key is None:
|
|
417
|
+
key = w["y0"]
|
|
418
|
+
rows[key] = []
|
|
419
|
+
rows[key].append(w)
|
|
420
|
+
out: list[dict] = []
|
|
421
|
+
for y, ws in rows.items():
|
|
422
|
+
ws.sort(key=lambda w: w["x0"])
|
|
423
|
+
out.append({"y": y, "words": ws, "text": " ".join(w["text"] for w in ws)})
|
|
424
|
+
out.sort(key=lambda r: -r["y"])
|
|
425
|
+
return out
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
# ---------------------------------------------------------------------------
|
|
429
|
+
# Layout analysis
|
|
430
|
+
# ---------------------------------------------------------------------------
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
def _find_year(words: list[dict]) -> int | None:
|
|
434
|
+
text = " ".join(w["text"] for w in sorted(words, key=lambda w: (-w["y0"], w["x0"])))
|
|
435
|
+
m = re.search(r"GÜLTIG AB.{0,25}?(20\d{2})", text)
|
|
436
|
+
return int(m.group(1)) if m else None
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
def _find_anchors(words: list[dict]) -> list[dict]:
|
|
440
|
+
anchors = []
|
|
441
|
+
for w in words:
|
|
442
|
+
token = w["text"].upper().strip(" /-–")
|
|
443
|
+
major = next(
|
|
444
|
+
(
|
|
445
|
+
s
|
|
446
|
+
for kw, s in _MAJOR_SECTIONS.items()
|
|
447
|
+
if token.startswith(kw) and w["size"] >= 16 and w["x0"] < 150
|
|
448
|
+
),
|
|
449
|
+
None,
|
|
450
|
+
)
|
|
451
|
+
if major:
|
|
452
|
+
anchors.append({"section": major, "y": w["y"], "x": w["x0"], "major": True})
|
|
453
|
+
continue
|
|
454
|
+
minor = next(
|
|
455
|
+
(
|
|
456
|
+
s
|
|
457
|
+
for kw, s in _MINOR_SECTIONS.items()
|
|
458
|
+
if token.startswith(kw) and w["size"] >= 7
|
|
459
|
+
),
|
|
460
|
+
None,
|
|
461
|
+
)
|
|
462
|
+
if minor:
|
|
463
|
+
anchors.append(
|
|
464
|
+
{"section": minor, "y": w["y"], "x": w["x0"], "major": False}
|
|
465
|
+
)
|
|
466
|
+
# merge duplicates (the two-line "PAPIER / KARTON" label, repeated headings)
|
|
467
|
+
merged: list[dict] = []
|
|
468
|
+
for a in sorted(anchors, key=lambda a: -a["y"]):
|
|
469
|
+
dup = next(
|
|
470
|
+
(
|
|
471
|
+
m
|
|
472
|
+
for m in merged
|
|
473
|
+
if m["section"] == a["section"]
|
|
474
|
+
and abs(m["y"] - a["y"]) < 40
|
|
475
|
+
and abs(m["x"] - a["x"]) < 60
|
|
476
|
+
),
|
|
477
|
+
None,
|
|
478
|
+
)
|
|
479
|
+
if dup:
|
|
480
|
+
dup["y"] = (dup["y"] + a["y"]) / 2
|
|
481
|
+
else:
|
|
482
|
+
merged.append(a)
|
|
483
|
+
return merged
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
def _find_header_rows(words: list[dict]) -> list[dict]:
|
|
487
|
+
"""Month-abbreviation rows (JAN..DEZ); at least 2 months on one baseline."""
|
|
488
|
+
month_words = [
|
|
489
|
+
w for w in words if w["text"].rstrip(".*") in _MONTH_ABBR and w["size"] >= 5
|
|
490
|
+
]
|
|
491
|
+
rows: list[dict] = []
|
|
492
|
+
for w in sorted(month_words, key=lambda w: -w["y0"]):
|
|
493
|
+
row = next((r for r in rows if abs(r["y"] - w["y0"]) < 3), None)
|
|
494
|
+
if row is None:
|
|
495
|
+
rows.append({"y": w["y0"], "months": [w]})
|
|
496
|
+
else:
|
|
497
|
+
row["months"].append(w)
|
|
498
|
+
headers = []
|
|
499
|
+
for row in rows:
|
|
500
|
+
if len(row["months"]) < 2:
|
|
501
|
+
continue
|
|
502
|
+
row["months"].sort(key=lambda w: w["x0"])
|
|
503
|
+
cols = []
|
|
504
|
+
prev_num, offset = 0, 0
|
|
505
|
+
for w in row["months"]:
|
|
506
|
+
num = _MONTH_ABBR[w["text"].rstrip(".*")]
|
|
507
|
+
if num < prev_num: # "DEZ JAN" wrap -> next year's January column
|
|
508
|
+
offset += 1
|
|
509
|
+
prev_num = num
|
|
510
|
+
cols.append({"x": w["x0"], "month": num, "year_offset": offset})
|
|
511
|
+
gaps = [b["x"] - a["x"] for a, b in pairwise(cols)]
|
|
512
|
+
tol = max(12.0, min(gaps) / 2) if gaps else 18.0
|
|
513
|
+
headers.append({"y": row["y"], "cols": cols, "tol": tol})
|
|
514
|
+
return headers
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
def _attach_headers(
|
|
518
|
+
headers: list[dict], anchors: list[dict], words: list[dict]
|
|
519
|
+
) -> list[dict]:
|
|
520
|
+
"""Assign each month-header row to its section label."""
|
|
521
|
+
|
|
522
|
+
def score(a: dict, h: dict) -> float:
|
|
523
|
+
dy = abs(a["y"] - h["y"])
|
|
524
|
+
dx = max(0.0, h["cols"][0]["x"] - (a["x"] + 60))
|
|
525
|
+
return dy + 0.15 * dx
|
|
526
|
+
|
|
527
|
+
for h in headers:
|
|
528
|
+
cands = [a for a in anchors if abs(a["y"] - h["y"]) < 150]
|
|
529
|
+
# full-width 12-month grids never belong to the right-hand info blocks
|
|
530
|
+
# (Häckseldienst, Metalle, Christbaum) — those only own indented
|
|
531
|
+
# mini-grids
|
|
532
|
+
if len(h["cols"]) >= 12 and h["cols"][0]["x"] < 330:
|
|
533
|
+
grid_owners = [
|
|
534
|
+
a
|
|
535
|
+
for a in cands
|
|
536
|
+
if a["major"]
|
|
537
|
+
or a["section"] not in ("Häckseldienst", "Metalle", "Christbaum")
|
|
538
|
+
]
|
|
539
|
+
cands = grid_owners or cands
|
|
540
|
+
h["section"] = (
|
|
541
|
+
min(cands, key=lambda a: score(a, h))["section"] if cands else None
|
|
542
|
+
)
|
|
543
|
+
# "Papiersammlung" / "Kartonsammlung" sub-grid labels sit in the
|
|
544
|
+
# zone-label column directly above their month header and override
|
|
545
|
+
# the anchor attachment (e.g. separate paper and cardboard grids).
|
|
546
|
+
sub = " ".join(
|
|
547
|
+
w["text"].lower()
|
|
548
|
+
for w in words
|
|
549
|
+
if 250 < w["x0"] < 360 and 3 < w["y0"] - h["y"] < 45 and w["size"] < 16
|
|
550
|
+
)
|
|
551
|
+
has_papier = bool(re.search(r"\bpapier(sammlung|-)?\b", sub))
|
|
552
|
+
has_karton = bool(re.search(r"\bkarton(sammlung)?\b", sub))
|
|
553
|
+
if has_papier and has_karton:
|
|
554
|
+
h["section"] = "Papier/Karton"
|
|
555
|
+
elif has_papier:
|
|
556
|
+
h["section"] = "Papier"
|
|
557
|
+
elif has_karton:
|
|
558
|
+
h["section"] = "Karton"
|
|
559
|
+
return headers
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
def _clean_zone_label(label: str) -> str:
|
|
563
|
+
label = re.sub(r"-\s+(?=[a-zäöü])", "", label) # re-join hyphenated wraps
|
|
564
|
+
label = re.sub(r"\s*,\s*", ", ", label)
|
|
565
|
+
label = re.sub(r"^Sammlung\s+", "", label)
|
|
566
|
+
label = re.sub(rf"\s*:\s*({_WD_RE})\b.*$", "", label)
|
|
567
|
+
# cut glued footnote legends ("... Thurfeld 1 2 TV Bischofszell ...")
|
|
568
|
+
label = re.sub(r"\s\d{1,2}(\s.*)?$", "", label)
|
|
569
|
+
return label.strip(" ,:")
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
def _find_zone_clusters(
|
|
573
|
+
header: dict, words: list[dict], date_rows_ys: list[float]
|
|
574
|
+
) -> list[dict]:
|
|
575
|
+
"""Cluster the small labels just left of an indented grid into zones."""
|
|
576
|
+
x_left = header["cols"][0]["x"]
|
|
577
|
+
cand = [
|
|
578
|
+
w
|
|
579
|
+
for w in words
|
|
580
|
+
if x_left - 115 < w["x0"] < x_left - 4
|
|
581
|
+
and header["y"] - 235 < w["y0"] < header["y"] - 2
|
|
582
|
+
and w["text"] not in ("Gebiet", "•")
|
|
583
|
+
and not w["text"].startswith("•")
|
|
584
|
+
]
|
|
585
|
+
cand.sort(key=lambda w: -w["y0"])
|
|
586
|
+
clusters: list[dict] = []
|
|
587
|
+
for w in cand:
|
|
588
|
+
if clusters and clusters[-1]["ys"][-1] - w["y0"] < 14.5:
|
|
589
|
+
clusters[-1]["words"].append(w)
|
|
590
|
+
clusters[-1]["ys"].append(w["y0"])
|
|
591
|
+
elif re.match(r"[A-ZÄÖÜ]", w["text"]):
|
|
592
|
+
# a new zone label must start with an uppercase word
|
|
593
|
+
clusters.append({"words": [w], "ys": [w["y0"]]})
|
|
594
|
+
zones = []
|
|
595
|
+
for c in clusters:
|
|
596
|
+
yc = sum(c["ys"]) / len(c["ys"])
|
|
597
|
+
# a real zone label must align with at least one date row
|
|
598
|
+
if not any(abs(yc - dy) < 12 for dy in date_rows_ys):
|
|
599
|
+
continue
|
|
600
|
+
label = _clean_zone_label(
|
|
601
|
+
" ".join(
|
|
602
|
+
w["text"] for w in sorted(c["words"], key=lambda w: (-w["y0"], w["x0"]))
|
|
603
|
+
)
|
|
604
|
+
)
|
|
605
|
+
if label:
|
|
606
|
+
zones.append({"label": label, "y": yc})
|
|
607
|
+
return zones
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
# ---------------------------------------------------------------------------
|
|
611
|
+
# Schedule parsing
|
|
612
|
+
# ---------------------------------------------------------------------------
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
def _parse_grids(
|
|
616
|
+
words: list[dict], headers: list[dict], year: int
|
|
617
|
+
) -> tuple[list[tuple], list[dict]]:
|
|
618
|
+
"""Assign day tokens to (section, zone, date) via the month columns."""
|
|
619
|
+
tokens = [w for w in words if _TOKEN_RE.fullmatch(w["text"]) and w["size"] >= 5]
|
|
620
|
+
# superscript zone legend, e.g. "¹ Nördliche Rebenstrasse / Altstadt"
|
|
621
|
+
legend: dict[str, str] = {}
|
|
622
|
+
for w in words:
|
|
623
|
+
if w["text"][:1] in "¹²³⁴":
|
|
624
|
+
marker = w["text"][0]
|
|
625
|
+
rest = w["text"][1:].strip()
|
|
626
|
+
if not rest:
|
|
627
|
+
same_row = [
|
|
628
|
+
w2
|
|
629
|
+
for w2 in words
|
|
630
|
+
if abs(w2["y0"] - w["y0"]) < 3 and 0 < w2["x0"] - w["x0"] < 250
|
|
631
|
+
]
|
|
632
|
+
rest = " ".join(
|
|
633
|
+
x["text"] for x in sorted(same_row, key=lambda x: x["x0"])[:6]
|
|
634
|
+
)
|
|
635
|
+
if rest and marker not in legend and re.match(r"[A-ZÄÖÜ]", rest):
|
|
636
|
+
legend[marker] = rest.strip(" :,")
|
|
637
|
+
|
|
638
|
+
results: list[tuple] = []
|
|
639
|
+
gruengut_zones: list[dict] = []
|
|
640
|
+
for h in headers:
|
|
641
|
+
if h["section"] is None:
|
|
642
|
+
continue
|
|
643
|
+
mine = []
|
|
644
|
+
for t in tokens:
|
|
645
|
+
dy = h["y"] - t["y0"]
|
|
646
|
+
if not (3 < dy < 230):
|
|
647
|
+
continue
|
|
648
|
+
if any(
|
|
649
|
+
h2 is not h and 3 < h2["y"] - t["y0"] < dy for h2 in headers
|
|
650
|
+
): # a closer header above owns this token
|
|
651
|
+
continue
|
|
652
|
+
col = min(h["cols"], key=lambda c: abs(c["x"] - t["x0"]))
|
|
653
|
+
if abs(col["x"] - t["x0"]) > h["tol"]:
|
|
654
|
+
continue
|
|
655
|
+
mine.append((t, col))
|
|
656
|
+
if mine:
|
|
657
|
+
sizes = sorted(t["size"] for t, _ in mine)
|
|
658
|
+
median = sizes[len(sizes) // 2]
|
|
659
|
+
mine = [(t, c) for t, c in mine if t["size"] >= median - 1.5]
|
|
660
|
+
date_rows = sorted({round(t["y0"]) for t, _ in mine}, reverse=True)
|
|
661
|
+
zones: list[dict] = []
|
|
662
|
+
if h["cols"][0]["x"] > 330: # indented grids leave room for zone labels
|
|
663
|
+
zones = _find_zone_clusters(h, words, [float(y) for y in date_rows])
|
|
664
|
+
if len(zones) < 2:
|
|
665
|
+
zones = []
|
|
666
|
+
if zones and h["section"] == "Grüngut":
|
|
667
|
+
gruengut_zones.extend(zones)
|
|
668
|
+
zone_tol = 16.0
|
|
669
|
+
if zones:
|
|
670
|
+
ys = sorted(z["y"] for z in zones)
|
|
671
|
+
pitch = min((b - a for a, b in pairwise(ys)), default=28.0)
|
|
672
|
+
zone_tol = max(8.0, min(16.0, pitch / 2))
|
|
673
|
+
for t, col in mine:
|
|
674
|
+
m = _TOKEN_RE.fullmatch(t["text"])
|
|
675
|
+
if m is None:
|
|
676
|
+
continue
|
|
677
|
+
days = [int(m.group(1))] + ([int(m.group(2))] if m.group(2) else [])
|
|
678
|
+
marker = m.group(3) or ""
|
|
679
|
+
zone = None
|
|
680
|
+
if marker in "¹²³⁴" and marker:
|
|
681
|
+
zone = legend.get(marker, f"Zone {'¹²³⁴'.index(marker) + 1}")
|
|
682
|
+
elif zones:
|
|
683
|
+
near = min(zones, key=lambda z: abs(z["y"] - t["y0"]))
|
|
684
|
+
if abs(near["y"] - t["y0"]) < zone_tol:
|
|
685
|
+
zone = near["label"]
|
|
686
|
+
for day in days:
|
|
687
|
+
try:
|
|
688
|
+
d = date(year + col["year_offset"], col["month"], day)
|
|
689
|
+
except ValueError:
|
|
690
|
+
continue
|
|
691
|
+
results.append((h["section"], zone, d))
|
|
692
|
+
return results, gruengut_zones
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
def _section_band_rows(
|
|
696
|
+
rows: list[dict], anchor: dict, y_above: float, y_below: float
|
|
697
|
+
) -> list[dict]:
|
|
698
|
+
return [r for r in rows if anchor["y"] - y_above < r["y"] < anchor["y"] + y_below]
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
def _parse_kehricht(rows: list[dict], anchors: list[dict]) -> list[tuple[str, str]]:
|
|
702
|
+
"""Weekday rules from the Kehricht block; returns [(zone_label, weekday)]."""
|
|
703
|
+
anchor = next((a for a in anchors if a["section"] == "Kehricht"), None)
|
|
704
|
+
if anchor is None:
|
|
705
|
+
return []
|
|
706
|
+
band = _section_band_rows(rows, anchor, y_above=200, y_below=120)
|
|
707
|
+
# re-join wrapped rules ("Abfuhrtag Bischofszell, Halden" /
|
|
708
|
+
# "und Schweizersholz: Dienstag") before matching
|
|
709
|
+
texts: list[str] = []
|
|
710
|
+
for r in band:
|
|
711
|
+
if texts and re.match(r"\s*(?:und\b|[a-zäöü])", r["text"]):
|
|
712
|
+
texts[-1] = texts[-1] + " " + r["text"]
|
|
713
|
+
else:
|
|
714
|
+
texts.append(r["text"])
|
|
715
|
+
pairs = []
|
|
716
|
+
for text in texts:
|
|
717
|
+
for m in re.finditer(
|
|
718
|
+
rf"(?:^|[•●]\s*)?([A-ZÄÖÜ][\w\säöüéè/,()\-]{{0,60}}?):\s*\(?({_WD_RE})\)?",
|
|
719
|
+
text,
|
|
720
|
+
):
|
|
721
|
+
label, wd = m.group(1).strip(), m.group(2)
|
|
722
|
+
tail = text[m.end() : m.end() + 12]
|
|
723
|
+
if re.match(r"\s*,?\s*\d{1,2}\.", tail): # holiday shift with a date
|
|
724
|
+
continue
|
|
725
|
+
if any(h.lower() in label.lower() for h in _HOLIDAY_WORDS):
|
|
726
|
+
continue
|
|
727
|
+
label = re.sub(
|
|
728
|
+
r"^(Abfuhrtage?|Abfuhrgebiet|Abfuhrtag|Sammlung)\s*", "", label
|
|
729
|
+
).strip(" :")
|
|
730
|
+
pairs.append((label, wd))
|
|
731
|
+
seen, out = set(), []
|
|
732
|
+
for label, wd in pairs:
|
|
733
|
+
key = (label.casefold(), wd)
|
|
734
|
+
if key not in seen:
|
|
735
|
+
seen.add(key)
|
|
736
|
+
out.append((label, wd))
|
|
737
|
+
return out
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
def _parse_kehricht_shifts(rows: list[dict], anchors: list[dict]) -> list[date]:
|
|
741
|
+
"""Explicitly listed holiday replacement dates for the Kehricht tour.
|
|
742
|
+
|
|
743
|
+
Lines like '• Berchtoldstag: Samstag, 3.1.2026' name the substitute
|
|
744
|
+
collection date for the week of the holiday.
|
|
745
|
+
"""
|
|
746
|
+
anchor = next((a for a in anchors if a["section"] == "Kehricht"), None)
|
|
747
|
+
if anchor is None:
|
|
748
|
+
return []
|
|
749
|
+
shifts = []
|
|
750
|
+
for r in _section_band_rows(rows, anchor, y_above=200, y_below=120):
|
|
751
|
+
if not any(h.lower() in r["text"].lower() for h in _HOLIDAY_WORDS):
|
|
752
|
+
continue
|
|
753
|
+
for m in re.finditer(
|
|
754
|
+
rf"(?:{_WD_RE})\s*,?\s*(\d{{1,2}})\.\s*(\d{{1,2}})\.\s*(20\d{{2}})",
|
|
755
|
+
r["text"],
|
|
756
|
+
):
|
|
757
|
+
try:
|
|
758
|
+
shifts.append(date(int(m.group(3)), int(m.group(2)), int(m.group(1))))
|
|
759
|
+
except ValueError:
|
|
760
|
+
pass
|
|
761
|
+
return shifts
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
def _parse_weekly_spans(rows: list[dict]) -> list[dict]:
|
|
765
|
+
"""Weekly-collection text rules in two flavours.
|
|
766
|
+
|
|
767
|
+
'Von Anfang März bis Ende November wöchentliche Sammlung jeden <WD>'
|
|
768
|
+
(Kreuzlingen) and 'Vom 6. März bis 27. November 2026 wöchentlich'
|
|
769
|
+
(Gachnang), optionally followed by cancellations like
|
|
770
|
+
'Die Sammlung vom 3. April (Karfreitag) fällt aus.'
|
|
771
|
+
"""
|
|
772
|
+
out = []
|
|
773
|
+
for r in rows:
|
|
774
|
+
m = re.search(r"Von Anfang (\w+) bis Ende (\w+)\s+wöchentliche", r["text"])
|
|
775
|
+
if m and m.group(1) in _MONTH_FULL and m.group(2) in _MONTH_FULL:
|
|
776
|
+
wd = None
|
|
777
|
+
m2 = re.search(rf"jeden\s+({_WD_RE})", r["text"])
|
|
778
|
+
if m2:
|
|
779
|
+
wd = m2.group(1)
|
|
780
|
+
else: # the weekday usually sits on the following line
|
|
781
|
+
for r2 in rows:
|
|
782
|
+
if 4 < r["y"] - r2["y"] < 18:
|
|
783
|
+
m2 = re.search(rf"jeden\s+({_WD_RE})", r2["text"])
|
|
784
|
+
if m2:
|
|
785
|
+
wd = m2.group(1)
|
|
786
|
+
break
|
|
787
|
+
if wd:
|
|
788
|
+
out.append(
|
|
789
|
+
{
|
|
790
|
+
"y": r["y"],
|
|
791
|
+
"start": _MONTH_FULL[m.group(1)],
|
|
792
|
+
"start_day": None,
|
|
793
|
+
"end": _MONTH_FULL[m.group(2)],
|
|
794
|
+
"end_day": None,
|
|
795
|
+
"weekday": wd,
|
|
796
|
+
"cancels": [],
|
|
797
|
+
}
|
|
798
|
+
)
|
|
799
|
+
continue
|
|
800
|
+
m = re.search(
|
|
801
|
+
r"Vom (\d{1,2})\.\s*(\w+) bis (\d{1,2})\.\s*(\w+)(?:\s*20\d{2})?"
|
|
802
|
+
r"\s*wöchentlich",
|
|
803
|
+
r["text"],
|
|
804
|
+
)
|
|
805
|
+
if m and m.group(2) in _MONTH_FULL and m.group(4) in _MONTH_FULL:
|
|
806
|
+
cancels = []
|
|
807
|
+
for r2 in rows:
|
|
808
|
+
if -5 < r["y"] - r2["y"] < 25:
|
|
809
|
+
for mc in re.finditer(
|
|
810
|
+
r"vom (\d{1,2})\.\s*(\w+)[^.]*fällt aus",
|
|
811
|
+
r2["text"],
|
|
812
|
+
re.IGNORECASE,
|
|
813
|
+
):
|
|
814
|
+
if mc.group(2) in _MONTH_FULL:
|
|
815
|
+
cancels.append((_MONTH_FULL[mc.group(2)], int(mc.group(1))))
|
|
816
|
+
out.append(
|
|
817
|
+
{
|
|
818
|
+
"y": r["y"],
|
|
819
|
+
"start": _MONTH_FULL[m.group(2)],
|
|
820
|
+
"start_day": int(m.group(1)),
|
|
821
|
+
"end": _MONTH_FULL[m.group(4)],
|
|
822
|
+
"end_day": int(m.group(3)),
|
|
823
|
+
"weekday": None, # derived from the start date
|
|
824
|
+
"cancels": cancels,
|
|
825
|
+
}
|
|
826
|
+
)
|
|
827
|
+
return out
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
def _parse_kw_rule(rows: list[dict], anchors: list[dict], year: int) -> dict | None:
|
|
831
|
+
"""Frauenfeld-style 'YYYY: KW 2 / 4 ... / KW 11 – 52' in the Grüngut block."""
|
|
832
|
+
anchor = next((a for a in anchors if a["section"] == "Grüngut"), None)
|
|
833
|
+
if anchor is None:
|
|
834
|
+
return None
|
|
835
|
+
band = _section_band_rows(rows, anchor, y_above=200, y_below=120)
|
|
836
|
+
weeks: list[int] = []
|
|
837
|
+
found = False
|
|
838
|
+
for r in band:
|
|
839
|
+
m = re.search(rf"{year}\s*:\s*(KW[\d\s/–\-KW]*)", r["text"])
|
|
840
|
+
if not m:
|
|
841
|
+
continue
|
|
842
|
+
found = True
|
|
843
|
+
blob = m.group(1)
|
|
844
|
+
# continuation rows just below ("KW 11 – 52" wrapped to its own line)
|
|
845
|
+
for r2 in band:
|
|
846
|
+
if (
|
|
847
|
+
2 < r["y"] - r2["y"] < 25
|
|
848
|
+
and re.match(r"\s*KW[\d\s/–\-]+$", r2["text"])
|
|
849
|
+
and not re.search(r"20\d{2}", r2["text"])
|
|
850
|
+
):
|
|
851
|
+
blob += " " + r2["text"]
|
|
852
|
+
for rng in re.finditer(r"(\d{1,2})\s*[–\-]\s*(\d{1,2})", blob):
|
|
853
|
+
weeks.extend(range(int(rng.group(1)), int(rng.group(2)) + 1))
|
|
854
|
+
blob_no_rng = re.sub(r"\d{1,2}\s*[–\-]\s*\d{1,2}", "", blob)
|
|
855
|
+
weeks.extend(int(n) for n in re.findall(r"\d{1,2}", blob_no_rng))
|
|
856
|
+
break
|
|
857
|
+
if not found:
|
|
858
|
+
return None
|
|
859
|
+
# zone weekdays: standalone weekday words in the block are the zone-map
|
|
860
|
+
# labels ("Montag-Zone" etc.)
|
|
861
|
+
zone_weekdays = []
|
|
862
|
+
for r in band:
|
|
863
|
+
for w in r["words"]:
|
|
864
|
+
if w["text"] in _WEEKDAYS and w["text"] not in zone_weekdays:
|
|
865
|
+
zone_weekdays.append(w["text"])
|
|
866
|
+
return {"weeks": sorted(set(weeks)), "zone_weekdays": zone_weekdays}
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
def _parse_inline_dates(
|
|
870
|
+
rows: list[dict], anchors: list[dict], sections_with_grids: set[str], year: int
|
|
871
|
+
) -> list[tuple[str, date]]:
|
|
872
|
+
"""Concrete dates in the info blocks (Metalle, Häckseldienst, Christbaum)."""
|
|
873
|
+
out = []
|
|
874
|
+
for a in anchors:
|
|
875
|
+
if a["major"] or a["section"] not in ("Metalle", "Häckseldienst", "Christbaum"):
|
|
876
|
+
continue
|
|
877
|
+
if a["section"] in sections_with_grids:
|
|
878
|
+
continue
|
|
879
|
+
for r in _section_band_rows(rows, a, y_above=100, y_below=30):
|
|
880
|
+
if re.search(r"Ausfall|entfällt|[Kk]eine? |verschoben", r["text"]):
|
|
881
|
+
continue
|
|
882
|
+
near = " ".join(
|
|
883
|
+
w["text"] for w in r["words"] if a["x"] - 15 < w["x0"] < a["x"] + 340
|
|
884
|
+
)
|
|
885
|
+
# "22./ 23. 4. 2026" with year, "25. 4. und 24.10." without
|
|
886
|
+
for m in re.finditer(
|
|
887
|
+
r"(\d{1,2})\.\s*(?:/\s*(\d{1,2})\.\s*)?(\d{1,2})\.(?:\s*(20\d{2}))?",
|
|
888
|
+
near,
|
|
889
|
+
):
|
|
890
|
+
d1, d2, mon, yr = m.groups()
|
|
891
|
+
if not 1 <= int(mon) <= 12:
|
|
892
|
+
continue
|
|
893
|
+
for dd in (d1, d2):
|
|
894
|
+
if dd is None:
|
|
895
|
+
continue
|
|
896
|
+
try:
|
|
897
|
+
out.append(
|
|
898
|
+
(
|
|
899
|
+
a["section"],
|
|
900
|
+
date(int(yr) if yr else year, int(mon), int(dd)),
|
|
901
|
+
)
|
|
902
|
+
)
|
|
903
|
+
except ValueError:
|
|
904
|
+
pass
|
|
905
|
+
return out
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
# ---------------------------------------------------------------------------
|
|
909
|
+
# Date expansion helpers
|
|
910
|
+
# ---------------------------------------------------------------------------
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
def _expand_weekday(year: int, weekday_idx: int) -> list[date]:
|
|
914
|
+
d = date(year, 1, 1)
|
|
915
|
+
d += timedelta(days=(weekday_idx - d.weekday()) % 7)
|
|
916
|
+
out = []
|
|
917
|
+
while d.year == year:
|
|
918
|
+
out.append(d)
|
|
919
|
+
d += timedelta(days=7)
|
|
920
|
+
return out
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
def _expand_span(year: int, span: dict) -> list[date]:
|
|
924
|
+
start = date(year, span["start"], span["start_day"] or 1)
|
|
925
|
+
if span["end_day"]:
|
|
926
|
+
end = date(year, span["end"], span["end_day"])
|
|
927
|
+
elif span["end"] == 12:
|
|
928
|
+
end = date(year, 12, 31)
|
|
929
|
+
else:
|
|
930
|
+
end = date(year, span["end"] + 1, 1) - timedelta(days=1)
|
|
931
|
+
wd = _WEEKDAYS[span["weekday"]] if span["weekday"] else start.weekday()
|
|
932
|
+
cancelled = {date(year, m, d) for m, d in span["cancels"]}
|
|
933
|
+
d = start + timedelta(days=(wd - start.weekday()) % 7)
|
|
934
|
+
out = []
|
|
935
|
+
while d <= end:
|
|
936
|
+
if d not in cancelled:
|
|
937
|
+
out.append(d)
|
|
938
|
+
d += timedelta(days=7)
|
|
939
|
+
return out
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
# ---------------------------------------------------------------------------
|
|
943
|
+
# Kreuzlingen city Kehricht plan
|
|
944
|
+
# ---------------------------------------------------------------------------
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
def _fetch_kreuzlingen_city_kehricht(year: int) -> set[tuple[str, str | None, date]]:
|
|
948
|
+
"""Weekly Kehricht events from the city of Kreuzlingen's own zone plan.
|
|
949
|
+
|
|
950
|
+
The plan is a map PDF, but its legend is machine-readable: each zone
|
|
951
|
+
title ("Kreuzlingen Süd & Tägerwilen") sits directly above its weekday
|
|
952
|
+
("Montag") at the same x position.
|
|
953
|
+
"""
|
|
954
|
+
r = requests.get(_KREUZLINGEN_ENTSORGUNG_URL, timeout=30)
|
|
955
|
+
r.raise_for_status()
|
|
956
|
+
soup = BeautifulSoup(r.text, "html.parser")
|
|
957
|
+
|
|
958
|
+
pdf_link = None
|
|
959
|
+
for a in soup.find_all("a", href=True):
|
|
960
|
+
text = a.get_text(strip=True).lower()
|
|
961
|
+
href = str(a["href"])
|
|
962
|
+
if "kehricht" in text and "abfuhrplan" in text and ".pdf" in href.lower():
|
|
963
|
+
pdf_link = urljoin(_KREUZLINGEN_ENTSORGUNG_URL, href)
|
|
964
|
+
break
|
|
965
|
+
if pdf_link is None:
|
|
966
|
+
raise ValueError("no Kehricht Abfuhrplan link found on kreuzlingen.ch")
|
|
967
|
+
|
|
968
|
+
r_pdf = requests.get(pdf_link, timeout=30)
|
|
969
|
+
r_pdf.raise_for_status()
|
|
970
|
+
words = _extract_words(io.BytesIO(r_pdf.content))
|
|
971
|
+
|
|
972
|
+
wd_words = sorted(
|
|
973
|
+
(w for w in words if w["text"] in _WEEKDAYS and w["size"] >= 8),
|
|
974
|
+
key=lambda w: w["x0"],
|
|
975
|
+
)
|
|
976
|
+
events: set[tuple[str, str | None, date]] = set()
|
|
977
|
+
for i, wd_w in enumerate(wd_words):
|
|
978
|
+
x_lo = wd_w["x0"] - 5
|
|
979
|
+
x_hi = wd_words[i + 1]["x0"] - 5 if i + 1 < len(wd_words) else float("inf")
|
|
980
|
+
title = " ".join(
|
|
981
|
+
w["text"]
|
|
982
|
+
for w in sorted(words, key=lambda w: w["x0"])
|
|
983
|
+
if x_lo <= w["x0"] < x_hi and 4 < w["y0"] - wd_w["y0"] < 22
|
|
984
|
+
)
|
|
985
|
+
# drop map-marker glyphs (private-use symbols) from the legend text
|
|
986
|
+
title = re.sub(r"[^\w\s&/,.\-]", "", title, flags=re.UNICODE)
|
|
987
|
+
title = re.sub(r"^Kreuzlingen\s*", "", title)
|
|
988
|
+
zone = re.sub(r"\s+", " ", title).strip(" &,") or None
|
|
989
|
+
for d in _expand_weekday(year, _WEEKDAYS[wd_w["text"]]):
|
|
990
|
+
events.add(("Kehricht", zone, d))
|
|
991
|
+
if not events:
|
|
992
|
+
raise ValueError("no zone/weekday legend found in the city Kehricht plan")
|
|
993
|
+
return events
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
# ---------------------------------------------------------------------------
|
|
997
|
+
# Source
|
|
998
|
+
# ---------------------------------------------------------------------------
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
class Source:
|
|
1002
|
+
def __init__(
|
|
1003
|
+
self,
|
|
1004
|
+
community: str,
|
|
1005
|
+
zone: str | None = None,
|
|
1006
|
+
kehricht_zone: str | None = None,
|
|
1007
|
+
):
|
|
1008
|
+
self._community = community
|
|
1009
|
+
self._zone = zone
|
|
1010
|
+
self._kehricht_zone = kehricht_zone
|
|
1011
|
+
|
|
1012
|
+
def fetch(self) -> list[Collection]:
|
|
1013
|
+
pdf_stream = self._download_pdf()
|
|
1014
|
+
words = _extract_words(pdf_stream)
|
|
1015
|
+
|
|
1016
|
+
year = _find_year(words)
|
|
1017
|
+
if year is None:
|
|
1018
|
+
raise ValueError(
|
|
1019
|
+
f"Could not determine the schedule year from the PDF for "
|
|
1020
|
+
f"'{self._community}'. The plan layout may have changed — "
|
|
1021
|
+
"please open an issue."
|
|
1022
|
+
)
|
|
1023
|
+
|
|
1024
|
+
rows = _rows_from_words(words)
|
|
1025
|
+
anchors = _find_anchors(words)
|
|
1026
|
+
headers = _attach_headers(_find_header_rows(words), anchors, words)
|
|
1027
|
+
|
|
1028
|
+
# events: (waste type, zone label or None, date)
|
|
1029
|
+
events: set[tuple[str, str | None, date]] = set()
|
|
1030
|
+
|
|
1031
|
+
grid_events, gruengut_zones = _parse_grids(words, headers, year)
|
|
1032
|
+
events.update(grid_events)
|
|
1033
|
+
|
|
1034
|
+
# weekly Kehricht rule(s), with explicitly listed holiday shifts
|
|
1035
|
+
kehricht = _parse_kehricht(rows, anchors)
|
|
1036
|
+
if kehricht:
|
|
1037
|
+
weekdays = {wd for _, wd in kehricht}
|
|
1038
|
+
kehricht_events = set()
|
|
1039
|
+
for label, wd in kehricht:
|
|
1040
|
+
zone = label if len(kehricht) > 1 and len(weekdays) > 1 else None
|
|
1041
|
+
for d in _expand_weekday(year, _WEEKDAYS[wd]):
|
|
1042
|
+
kehricht_events.add((zone, d))
|
|
1043
|
+
for shift in _parse_kehricht_shifts(rows, anchors):
|
|
1044
|
+
near = min(
|
|
1045
|
+
kehricht_events,
|
|
1046
|
+
key=lambda e: abs((e[1] - shift).days),
|
|
1047
|
+
default=None,
|
|
1048
|
+
)
|
|
1049
|
+
if near is not None and abs((near[1] - shift).days) <= 3:
|
|
1050
|
+
kehricht_events.discard(near)
|
|
1051
|
+
kehricht_events.add((near[0], shift))
|
|
1052
|
+
for zone, d in kehricht_events:
|
|
1053
|
+
events.add(("Kehricht", zone, d))
|
|
1054
|
+
|
|
1055
|
+
# "weekly from March to November" Grüngut spans (e.g. Kreuzlingen)
|
|
1056
|
+
for span in _parse_weekly_spans(rows):
|
|
1057
|
+
zone = None
|
|
1058
|
+
if gruengut_zones:
|
|
1059
|
+
near_zone = min(gruengut_zones, key=lambda z: abs(z["y"] - span["y"]))
|
|
1060
|
+
if abs(near_zone["y"] - span["y"]) < 20:
|
|
1061
|
+
zone = near_zone["label"]
|
|
1062
|
+
for d in _expand_span(year, span):
|
|
1063
|
+
events.add(("Grüngut", zone, d))
|
|
1064
|
+
|
|
1065
|
+
# calendar-week Grüngut rule (e.g. Frauenfeld)
|
|
1066
|
+
kw = _parse_kw_rule(rows, anchors, year)
|
|
1067
|
+
if kw and not kw["zone_weekdays"]:
|
|
1068
|
+
_LOGGER.warning(
|
|
1069
|
+
"Found a calendar-week Grüngut rule for '%s' but no zone "
|
|
1070
|
+
"weekdays — skipping it. The plan layout may have changed.",
|
|
1071
|
+
self._community,
|
|
1072
|
+
)
|
|
1073
|
+
elif kw:
|
|
1074
|
+
zone_weekdays = kw["zone_weekdays"]
|
|
1075
|
+
for wd in zone_weekdays:
|
|
1076
|
+
zone = f"Zone {wd}" if len(zone_weekdays) > 1 else None
|
|
1077
|
+
for week in kw["weeks"]:
|
|
1078
|
+
try:
|
|
1079
|
+
d = date.fromisocalendar(year, week, _WEEKDAYS[wd] + 1)
|
|
1080
|
+
except ValueError:
|
|
1081
|
+
continue
|
|
1082
|
+
events.add(("Grüngut", zone, d))
|
|
1083
|
+
|
|
1084
|
+
# inline dates in the info blocks (Metalle street collections etc.)
|
|
1085
|
+
sections_with_grids = {t for t, _, _ in grid_events}
|
|
1086
|
+
for section, d in _parse_inline_dates(rows, anchors, sections_with_grids, year):
|
|
1087
|
+
events.add((section, None, d))
|
|
1088
|
+
|
|
1089
|
+
if not events:
|
|
1090
|
+
_LOGGER.warning(
|
|
1091
|
+
"No collection dates found in the KVA Thurgau plan for '%s'. "
|
|
1092
|
+
"The community may only offer drop-off disposal, or the PDF "
|
|
1093
|
+
"layout changed.",
|
|
1094
|
+
self._community,
|
|
1095
|
+
)
|
|
1096
|
+
|
|
1097
|
+
# Kreuzlingen publishes its Kehricht weekdays only in the city's own
|
|
1098
|
+
# zone plan; fetch it in addition to the KVA plan. The city zones are
|
|
1099
|
+
# a different system than the Grüngut districts, hence the separate
|
|
1100
|
+
# kehricht_zone argument.
|
|
1101
|
+
city_events: set[tuple[str, str | None, date]] = set()
|
|
1102
|
+
if _normalize(self._community) == "kreuzlingen":
|
|
1103
|
+
try:
|
|
1104
|
+
city_events = _fetch_kreuzlingen_city_kehricht(year)
|
|
1105
|
+
except Exception as e:
|
|
1106
|
+
_LOGGER.warning(
|
|
1107
|
+
"Could not fetch the Kreuzlingen city Kehricht plan: %s", e
|
|
1108
|
+
)
|
|
1109
|
+
if self._kehricht_zone and not city_events:
|
|
1110
|
+
raise SourceArgumentNotFoundWithSuggestions(
|
|
1111
|
+
"kehricht_zone", self._kehricht_zone, []
|
|
1112
|
+
)
|
|
1113
|
+
|
|
1114
|
+
return self._build_collections(events, city_events)
|
|
1115
|
+
|
|
1116
|
+
# ------------------------------------------------------------------
|
|
1117
|
+
# Internal helpers
|
|
1118
|
+
# ------------------------------------------------------------------
|
|
1119
|
+
|
|
1120
|
+
def _download_pdf(self) -> io.BytesIO:
|
|
1121
|
+
r = requests.get(_OVERVIEW_URL, timeout=30)
|
|
1122
|
+
r.raise_for_status()
|
|
1123
|
+
soup = BeautifulSoup(r.text, "html.parser")
|
|
1124
|
+
|
|
1125
|
+
links: dict[str, str] = {}
|
|
1126
|
+
for a in soup.find_all("a", href=True):
|
|
1127
|
+
href = str(a["href"])
|
|
1128
|
+
if not href.lower().endswith(".pdf"):
|
|
1129
|
+
continue
|
|
1130
|
+
name = a.get_text(strip=True)
|
|
1131
|
+
if name:
|
|
1132
|
+
links[name] = href
|
|
1133
|
+
|
|
1134
|
+
wanted = _normalize(self._community)
|
|
1135
|
+
pdf_link = next(
|
|
1136
|
+
(href for name, href in links.items() if _normalize(name) == wanted), None
|
|
1137
|
+
)
|
|
1138
|
+
if pdf_link is None:
|
|
1139
|
+
raise SourceArgumentNotFoundWithSuggestions(
|
|
1140
|
+
"community", self._community, sorted(links) or COMMUNITIES
|
|
1141
|
+
)
|
|
1142
|
+
pdf_link = urljoin(_OVERVIEW_URL, pdf_link)
|
|
1143
|
+
|
|
1144
|
+
r_pdf = requests.get(pdf_link, timeout=30)
|
|
1145
|
+
r_pdf.raise_for_status()
|
|
1146
|
+
return io.BytesIO(r_pdf.content)
|
|
1147
|
+
|
|
1148
|
+
@staticmethod
|
|
1149
|
+
def _select_zone(
|
|
1150
|
+
events: set[tuple[str, str | None, date]],
|
|
1151
|
+
wanted_zone: str | None,
|
|
1152
|
+
arg_name: str,
|
|
1153
|
+
) -> tuple[set[tuple[str, str | None, date]], bool]:
|
|
1154
|
+
"""Filter events by a zone argument; returns (events, suffix_zone)."""
|
|
1155
|
+
zone_labels = sorted({z for _, z, _ in events if z})
|
|
1156
|
+
if not wanted_zone:
|
|
1157
|
+
return events, True
|
|
1158
|
+
wanted = _normalize(wanted_zone)
|
|
1159
|
+
matching = {z for z in zone_labels if wanted == _normalize(z)} or {
|
|
1160
|
+
z
|
|
1161
|
+
for z in zone_labels
|
|
1162
|
+
if re.search(rf"\b{re.escape(wanted)}\b", _normalize(z))
|
|
1163
|
+
}
|
|
1164
|
+
if not matching:
|
|
1165
|
+
raise SourceArgumentNotFoundWithSuggestions(
|
|
1166
|
+
arg_name, wanted_zone, zone_labels
|
|
1167
|
+
)
|
|
1168
|
+
return {(t, z, d) for t, z, d in events if z is None or z in matching}, False
|
|
1169
|
+
|
|
1170
|
+
def _build_collections(
|
|
1171
|
+
self,
|
|
1172
|
+
events: set[tuple[str, str | None, date]],
|
|
1173
|
+
city_events: set[tuple[str, str | None, date]],
|
|
1174
|
+
) -> list[Collection]:
|
|
1175
|
+
selected, suffix = self._select_zone(events, self._zone, "zone")
|
|
1176
|
+
selected_city, suffix_city = self._select_zone(
|
|
1177
|
+
city_events, self._kehricht_zone, "kehricht_zone"
|
|
1178
|
+
)
|
|
1179
|
+
|
|
1180
|
+
collections = []
|
|
1181
|
+
for part, add_suffix in ((selected, suffix), (selected_city, suffix_city)):
|
|
1182
|
+
for t, zone, d in part:
|
|
1183
|
+
name = f"{t} ({zone})" if zone and add_suffix else t
|
|
1184
|
+
collections.append(Collection(date=d, t=name, icon=ICON_MAP.get(t)))
|
|
1185
|
+
collections.sort(key=lambda c: (c.date, c.type))
|
|
1186
|
+
return collections
|