@camstack/addon-waste-collections 0.0.0-stage → 0.1.2
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 +53209 -0
- package/dist/waste-collections.addon.mjs +53196 -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,431 @@
|
|
|
1
|
+
"""Shared client for councils running the "OpenCities"/"MyArea" widget.
|
|
2
|
+
|
|
3
|
+
Many AU/NZ council websites expose the same two endpoints on their own
|
|
4
|
+
domain (the widget behind e.g. https://www.logan.qld.gov.au/MyLogan):
|
|
5
|
+
|
|
6
|
+
- ``GET <domain>/api/v1/myarea/search[fuzzy]`` — address search, returning
|
|
7
|
+
JSON ``{"Items": [{"Id": "<geolocation-guid>", "AddressSingleLine": ...}]}``
|
|
8
|
+
(a handful of legacy deployments return XML instead).
|
|
9
|
+
- ``GET <domain>/ocapi/Public/myarea/wasteservices`` — given a
|
|
10
|
+
``geolocationid``, returns ``{"success": bool, "responseContent": "<html>"}``
|
|
11
|
+
where the HTML is a series of ``<article>``/``div.waste-services-result``
|
|
12
|
+
blocks, each with an ``<h3>`` (waste type), a ``.next-service`` element
|
|
13
|
+
(next collection date) and usually a ``.note`` element (the service's
|
|
14
|
+
cadence and kerbside instructions in prose).
|
|
15
|
+
|
|
16
|
+
This module centralises that flow behind :class:`OpenCitiesClient` so
|
|
17
|
+
per-council source files stay a thin ``OpenCitiesConfig`` + ``Source`` shim.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from __future__ import annotations
|
|
21
|
+
|
|
22
|
+
from dataclasses import dataclass
|
|
23
|
+
from datetime import date, datetime, timedelta
|
|
24
|
+
from typing import Any, Literal
|
|
25
|
+
|
|
26
|
+
import requests
|
|
27
|
+
from bs4 import BeautifulSoup
|
|
28
|
+
from curl_cffi import requests as curl_cffi_requests
|
|
29
|
+
|
|
30
|
+
from waste_collection_schedule import Collection
|
|
31
|
+
from waste_collection_schedule.exceptions import (
|
|
32
|
+
SourceArgAmbiguousWithSuggestions,
|
|
33
|
+
SourceArgumentNotFound,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
DEFAULT_DATE_FORMAT = "%a %d/%m/%Y"
|
|
37
|
+
|
|
38
|
+
_WEEKDAY_NAMES = [
|
|
39
|
+
"Monday",
|
|
40
|
+
"Tuesday",
|
|
41
|
+
"Wednesday",
|
|
42
|
+
"Thursday",
|
|
43
|
+
"Friday",
|
|
44
|
+
"Saturday",
|
|
45
|
+
"Sunday",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
@dataclass(frozen=True)
|
|
50
|
+
class OpenCitiesConfig:
|
|
51
|
+
"""Per-council configuration for :class:`OpenCitiesClient`."""
|
|
52
|
+
|
|
53
|
+
domain: str
|
|
54
|
+
"""Council base URL, e.g. ``"https://www.ballina.nsw.gov.au"`` (no trailing slash)."""
|
|
55
|
+
|
|
56
|
+
argument_name: str = "address"
|
|
57
|
+
"""Exact ``Source.__init__`` kwarg name, used in raised exceptions."""
|
|
58
|
+
|
|
59
|
+
direct_argument_name: str | None = None
|
|
60
|
+
"""
|
|
61
|
+
``Source.__init__`` kwarg holding a geolocation id given instead of an
|
|
62
|
+
address, for the sources that accept one. Exceptions raised on that path
|
|
63
|
+
name this argument, so the config flow marks the field the visitor
|
|
64
|
+
actually filled in rather than the empty address one.
|
|
65
|
+
"""
|
|
66
|
+
|
|
67
|
+
search_fuzzy: bool = False
|
|
68
|
+
"""Use ``/api/v1/myarea/searchfuzzy`` instead of ``/api/v1/myarea/search``."""
|
|
69
|
+
|
|
70
|
+
max_results: int | None = None
|
|
71
|
+
"""Optional ``maxresults`` query param on the search request."""
|
|
72
|
+
|
|
73
|
+
search_response_format: Literal["json", "xml", "json_then_xml"] = "json"
|
|
74
|
+
"""Search response format. ``"json_then_xml"`` tries JSON, falls back to XML."""
|
|
75
|
+
|
|
76
|
+
page_link: str | None = None
|
|
77
|
+
"""Optional ``pageLink`` query param required by some council instances."""
|
|
78
|
+
|
|
79
|
+
ocsvclang: str = "en-AU"
|
|
80
|
+
|
|
81
|
+
use_curl_cffi: bool = False
|
|
82
|
+
"""Use curl_cffi (Chrome impersonation) to bypass Akamai/Incapsula bot protection."""
|
|
83
|
+
|
|
84
|
+
impersonate: str = "chrome"
|
|
85
|
+
|
|
86
|
+
warm_up_url: str | None = None
|
|
87
|
+
"""A page fetched once, lazily, before the first API request (session/cookie priming)."""
|
|
88
|
+
|
|
89
|
+
warm_up_before: Literal["search", "wasteservices"] = "search"
|
|
90
|
+
"""
|
|
91
|
+
When the (one-off) warm-up GET fires: before the address search
|
|
92
|
+
(default), or after it — right before the wasteservices call, which
|
|
93
|
+
also covers the direct ``geolocation_id`` bypass path where no search
|
|
94
|
+
ever happens.
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
date_format: str = DEFAULT_DATE_FORMAT
|
|
98
|
+
|
|
99
|
+
icon_keywords: dict[str, Any] | None = None
|
|
100
|
+
"""Lower-cased waste-type substring -> icon, checked in insertion order."""
|
|
101
|
+
|
|
102
|
+
strip_type_suffixes: tuple[str, ...] = ()
|
|
103
|
+
"""Suffixes (case-insensitive) stripped from parsed waste-type labels, e.g. ``("collection",)``."""
|
|
104
|
+
|
|
105
|
+
headers: dict[str, str] | None = None
|
|
106
|
+
|
|
107
|
+
timeout: int = 30
|
|
108
|
+
|
|
109
|
+
strict_address_matching: bool = False
|
|
110
|
+
"""
|
|
111
|
+
If False (default), the first (highest-ranked) search result is always
|
|
112
|
+
used, trusting the API's own relevance ranking -- this matches how the
|
|
113
|
+
vast majority of council deployments behave today. If True, multiple
|
|
114
|
+
search results are instead disambiguated by exact (case/space-
|
|
115
|
+
insensitive) match against ``AddressSingleLine``, raising
|
|
116
|
+
``SourceArgAmbiguousWithSuggestions`` when that's not conclusive. Only
|
|
117
|
+
enable this for councils whose original implementation already did its
|
|
118
|
+
own such disambiguation (e.g. Hobart, Moorabool) -- for most councils
|
|
119
|
+
it does more harm than good, since a user's address rarely matches the
|
|
120
|
+
server's canonical ``AddressSingleLine`` formatting byte-for-byte (e.g.
|
|
121
|
+
missing a state abbreviation or punctuation the server adds), which
|
|
122
|
+
would otherwise turn a normal, correctly-resolved top hit into a hard
|
|
123
|
+
"ambiguous" failure.
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
strict_single_result: bool = False
|
|
127
|
+
"""
|
|
128
|
+
Only meaningful with ``strict_address_matching``. By default a lone search
|
|
129
|
+
result is trusted even under strict matching, on the assumption that one
|
|
130
|
+
hit means the API was confident. A few deployments' search is loose enough
|
|
131
|
+
to answer an unrelated query with exactly one wrong hit -- lakemac returns
|
|
132
|
+
the single result "2 Lake Ridge Lane, MURRAYS BEACH" for the query
|
|
133
|
+
"2 Wallarah Rd" -- and there strict matching needs to apply to a single
|
|
134
|
+
result too, so the caller is offered it as a suggestion to confirm rather
|
|
135
|
+
than silently handed another property's bins. Left off by default because
|
|
136
|
+
for most councils the lone hit is right and merely formatted differently
|
|
137
|
+
from what the user typed (a missing state abbreviation or postcode), which
|
|
138
|
+
would otherwise turn a correct resolution into a hard failure.
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
require_date_precise: bool = False
|
|
142
|
+
"""
|
|
143
|
+
If True, only wasteservices blocks additionally carrying a
|
|
144
|
+
``date-precise`` CSS class are parsed, skipping vague/recurring entries
|
|
145
|
+
with no concrete next date (some council deployments, e.g. Shoalhaven,
|
|
146
|
+
mix both kinds of block in the same response).
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
exclude_types: tuple[str, ...] = ()
|
|
150
|
+
"""
|
|
151
|
+
Waste-type labels (exact match) to always drop, e.g. a council mixing
|
|
152
|
+
an unrelated "Burning off" permit article into the same wasteservices
|
|
153
|
+
response.
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
exclude_type_prefixes: tuple[str, ...] = ()
|
|
157
|
+
"""
|
|
158
|
+
Waste-type label prefixes to always drop, e.g. "Calendar" entries
|
|
159
|
+
(calendar-download links, not actual collections) some deployments mix
|
|
160
|
+
into the same wasteservices response.
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
class OpenCitiesClient:
|
|
165
|
+
def __init__(self, config: OpenCitiesConfig) -> None:
|
|
166
|
+
self._cfg = config
|
|
167
|
+
self._session = self._build_session()
|
|
168
|
+
self._geolocation_id: str | None = None
|
|
169
|
+
self._warmed_up = False
|
|
170
|
+
|
|
171
|
+
# ---- public API ---------------------------------------------------
|
|
172
|
+
|
|
173
|
+
def fetch(
|
|
174
|
+
self, address: str | None = None, geolocation_id: str | None = None
|
|
175
|
+
) -> list[Collection]:
|
|
176
|
+
"""Resolve collections for an address, or directly for a geolocation id.
|
|
177
|
+
|
|
178
|
+
When resolving from ``address``, the geolocation id is cached across
|
|
179
|
+
calls (HA polls ``fetch()`` repeatedly) so only the first call pays
|
|
180
|
+
for the address search. If a cached id later fails, it is re-resolved
|
|
181
|
+
once and the wasteservices call retried.
|
|
182
|
+
"""
|
|
183
|
+
if geolocation_id is not None:
|
|
184
|
+
return self.fetch_by_geolocation_id(geolocation_id)
|
|
185
|
+
|
|
186
|
+
if address is None:
|
|
187
|
+
raise ValueError("Either address or geolocation_id must be provided")
|
|
188
|
+
|
|
189
|
+
used_cache = self._geolocation_id is not None
|
|
190
|
+
if not used_cache:
|
|
191
|
+
self._geolocation_id = self.resolve_geolocation_id(address)
|
|
192
|
+
|
|
193
|
+
try:
|
|
194
|
+
return self.fetch_by_geolocation_id(self._geolocation_id, address) # type: ignore[arg-type]
|
|
195
|
+
except SourceArgumentNotFound:
|
|
196
|
+
if not used_cache:
|
|
197
|
+
raise
|
|
198
|
+
self._geolocation_id = self.resolve_geolocation_id(address)
|
|
199
|
+
return self.fetch_by_geolocation_id(self._geolocation_id, address)
|
|
200
|
+
|
|
201
|
+
def resolve_geolocation_id(self, address: str) -> str:
|
|
202
|
+
if self._cfg.warm_up_before == "search":
|
|
203
|
+
self._ensure_warmed_up()
|
|
204
|
+
items = self._search(address)
|
|
205
|
+
return self._select_address(address, items)
|
|
206
|
+
|
|
207
|
+
def fetch_by_geolocation_id(
|
|
208
|
+
self, geolocation_id: str, address: str | None = None
|
|
209
|
+
) -> list[Collection]:
|
|
210
|
+
html = self.get_waste_services_html(geolocation_id, address)
|
|
211
|
+
return self._parse_wasteservices_html(html)
|
|
212
|
+
|
|
213
|
+
def get_waste_services_html(
|
|
214
|
+
self, geolocation_id: str, address: str | None = None
|
|
215
|
+
) -> str:
|
|
216
|
+
"""Return the raw wasteservices HTML fragment for a geolocation id.
|
|
217
|
+
|
|
218
|
+
Exposed alongside :meth:`fetch_by_geolocation_id` for the rare
|
|
219
|
+
source that needs to parse extra per-block content (e.g. a "note"
|
|
220
|
+
div with a collection-frequency hint) beyond the waste type and
|
|
221
|
+
next-service date the shared parser extracts.
|
|
222
|
+
"""
|
|
223
|
+
if self._cfg.warm_up_before == "wasteservices":
|
|
224
|
+
self._ensure_warmed_up()
|
|
225
|
+
params: dict[str, str] = {
|
|
226
|
+
"geolocationid": geolocation_id,
|
|
227
|
+
"ocsvclang": self._cfg.ocsvclang,
|
|
228
|
+
}
|
|
229
|
+
if self._cfg.page_link:
|
|
230
|
+
params["pageLink"] = self._cfg.page_link
|
|
231
|
+
response = self._get(
|
|
232
|
+
f"{self._cfg.domain}/ocapi/Public/myarea/wasteservices", params
|
|
233
|
+
)
|
|
234
|
+
data = response.json()
|
|
235
|
+
if not data.get("success", True) or not data.get("responseContent"):
|
|
236
|
+
# The address resolved, but the council holds no waste service for
|
|
237
|
+
# that property (vacant land, a commercial lot, a newly titled block
|
|
238
|
+
# not yet on a run). Report the address the visitor gave rather than
|
|
239
|
+
# the internal geolocation GUID, which reads as nonsense to them --
|
|
240
|
+
# unless the GUID is what they gave, in which case name that
|
|
241
|
+
# argument so the config flow flags the field they filled in.
|
|
242
|
+
if address is not None:
|
|
243
|
+
argument_name, value = self._cfg.argument_name, address
|
|
244
|
+
else:
|
|
245
|
+
argument_name = (
|
|
246
|
+
self._cfg.direct_argument_name or self._cfg.argument_name
|
|
247
|
+
)
|
|
248
|
+
value = geolocation_id
|
|
249
|
+
raise SourceArgumentNotFound(
|
|
250
|
+
argument_name,
|
|
251
|
+
value,
|
|
252
|
+
"The council lists no waste collection service for this "
|
|
253
|
+
"property. Check the address, or contact the council if it "
|
|
254
|
+
"should have a collection.",
|
|
255
|
+
)
|
|
256
|
+
return data["responseContent"]
|
|
257
|
+
|
|
258
|
+
# ---- internals ------------------------------------------------------
|
|
259
|
+
|
|
260
|
+
def _build_session(self):
|
|
261
|
+
if self._cfg.use_curl_cffi:
|
|
262
|
+
session = curl_cffi_requests.Session(impersonate=self._cfg.impersonate)
|
|
263
|
+
else:
|
|
264
|
+
session = requests.Session()
|
|
265
|
+
if self._cfg.headers:
|
|
266
|
+
session.headers.update(self._cfg.headers)
|
|
267
|
+
return session
|
|
268
|
+
|
|
269
|
+
def _get(self, url: str, params: dict[str, Any] | None = None):
|
|
270
|
+
response = self._session.get(url, params=params, timeout=self._cfg.timeout)
|
|
271
|
+
response.raise_for_status()
|
|
272
|
+
return response
|
|
273
|
+
|
|
274
|
+
def _ensure_warmed_up(self) -> None:
|
|
275
|
+
if self._warmed_up or not self._cfg.warm_up_url:
|
|
276
|
+
return
|
|
277
|
+
self._get(self._cfg.warm_up_url)
|
|
278
|
+
self._warmed_up = True
|
|
279
|
+
|
|
280
|
+
def _search(self, address: str) -> list[dict[str, Any]]:
|
|
281
|
+
path = "searchfuzzy" if self._cfg.search_fuzzy else "search"
|
|
282
|
+
params: dict[str, Any] = {"keywords": address}
|
|
283
|
+
if self._cfg.max_results is not None:
|
|
284
|
+
params["maxresults"] = self._cfg.max_results
|
|
285
|
+
response = self._get(f"{self._cfg.domain}/api/v1/myarea/{path}", params)
|
|
286
|
+
|
|
287
|
+
fmt = self._cfg.search_response_format
|
|
288
|
+
if fmt == "xml":
|
|
289
|
+
return self._parse_search_xml(response.text)
|
|
290
|
+
if fmt == "json_then_xml":
|
|
291
|
+
try:
|
|
292
|
+
return response.json().get("Items") or []
|
|
293
|
+
except ValueError:
|
|
294
|
+
return self._parse_search_xml(response.text)
|
|
295
|
+
return response.json().get("Items") or []
|
|
296
|
+
|
|
297
|
+
@staticmethod
|
|
298
|
+
def _parse_search_xml(text: str) -> list[dict[str, Any]]:
|
|
299
|
+
soup = BeautifulSoup(text, "xml")
|
|
300
|
+
items: list[dict[str, Any]] = []
|
|
301
|
+
for result in soup.find_all("PhysicalAddressSearchResult"):
|
|
302
|
+
id_el = result.find("Id")
|
|
303
|
+
if id_el and id_el.text.strip():
|
|
304
|
+
item: dict[str, Any] = {"Id": id_el.text.strip()}
|
|
305
|
+
address_el = result.find("AddressSingleLine")
|
|
306
|
+
if address_el and address_el.text.strip():
|
|
307
|
+
item["AddressSingleLine"] = address_el.text.strip()
|
|
308
|
+
items.append(item)
|
|
309
|
+
return items
|
|
310
|
+
|
|
311
|
+
def _select_address(self, address: str, items: list[dict[str, Any]]) -> str:
|
|
312
|
+
if not items:
|
|
313
|
+
raise SourceArgumentNotFound(self._cfg.argument_name, address)
|
|
314
|
+
if not self._cfg.strict_address_matching:
|
|
315
|
+
return items[0]["Id"]
|
|
316
|
+
if len(items) == 1 and not self._cfg.strict_single_result:
|
|
317
|
+
return items[0]["Id"]
|
|
318
|
+
|
|
319
|
+
normalized = address.lower().replace(" ", "")
|
|
320
|
+
exact = [
|
|
321
|
+
item
|
|
322
|
+
for item in items
|
|
323
|
+
if item.get("AddressSingleLine", "").lower().replace(" ", "") == normalized
|
|
324
|
+
]
|
|
325
|
+
if len(exact) == 1:
|
|
326
|
+
return exact[0]["Id"]
|
|
327
|
+
|
|
328
|
+
if not any(item.get("AddressSingleLine") for item in items):
|
|
329
|
+
# No address text to disambiguate with (e.g. legacy XML results) —
|
|
330
|
+
# fall back to the first match rather than crash.
|
|
331
|
+
return items[0]["Id"]
|
|
332
|
+
|
|
333
|
+
suggestions = [item.get("AddressSingleLine", item["Id"]) for item in items]
|
|
334
|
+
raise SourceArgAmbiguousWithSuggestions(
|
|
335
|
+
self._cfg.argument_name, address, suggestions
|
|
336
|
+
)
|
|
337
|
+
|
|
338
|
+
@staticmethod
|
|
339
|
+
def _select_top_level(soup: BeautifulSoup, selector: str) -> list[Any]:
|
|
340
|
+
"""soup.select(), but drop matches nested inside another match.
|
|
341
|
+
|
|
342
|
+
Some council deployments wrap a matching ``<article>`` inside a
|
|
343
|
+
matching ``div.waste-services-result`` (or vice versa); selecting
|
|
344
|
+
both tags would otherwise double-count every entry.
|
|
345
|
+
"""
|
|
346
|
+
candidates = soup.select(selector)
|
|
347
|
+
candidate_ids = {id(candidate) for candidate in candidates}
|
|
348
|
+
return [
|
|
349
|
+
candidate
|
|
350
|
+
for candidate in candidates
|
|
351
|
+
if not any(id(parent) in candidate_ids for parent in candidate.parents)
|
|
352
|
+
]
|
|
353
|
+
|
|
354
|
+
def _parse_wasteservices_html(self, html: str) -> list[Collection]:
|
|
355
|
+
soup = BeautifulSoup(html, "html.parser")
|
|
356
|
+
entries: list[Collection] = []
|
|
357
|
+
selector = (
|
|
358
|
+
"div.waste-services-result.date-precise"
|
|
359
|
+
if self._cfg.require_date_precise
|
|
360
|
+
else "article, div.waste-services-result"
|
|
361
|
+
)
|
|
362
|
+
for block in self._select_top_level(soup, selector):
|
|
363
|
+
title = block.select_one("h3")
|
|
364
|
+
next_service = block.select_one(".next-service")
|
|
365
|
+
if title is None or next_service is None:
|
|
366
|
+
continue
|
|
367
|
+
|
|
368
|
+
waste_type = title.get_text(" ", strip=True)
|
|
369
|
+
if waste_type in self._cfg.exclude_types:
|
|
370
|
+
continue
|
|
371
|
+
if waste_type.startswith(self._cfg.exclude_type_prefixes):
|
|
372
|
+
continue
|
|
373
|
+
for suffix in self._cfg.strip_type_suffixes:
|
|
374
|
+
if waste_type.lower().endswith(suffix.lower()):
|
|
375
|
+
waste_type = waste_type[: -len(suffix)].strip()
|
|
376
|
+
|
|
377
|
+
date_text = next_service.get_text(" ", strip=True)
|
|
378
|
+
if not date_text:
|
|
379
|
+
continue
|
|
380
|
+
collection_date = self._parse_date(date_text)
|
|
381
|
+
if collection_date is None:
|
|
382
|
+
continue
|
|
383
|
+
|
|
384
|
+
# Most deployments state the service's cadence and kerbside
|
|
385
|
+
# instructions in a "note" div next to the date ("Collected
|
|
386
|
+
# fortnightly. Place bin on the kerb before the morning of
|
|
387
|
+
# collection."). The API returns only the ONE next date per
|
|
388
|
+
# service, so this sentence is the only place the cadence appears
|
|
389
|
+
# at all -- carry it through as the collection's description
|
|
390
|
+
# instead of dropping it.
|
|
391
|
+
note = block.select_one(".note")
|
|
392
|
+
description = note.get_text(" ", strip=True) if note else None
|
|
393
|
+
|
|
394
|
+
entries.append(
|
|
395
|
+
Collection(
|
|
396
|
+
date=collection_date,
|
|
397
|
+
t=waste_type,
|
|
398
|
+
icon=self._resolve_icon(waste_type),
|
|
399
|
+
description=description,
|
|
400
|
+
)
|
|
401
|
+
)
|
|
402
|
+
return entries
|
|
403
|
+
|
|
404
|
+
def _parse_date(self, text: str) -> date | None:
|
|
405
|
+
try:
|
|
406
|
+
return datetime.strptime(text, self._cfg.date_format).date()
|
|
407
|
+
except ValueError:
|
|
408
|
+
pass
|
|
409
|
+
# Some deployments describe a recurring service as "Every <Weekday>"
|
|
410
|
+
# instead of a concrete next date (no explicit next occurrence is
|
|
411
|
+
# given by the API at all) -- resolve it to the next occurrence of
|
|
412
|
+
# that weekday from today.
|
|
413
|
+
parts = text.split()
|
|
414
|
+
if len(parts) >= 2 and parts[0].lower() == "every":
|
|
415
|
+
try:
|
|
416
|
+
target_weekday = _WEEKDAY_NAMES.index(parts[1].capitalize())
|
|
417
|
+
except ValueError:
|
|
418
|
+
return None
|
|
419
|
+
today = datetime.now().date()
|
|
420
|
+
days_ahead = (target_weekday - today.weekday()) % 7
|
|
421
|
+
return today + timedelta(days=days_ahead)
|
|
422
|
+
return None
|
|
423
|
+
|
|
424
|
+
def _resolve_icon(self, label: str) -> Any | None:
|
|
425
|
+
if not self._cfg.icon_keywords:
|
|
426
|
+
return None
|
|
427
|
+
lowered = label.lower()
|
|
428
|
+
for keyword, icon in self._cfg.icon_keywords.items():
|
|
429
|
+
if keyword.lower() in lowered:
|
|
430
|
+
return icon
|
|
431
|
+
return None
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Pozi GIS Service Library.
|
|
3
|
+
|
|
4
|
+
Provides reusable helpers for interacting with Pozi-based council GIS services:
|
|
5
|
+
- Querying GeoJSON zone layers hosted on connect.pozi.com
|
|
6
|
+
- Querying QGIS WFS endpoints via Pozi server-side spatial filters
|
|
7
|
+
- Client-side point-in-polygon matching for GeoJSON zone lookups
|
|
8
|
+
|
|
9
|
+
Typical workflows:
|
|
10
|
+
|
|
11
|
+
GeoJSON zones (e.g. Frankston, Bendigo):
|
|
12
|
+
1. Call query_geojson_zones() with the connect.pozi.com URL and coordinates.
|
|
13
|
+
2. Receive the properties dict of the matching zone feature.
|
|
14
|
+
|
|
15
|
+
WFS spatial query (e.g. Vincent):
|
|
16
|
+
1. Call query_wfs_layer() with the WFS endpoint URL, layer name and
|
|
17
|
+
coordinates. Pass map_path as well for QGIS servers that expect a MAP
|
|
18
|
+
parameter; omit it for dataset proxies that already point at a project.
|
|
19
|
+
2. Receive the properties dict of the matching feature.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
from __future__ import annotations
|
|
23
|
+
|
|
24
|
+
import logging
|
|
25
|
+
from typing import Any
|
|
26
|
+
|
|
27
|
+
import requests
|
|
28
|
+
|
|
29
|
+
_LOGGER = logging.getLogger(__name__)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class PoziError(Exception):
|
|
33
|
+
"""Base exception for Pozi-related failures."""
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class PoziGeoJsonError(PoziError):
|
|
37
|
+
"""Raised when a GeoJSON zone query fails or returns no match."""
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class PoziWfsError(PoziError):
|
|
41
|
+
"""Raised when a WFS query fails or returns no features."""
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def query_geojson_zones(
|
|
45
|
+
url: str,
|
|
46
|
+
lat: float,
|
|
47
|
+
lng: float,
|
|
48
|
+
*,
|
|
49
|
+
timeout: int = 20,
|
|
50
|
+
) -> dict[str, Any]:
|
|
51
|
+
"""Fetch GeoJSON zones and find the zone containing the given point.
|
|
52
|
+
|
|
53
|
+
Args:
|
|
54
|
+
url: Full URL to a GeoJSON file (typically on connect.pozi.com).
|
|
55
|
+
lat: Latitude of the point.
|
|
56
|
+
lng: Longitude of the point.
|
|
57
|
+
timeout: Request timeout in seconds.
|
|
58
|
+
|
|
59
|
+
Returns:
|
|
60
|
+
Properties dict of the matching feature.
|
|
61
|
+
|
|
62
|
+
Raises:
|
|
63
|
+
PoziGeoJsonError: If no zone contains the point.
|
|
64
|
+
"""
|
|
65
|
+
r = requests.get(url, timeout=timeout)
|
|
66
|
+
r.raise_for_status()
|
|
67
|
+
|
|
68
|
+
data = r.json()
|
|
69
|
+
features = data.get("features", [])
|
|
70
|
+
if not features:
|
|
71
|
+
raise PoziGeoJsonError(f"No features found in GeoJSON from {url}")
|
|
72
|
+
|
|
73
|
+
for feature in features:
|
|
74
|
+
geometry = feature.get("geometry", {})
|
|
75
|
+
if _point_in_geometry(lat, lng, geometry):
|
|
76
|
+
_LOGGER.debug(
|
|
77
|
+
"Point (%s, %s) matched zone: %s",
|
|
78
|
+
lat,
|
|
79
|
+
lng,
|
|
80
|
+
feature.get("properties", {}),
|
|
81
|
+
)
|
|
82
|
+
return feature.get("properties", {})
|
|
83
|
+
|
|
84
|
+
raise PoziGeoJsonError(f"Point ({lat}, {lng}) not found in any zone from {url}")
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def query_wfs_layer(
|
|
88
|
+
base_url: str,
|
|
89
|
+
typename: str,
|
|
90
|
+
lat: float,
|
|
91
|
+
lng: float,
|
|
92
|
+
*,
|
|
93
|
+
map_path: str | None = None,
|
|
94
|
+
timeout: int = 20,
|
|
95
|
+
) -> dict[str, Any]:
|
|
96
|
+
"""Query a Pozi QGIS WFS endpoint with a spatial intersects filter.
|
|
97
|
+
|
|
98
|
+
Args:
|
|
99
|
+
base_url: Base URL of the QGIS WFS server, or of a Pozi dataset proxy
|
|
100
|
+
that already points at a project (e.g.
|
|
101
|
+
'https://vincent.pozi.com/proxy/v1/maps/waste/datasets/<id>').
|
|
102
|
+
typename: WFS typename / layer name (e.g. 'Waste_Collection').
|
|
103
|
+
lat: Latitude of the point (EPSG:4326).
|
|
104
|
+
lng: Longitude of the point (EPSG:4326).
|
|
105
|
+
map_path: Server-side path to the QGIS project file, for endpoints that
|
|
106
|
+
take a MAP parameter (e.g. 'C:/Pozi/Waste.qgs').
|
|
107
|
+
timeout: Request timeout in seconds.
|
|
108
|
+
|
|
109
|
+
Returns:
|
|
110
|
+
Properties dict of the first matching feature.
|
|
111
|
+
|
|
112
|
+
Raises:
|
|
113
|
+
PoziWfsError: If no features are found.
|
|
114
|
+
"""
|
|
115
|
+
wfs_filter = (
|
|
116
|
+
"<Filter>"
|
|
117
|
+
"<Intersects>"
|
|
118
|
+
"<PropertyName>geom</PropertyName>"
|
|
119
|
+
'<Point xmlns="http://www.opengis.net/gml" srsName="EPSG:4326">'
|
|
120
|
+
f'<pos srsDimension="2">{lng} {lat}</pos>'
|
|
121
|
+
"</Point>"
|
|
122
|
+
"</Intersects>"
|
|
123
|
+
"</Filter>"
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
params: dict[str, str] = {
|
|
127
|
+
"TYPENAME": typename,
|
|
128
|
+
"LAYERS": typename.replace("_", " "),
|
|
129
|
+
"STYLES": "default",
|
|
130
|
+
"SERVICE": "WFS",
|
|
131
|
+
"REQUEST": "GetFeature",
|
|
132
|
+
"VERSION": "1.1.0",
|
|
133
|
+
"SRSNAME": "EPSG:4326",
|
|
134
|
+
"OUTPUTFORMAT": "application/json",
|
|
135
|
+
"FILTER": wfs_filter,
|
|
136
|
+
}
|
|
137
|
+
if map_path is not None:
|
|
138
|
+
params["MAP"] = map_path
|
|
139
|
+
|
|
140
|
+
r = requests.get(base_url, params=params, timeout=timeout)
|
|
141
|
+
r.raise_for_status()
|
|
142
|
+
|
|
143
|
+
data = r.json()
|
|
144
|
+
features = data.get("features", [])
|
|
145
|
+
if not features:
|
|
146
|
+
raise PoziWfsError(
|
|
147
|
+
f"No features found for point ({lat}, {lng}) in layer {typename}"
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
props = features[0].get("properties", {})
|
|
151
|
+
_LOGGER.debug("WFS query matched: %s", props)
|
|
152
|
+
return props
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
def _point_in_geometry(lat: float, lng: float, geometry: dict) -> bool:
|
|
156
|
+
"""Check if a point lies within a GeoJSON geometry (Polygon or MultiPolygon)."""
|
|
157
|
+
geom_type = geometry.get("type", "")
|
|
158
|
+
coords = geometry.get("coordinates", [])
|
|
159
|
+
|
|
160
|
+
if geom_type == "Polygon":
|
|
161
|
+
return _point_in_polygon(lng, lat, coords[0])
|
|
162
|
+
if geom_type == "MultiPolygon":
|
|
163
|
+
return any(_point_in_polygon(lng, lat, ring[0]) for ring in coords)
|
|
164
|
+
|
|
165
|
+
return False
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
def _point_in_polygon(x: float, y: float, polygon: list[list[float]]) -> bool:
|
|
169
|
+
"""Ray-casting point-in-polygon test.
|
|
170
|
+
|
|
171
|
+
Args:
|
|
172
|
+
x: X coordinate (longitude) of the point.
|
|
173
|
+
y: Y coordinate (latitude) of the point.
|
|
174
|
+
polygon: List of [x, y] coordinate pairs forming the polygon ring.
|
|
175
|
+
|
|
176
|
+
Returns:
|
|
177
|
+
True if the point is inside the polygon.
|
|
178
|
+
"""
|
|
179
|
+
n = len(polygon)
|
|
180
|
+
inside = False
|
|
181
|
+
|
|
182
|
+
p1x, p1y = polygon[0]
|
|
183
|
+
for i in range(1, n + 1):
|
|
184
|
+
p2x, p2y = polygon[i % n]
|
|
185
|
+
if y > min(p1y, p2y):
|
|
186
|
+
if y <= max(p1y, p2y):
|
|
187
|
+
if x <= max(p1x, p2x):
|
|
188
|
+
if p1y != p2y:
|
|
189
|
+
xinters = (y - p1y) * (p2x - p1x) / (p2y - p1y) + p1x
|
|
190
|
+
if p1x == p2x or x <= xinters:
|
|
191
|
+
inside = not inside
|
|
192
|
+
p1x, p1y = p2x, p2y
|
|
193
|
+
|
|
194
|
+
return inside
|