From bd5ae3e3384470b6aaeac1d24d6f1aafb7498e60 Mon Sep 17 00:00:00 2001 From: Marigold Date: Mon, 9 Dec 2024 09:15:39 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Update=20ruff?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/chart_animation/cli.py | 3 +- apps/metadata_migrate/cli.py | 6 +- apps/metagpt/cli.py | 1 + apps/metagpt/prompts.py | 1 + apps/metagpt/utils.py | 1 + apps/utils/gpt.py | 1 + apps/wizard/app.py | 1 + apps/wizard/app_pages/anomalist/utils.py | 1 + .../app_pages/chart_diff/chart_diff_show.py | 1 + apps/wizard/app_pages/dashboard.py | 3 +- apps/wizard/app_pages/dataset_explorer.py | 1 + apps/wizard/app_pages/expert/app.py | 1 + apps/wizard/app_pages/expert/prompts.py | 3 +- apps/wizard/app_pages/explorer_edit.py | 1 + apps/wizard/app_pages/fasttrack/app.py | 1 + .../wizard/app_pages/fasttrack/fast_import.py | 1 + apps/wizard/app_pages/fasttrack/load.py | 1 + apps/wizard/app_pages/fasttrack/process.py | 1 + apps/wizard/app_pages/fasttrack/utils.py | 1 + apps/wizard/app_pages/harmonizer.py | 1 + .../wizard/app_pages/indicator_upgrade/app.py | 1 + .../indicator_upgrade/charts_update.py | 1 + .../indicator_upgrade/dataset_selection.py | 1 + .../indicator_upgrade/explore_mode.py | 1 + .../app_pages/indicator_upgrade/utils.py | 1 + apps/wizard/app_pages/map_brackets.py | 4 +- apps/wizard/app_pages/metagpt.py | 1 + apps/wizard/app_pages/metaplay.py | 1 + apps/wizard/app_pages/news.py | 1 + apps/wizard/app_pages/owidle.py | 1 + apps/wizard/cli.py | 1 + apps/wizard/etl_steps/express.py | 1 + apps/wizard/etl_steps/garden.py | 7 +- apps/wizard/etl_steps/grapher.py | 1 + apps/wizard/etl_steps/meadow.py | 1 + apps/wizard/etl_steps/snapshot.py | 1 + apps/wizard/home.py | 1 + apps/wizard/scripts/news.py | 1 + apps/wizard/utils/__init__.py | 1 + apps/wizard/utils/chart_config.py | 1 + apps/wizard/utils/db.py | 1 + apps/wizard/utils/io.py | 1 + docs/ignore/generate_dynamic_docs.py | 1 + etl/config.py | 1 + etl/data_helpers/population.py | 1 + etl/explorer.py | 1 + etl/files.py | 6 +- etl/grapher_io.py | 1 + etl/grapher_model.py | 23 +- etl/indicator_upgrade/indicator_update.py | 1 - etl/scripts/anomalies/detect_anomalies.py | 3 +- .../archive/migrate_to_new_metadata.py | 1 + etl/scripts/faostat/shared.py | 4 +- etl/steps/__init__.py | 9 +- .../explorers/wb/latest/world_bank_pip.py | 1 - .../data/external/co2_data/latest/owid_co2.py | 1 - .../antibiotics/2024-10-09/gram_level.py | 1 + .../2024-12-02/microbe_neonatal_amr.py | 1 + .../2024-01-30/yougov_job_automation.py | 1 - .../2024-01-30/yougov_robots.py | 1 - .../2024-02-15/epoch_llms.py | 1 - .../2024-04-02/dynabench.py | 1 - .../2024-06-03/epoch.py | 1 + .../epoch_aggregates_affiliation.py | 2 +- .../2024-06-03/epoch_aggregates_countries.py | 3 +- .../2024-06-03/epoch_aggregates_domain.py | 3 +- .../epoch_aggregates_organizations.py | 3 +- .../2024-06-19/epoch_compute_intensive.py | 1 + .../epoch_compute_intensive_countries.py | 3 +- .../epoch_compute_intensive_domain.py | 3 +- .../epoch_compute_intensive_organizations.py | 3 +- .../2024-07-10/epoch.py | 1 + .../epoch_aggregates_affiliation.py | 2 +- .../2024-07-10/epoch_aggregates_countries.py | 3 +- .../2024-07-10/epoch_aggregates_domain.py | 3 +- .../artificial_intelligence/latest/epoch.py | 1 + .../latest/epoch_aggregates_affiliation.py | 1 + .../latest/epoch_aggregates_approach.py | 1 + .../latest/epoch_aggregates_domain.py | 1 + .../gco_cancer_over_time_cervical.py | 1 - .../2024-01-31/climate_change_impacts.py | 4 +- .../2024-03-11/climate_change_impacts.py | 4 +- .../2024-04-17/climate_change_impacts.py | 4 +- .../2024-05-20/climate_change_impacts.py | 4 +- .../2024-07-23/climate_change_impacts.py | 4 +- .../2024-09-30/climate_change_impacts.py | 4 +- .../2024-11-18/climate_change_impacts.py | 4 +- .../garden/climate/latest/weekly_wildfires.py | 1 - .../garden/countries/2024-08-27/gleditsch.py | 1 + etl/steps/data/garden/covid/latest/compact.py | 1 + .../covid/latest/countries_reporting.py | 1 - .../garden/covid/latest/infections_model.py | 1 + .../data/garden/covid/latest/sequence.py | 1 + .../data/garden/covid/latest/sweden_covid.py | 1 + .../data/garden/democracy/2024-03-07/ert.py | 6 +- .../2024-03-07/vdem/vdem_aggregate.py | 1 + .../democracy/2024-03-07/vdem/vdem_clean.py | 7 +- .../2022-12-08/population/gapminder_sg.py | 1 + .../demography/2023-02-03/life_expectancy.py | 1 + .../2023-03-31/population/gapminder_sg.py | 1 + .../garden/demography/2024-01-25/utils/un.py | 1 - .../demography/2024-12-03/fertility_rate.py | 1 + .../eia/2023-07-10/energy_consumption.py | 3 +- .../eia/2023-12-12/energy_consumption.py | 4 +- .../2022-08-01/combined_electricity_review.py | 4 +- .../2022-08-01/european_electricity_review.py | 4 +- .../2022-08-01/global_electricity_review.py | 4 +- .../data/garden/ember/2023-02-20/shared.py | 2 +- .../data/garden/ember/2023-07-10/shared.py | 2 +- .../ember/2023-07-10/yearly_electricity.py | 4 +- .../2023-12-12/european_electricity_review.py | 4 +- .../ember/2023-12-12/yearly_electricity.py | 4 +- .../ember/2024-05-08/yearly_electricity.py | 1 + .../garden/emissions/2023-12-12/owid_co2.py | 1 - .../2024-04-08/national_contributions.py | 1 - .../2024-11-21/national_contributions.py | 1 - .../garden/energy/2023-07-10/energy_mix.py | 4 +- .../fossil_fuel_reserves_production_ratio.py | 4 +- .../garden/energy/2023-12-12/energy_mix.py | 4 +- .../fossil_fuel_reserves_production_ratio.py | 4 +- .../garden/energy/2024-05-08/energy_mix.py | 4 +- .../fossil_fuel_reserves_production_ratio.py | 4 +- .../garden/energy/2024-06-20/energy_mix.py | 4 +- .../fossil_fuel_reserves_production_ratio.py | 4 +- .../garden/energy/2024-11-20/energy_prices.py | 3 +- .../data/garden/ess/2023-08-02/ess_trust.py | 1 - .../2024-11-05/gas_and_electricity_prices.py | 1 + .../latest/excess_mortality/__init__.py | 1 + .../latest/excess_mortality/process.py | 1 + .../excess_mortality/latest/hmd_stmf.py | 1 + .../latest/xm_karlinsky_kobak.py | 1 + .../faostat/2023-02-22/detected_anomalies.py | 1 + .../2023-06-12/additional_variables.py | 4 +- .../faostat/2023-06-12/detected_anomalies.py | 1 + .../garden/faostat/2023-06-12/faostat_cahd.py | 1 + .../garden/faostat/2023-06-12/faostat_ef.py | 1 + .../garden/faostat/2023-06-12/faostat_ei.py | 1 + .../garden/faostat/2023-06-12/faostat_ek.py | 1 + .../garden/faostat/2023-06-12/faostat_el.py | 1 + .../garden/faostat/2023-06-12/faostat_emn.py | 1 + .../garden/faostat/2023-06-12/faostat_ep.py | 1 + .../garden/faostat/2023-06-12/faostat_esb.py | 1 + .../garden/faostat/2023-06-12/faostat_fa.py | 1 + .../garden/faostat/2023-06-12/faostat_fo.py | 1 + .../garden/faostat/2023-06-12/faostat_fs.py | 1 + .../garden/faostat/2023-06-12/faostat_gn.py | 1 + .../garden/faostat/2023-06-12/faostat_ic.py | 1 + .../garden/faostat/2023-06-12/faostat_lc.py | 1 + .../garden/faostat/2023-06-12/faostat_qi.py | 1 + .../garden/faostat/2023-06-12/faostat_qv.py | 1 + .../garden/faostat/2023-06-12/faostat_rfb.py | 1 + .../garden/faostat/2023-06-12/faostat_rfn.py | 1 + .../garden/faostat/2023-06-12/faostat_rl.py | 1 + .../garden/faostat/2023-06-12/faostat_rp.py | 1 + .../garden/faostat/2023-06-12/faostat_rt.py | 1 + .../garden/faostat/2023-06-12/faostat_scl.py | 1 + .../garden/faostat/2023-06-12/faostat_sdgb.py | 1 + .../garden/faostat/2023-06-12/faostat_tcl.py | 1 + .../garden/faostat/2023-06-12/faostat_ti.py | 1 + .../garden/faostat/2023-06-12/faostat_wcad.py | 1 + .../2024-03-14/additional_variables.py | 4 +- .../faostat/2024-03-14/detected_anomalies.py | 1 + .../garden/faostat/2024-03-14/faostat_cahd.py | 1 + .../garden/faostat/2024-03-14/faostat_ei.py | 1 + .../garden/faostat/2024-03-14/faostat_ek.py | 1 + .../garden/faostat/2024-03-14/faostat_emn.py | 1 + .../garden/faostat/2024-03-14/faostat_esb.py | 1 + .../garden/faostat/2024-03-14/faostat_fa.py | 1 + .../garden/faostat/2024-03-14/faostat_fbsc.py | 1 - .../garden/faostat/2024-03-14/faostat_fo.py | 1 + .../garden/faostat/2024-03-14/faostat_fs.py | 1 + .../garden/faostat/2024-03-14/faostat_ic.py | 1 + .../garden/faostat/2024-03-14/faostat_lc.py | 1 + .../garden/faostat/2024-03-14/faostat_qcl.py | 1 - .../garden/faostat/2024-03-14/faostat_qi.py | 1 + .../garden/faostat/2024-03-14/faostat_qv.py | 1 + .../garden/faostat/2024-03-14/faostat_rfb.py | 1 + .../garden/faostat/2024-03-14/faostat_rfn.py | 1 + .../garden/faostat/2024-03-14/faostat_rl.py | 1 + .../garden/faostat/2024-03-14/faostat_rp.py | 1 + .../garden/faostat/2024-03-14/faostat_rt.py | 1 + .../garden/faostat/2024-03-14/faostat_scl.py | 1 + .../garden/faostat/2024-03-14/faostat_sdgb.py | 1 + .../garden/faostat/2024-03-14/faostat_tcl.py | 1 + .../garden/faostat/2024-03-14/faostat_ti.py | 1 + .../garden/gapminder/2023-03-31/population.py | 1 + .../gcp/2023-12-12/global_carbon_budget.py | 7 +- .../gcp/2024-06-20/global_carbon_budget.py | 7 +- .../gcp/2024-11-13/global_carbon_budget.py | 7 +- .../gcp/2024-11-21/global_carbon_budget.py | 7 +- .../garden/happiness/2023-03-20/happiness.py | 1 + .../data/garden/health/2023-04-18/shared.py | 1 - .../data/garden/health/2023-04-25/shared.py | 1 - .../health/2023-08-16/deaths_karlinsky.py | 1 - .../garden/health/2024-03-21/gmh_countdown.py | 1 - .../health/2024-04-12/polio_free_countries.py | 6 +- etl/steps/data/garden/hmd/2023-09-19/hmd.py | 1 + .../garden/hyde/2024-01-02/all_indicators.py | 1 + .../iea/2024-07-04/critical_minerals.py | 12 +- .../2023-06-14/prevalence_dalys_world.py | 1 + .../2024-05-20/gbd_child_mortality.py | 1 - .../renewable_electricity_capacity.py | 4 +- .../renewable_electricity_capacity.py | 3 +- .../renewable_capacity_statistics.py | 1 + .../garden/lgbt_rights/2024-06-03/equaldex.py | 6 +- .../2024-06-11/criminalization_mignot.py | 1 - .../malnutrition/2022-10-18/malnutrition.py | 4 +- .../garden/minerals/2024-07-15/minerals.py | 7 +- .../garden/nasa/2024-05-31/ozone_hole_area.py | 1 - .../2023-09-21/plastic_use_projections.py | 1 + .../oecd/2023-09-21/plastic_waste_2019.py | 1 + .../plastic_waste_2019_by_polymer.py | 1 + .../owid/latest/key_indicators/utils.py | 1 + .../papers/2023-07-10/farmer_lafond_2016.py | 4 +- .../garden/papers/2023-07-10/nemet_2009.py | 4 +- .../papers/2023-12-12/farmer_lafond_2016.py | 4 +- .../garden/papers/2023-12-12/nemet_2009.py | 4 +- .../plastic_waste/2023-09-26/geyer_2017.py | 1 + .../emissions_weighted_carbon_price.py | 4 +- .../rff/2023-10-19/world_carbon_pricing.py | 1 + .../energy_production_from_fossil_fuels.py | 4 +- .../energy_production_from_fossil_fuels.py | 3 +- .../2023-08-04/latinobarometro_trust.py | 1 - .../survey/2023-08-07/afrobarometer_trust.py | 1 - .../drug_resistance_surveillance.py | 1 + .../tuberculosis/2023-11-27/notifications.py | 1 + .../tuberculosis/2023-11-27/outcomes.py | 1 + .../2023-11-27/unhlm_commitments.py | 1 + .../garden/un/2022-07-11/un_wpp/deaths.py | 1 + .../un/2022-07-11/un_wpp/demographics.py | 1 + .../garden/un/2022-07-11/un_wpp/dep_ratio.py | 1 + .../garden/un/2022-07-11/un_wpp/fertility.py | 1 + .../garden/un/2022-07-11/un_wpp/population.py | 1 + etl/steps/data/garden/un/2023-08-16/igme.py | 12 +- .../un/2023-08-29/long_run_child_mortality.py | 1 + .../urban_agglomerations_definition_count.py | 1 - .../garden/un/2024-02-14/sdgs_urbanization.py | 1 - .../data/garden/un/2024-07-25/resettlement.py | 1 + etl/steps/data/garden/un/2024-09-11/igme.py | 1 + .../un/2024-09-16/long_run_child_mortality.py | 1 + .../renewable_energy_investments.py | 4 +- .../renewable_energy_investments.py | 3 +- .../unesco/2024-06-16/education_opri.py | 1 + .../unesco/2024-06-25/education_sdgs.py | 1 + .../2024-12-02/ghsl_urban_centers.py | 1 + .../2024-07-15/mineral_commodity_summaries.py | 7 +- .../data/garden/war/2023-07-21/prio_v31.py | 1 + .../data/garden/war/2023-09-21/cow_mid.py | 1 - .../data/garden/war/2023-09-21/prio_v31.py | 1 + etl/steps/data/garden/wash/2024-01-06/who.py | 1 - .../wb/2022-10-29/wb_gender/__init__.py | 1 + .../worldwide_bureaucracy_indicators.py | 1 - .../wb/2024-12-03/poverty_projections.py | 15 +- .../who/2023-04-03/flu_vaccine_policy.py | 1 + .../data/garden/who/2023-06-29/guinea_worm.py | 6 +- .../who/2024-04-26/avian_influenza_ah5n1.py | 1 - .../data/garden/who/2024-09-09/flu_test.py | 1 - .../who/latest/avian_influenza_ah5n1.py | 1 - etl/steps/data/garden/who/latest/fluid.py | 1 - etl/steps/data/garden/who/latest/flunet.py | 1 + .../2023-08-24/world_inequality_database.py | 1 - .../data/garden/wpf/2024-10-03/famines.py | 1 - .../garden/wpf/2024-10-03/famines_by_place.py | 1 - .../wpf/2024-10-03/famines_by_regime_gdp.py | 1 - .../total_famines_by_year_decade.py | 1 - .../epoch_compute_intensive_organizations.py | 1 + .../epoch_aggregates_organizations.py | 1 + .../epoch_aggregates_organizations.py | 1 + .../epoch_compute_intensive_organizations.py | 1 + .../epoch_aggregates_organizations.py | 1 + .../epoch_compute_intensive_organizations.py | 1 + .../epoch_aggregates_organizations.py | 1 + .../epoch_compute_intensive_organizations.py | 1 + .../epoch_aggregates_organizations.py | 1 + .../epoch_compute_intensive_organizations.py | 1 + .../epoch_aggregates_organizations.py | 1 + .../epoch_compute_intensive_organizations.py | 1 + .../biodiversity/2023-01-11/cherry_blossom.py | 1 - .../biodiversity/2024-01-25/cherry_blossom.py | 1 - .../surface_country_level_monthly_anomaly.py | 1 - .../surface_global_monthly_anomaly.py | 1 - ...ce_global_monthly_anomaly_all_countries.py | 1 - .../climate/2023-12-20/surface_temperature.py | 1 - .../climate_change_impacts_annual.py | 5 +- .../climate_change_impacts_monthly.py | 4 +- .../climate_change_impacts_annual.py | 5 +- .../climate_change_impacts_monthly.py | 4 +- .../climate_change_impacts_annual.py | 5 +- .../climate_change_impacts_monthly.py | 4 +- .../climate_change_impacts_annual.py | 5 +- .../climate_change_impacts_monthly.py | 4 +- .../climate_change_impacts_annual.py | 5 +- .../climate_change_impacts_monthly.py | 4 +- .../2024-07-23/sea_ice_anomalies_by_month.py | 1 - .../climate_change_impacts_annual.py | 5 +- .../climate_change_impacts_monthly.py | 4 +- .../2024-09-30/sea_ice_anomalies_by_month.py | 1 - .../climate_change_impacts_annual.py | 5 +- .../climate_change_impacts_monthly.py | 4 +- .../2024-11-18/sea_ice_anomalies_by_month.py | 1 - .../covid/latest/countries_reporting.py | 1 - .../grapher/covid/latest/vaccinations_age.py | 1 - .../covid/latest/vaccinations_manufacturer.py | 1 - .../demography/2022-11-30/life_expectancy.py | 1 + .../demography/2023-03-30/population.py | 7 +- .../demography/2023-03-31/population.py | 1 + .../demography/2024-01-25/population.py | 1 + .../demography/2024-07-15/population.py | 1 + .../energy/2022-08-03/electricity_mix.py | 3 +- .../energy/2022-12-12/electricity_mix.py | 3 +- .../energy/2023-07-10/electricity_mix.py | 4 +- .../grapher/energy/2023-07-10/energy_mix.py | 3 +- .../2023-07-10/fossil_fuel_production.py | 3 +- .../fossil_fuel_reserves_production_ratio.py | 4 +- .../2023-07-10/global_primary_energy.py | 4 +- .../photovoltaic_cost_and_capacity.py | 4 +- .../2023-07-10/primary_energy_consumption.py | 4 +- .../2023-07-10/uk_historical_electricity.py | 4 +- .../energy/2023-12-12/electricity_mix.py | 5 +- .../grapher/energy/2023-12-12/energy_mix.py | 4 +- .../2023-12-12/fossil_fuel_production.py | 4 +- .../fossil_fuel_reserves_production_ratio.py | 3 +- .../2023-12-12/global_primary_energy.py | 4 +- .../photovoltaic_cost_and_capacity.py | 5 +- .../2023-12-12/primary_energy_consumption.py | 4 +- .../2023-12-12/uk_historical_electricity.py | 4 +- .../energy/2024-05-08/electricity_mix.py | 5 +- .../grapher/energy/2024-05-08/energy_mix.py | 4 +- .../2024-05-08/fossil_fuel_production.py | 4 +- .../fossil_fuel_reserves_production_ratio.py | 3 +- .../2024-05-08/global_primary_energy.py | 4 +- .../photovoltaic_cost_and_capacity.py | 5 +- .../2024-05-08/primary_energy_consumption.py | 4 +- .../2024-05-08/uk_historical_electricity.py | 4 +- .../energy/2024-06-20/electricity_mix.py | 5 +- .../grapher/energy/2024-06-20/energy_mix.py | 4 +- .../2024-06-20/fossil_fuel_production.py | 4 +- .../fossil_fuel_reserves_production_ratio.py | 3 +- .../2024-06-20/global_primary_energy.py | 4 +- .../2024-06-20/primary_energy_consumption.py | 4 +- .../2024-06-20/uk_historical_electricity.py | 4 +- .../photovoltaic_cost_and_capacity.py | 4 +- .../photovoltaic_cost_and_capacity.py | 4 +- .../photovoltaic_cost_and_capacity.py | 4 +- .../energy/2024-11-20/energy_prices.py | 4 +- .../data/grapher/faostat/2022-05-17/shared.py | 4 +- .../data/grapher/faostat/2023-02-22/shared.py | 3 +- .../faostat/2023-06-12/faostat_cahd.py | 1 + .../grapher/faostat/2023-06-12/faostat_ef.py | 1 + .../grapher/faostat/2023-06-12/faostat_ei.py | 1 + .../grapher/faostat/2023-06-12/faostat_ek.py | 1 + .../grapher/faostat/2023-06-12/faostat_el.py | 1 + .../grapher/faostat/2023-06-12/faostat_emn.py | 1 + .../grapher/faostat/2023-06-12/faostat_ep.py | 1 + .../grapher/faostat/2023-06-12/faostat_esb.py | 1 + .../grapher/faostat/2023-06-12/faostat_fa.py | 1 + .../faostat/2023-06-12/faostat_fbsc.py | 1 + .../grapher/faostat/2023-06-12/faostat_fo.py | 1 + .../grapher/faostat/2023-06-12/faostat_fs.py | 1 + .../grapher/faostat/2023-06-12/faostat_gn.py | 1 + .../grapher/faostat/2023-06-12/faostat_ic.py | 1 + .../grapher/faostat/2023-06-12/faostat_lc.py | 1 + .../grapher/faostat/2023-06-12/faostat_qcl.py | 1 + .../grapher/faostat/2023-06-12/faostat_qi.py | 1 + .../grapher/faostat/2023-06-12/faostat_qv.py | 1 + .../grapher/faostat/2023-06-12/faostat_rfb.py | 1 + .../grapher/faostat/2023-06-12/faostat_rfn.py | 1 + .../grapher/faostat/2023-06-12/faostat_rl.py | 1 + .../grapher/faostat/2023-06-12/faostat_rp.py | 1 + .../grapher/faostat/2023-06-12/faostat_rt.py | 1 + .../grapher/faostat/2023-06-12/faostat_scl.py | 1 + .../faostat/2023-06-12/faostat_sdgb.py | 1 + .../grapher/faostat/2023-06-12/faostat_tcl.py | 1 + .../grapher/faostat/2023-06-12/faostat_ti.py | 1 + .../faostat/2023-06-12/faostat_wcad.py | 1 + .../data/grapher/faostat/2023-06-12/shared.py | 3 +- .../faostat/2024-03-14/faostat_cahd.py | 1 + .../grapher/faostat/2024-03-14/faostat_ei.py | 1 + .../grapher/faostat/2024-03-14/faostat_ek.py | 1 + .../grapher/faostat/2024-03-14/faostat_emn.py | 1 + .../grapher/faostat/2024-03-14/faostat_esb.py | 1 + .../grapher/faostat/2024-03-14/faostat_fa.py | 1 + .../faostat/2024-03-14/faostat_fbsc.py | 1 + .../grapher/faostat/2024-03-14/faostat_fo.py | 1 + .../grapher/faostat/2024-03-14/faostat_fs.py | 1 + .../grapher/faostat/2024-03-14/faostat_ic.py | 1 + .../grapher/faostat/2024-03-14/faostat_lc.py | 1 + .../grapher/faostat/2024-03-14/faostat_qcl.py | 1 + .../grapher/faostat/2024-03-14/faostat_qi.py | 1 + .../grapher/faostat/2024-03-14/faostat_qv.py | 1 + .../grapher/faostat/2024-03-14/faostat_rfb.py | 1 + .../grapher/faostat/2024-03-14/faostat_rfn.py | 1 + .../grapher/faostat/2024-03-14/faostat_rl.py | 1 + .../grapher/faostat/2024-03-14/faostat_rp.py | 1 + .../grapher/faostat/2024-03-14/faostat_rt.py | 1 + .../grapher/faostat/2024-03-14/faostat_scl.py | 1 + .../faostat/2024-03-14/faostat_sdgb.py | 1 + .../grapher/faostat/2024-03-14/faostat_tcl.py | 1 + .../grapher/faostat/2024-03-14/faostat_ti.py | 1 + .../data/grapher/faostat/2024-03-14/shared.py | 3 +- .../growth/2022-12-19/gdp_historical.py | 1 + .../data/grapher/homicide/2024-10-30/unodc.py | 1 + .../critical_minerals_demand_by_scenario.py | 1 - .../critical_minerals_demand_by_technology.py | 1 - .../critical_minerals_supply_by_country.py | 1 - .../oecd/2023-09-21/plastic_emissions.py | 1 - .../2023-09-21/plastic_use_application.py | 1 + .../oecd/2023-09-21/plastic_use_polymer.py | 1 - .../grapher/owid/latest/key_indicators.py | 6 +- .../papers/2023-07-10/farmer_lafond_2016.py | 4 +- .../papers/2023-12-12/farmer_lafond_2016.py | 4 +- .../2024-05-20/patents_articles.py | 1 - .../emissions_weighted_carbon_price.py | 1 + .../rff/2023-10-19/world_carbon_pricing.py | 1 + .../survey/2023-08-04/trust_surveys.py | 1 - .../data/grapher/un/2023-01-24/un_sdg.py | 1 + .../data/grapher/un/2023-08-16/un_sdg.py | 1 + .../data/grapher/un/2024-08-27/un_sdg.py | 1 + .../renewable_energy_investments.py | 4 +- .../renewable_energy_investments.py | 3 +- .../grapher/who/2024-02-14/gho_suicides.py | 1 - .../data/grapher/who/2024-05-20/vehicles.py | 1 - .../who/2024-07-26/mortality_database.py | 1 - .../data/grapher/wpf/2024-10-03/famines.py | 1 - .../meadow/agriculture/2024-05-23/fao_1949.py | 1 - .../meadow/agriculture/2024-05-23/fao_2000.py | 1 - .../agriculture/2024-05-23/fogel_2004.py | 1 - .../agriculture/2024-05-23/grigg_1995.py | 1 - .../agriculture/2024-05-23/jonsson_1998.py | 1 - .../2023-09-01/chick_culling_laws.py | 4 +- .../2023-09-05/bullfighting_laws.py | 4 +- .../animal_welfare/2023-10-24/fur_laws.py | 4 +- .../2024-06-04/bullfighting_laws.py | 4 +- .../animal_welfare/2024-09-13/fur_laws.py | 4 +- .../2023-06-21/epoch.py | 1 - .../2024-01-30/yougov_job_automation.py | 1 - .../2024-01-30/yougov_robots.py | 1 - .../2022-10-12/aviation_statistics.py | 1 + .../climate/2024-01-31/ghg_concentration.py | 1 - .../2024-01-31/hawaii_ocean_time_series.py | 1 - .../surface_temperature_analysis.py | 1 - .../climate/2024-03-11/ghg_concentration.py | 1 - .../2024-03-11/hawaii_ocean_time_series.py | 1 - .../surface_temperature_analysis.py | 1 - .../climate/2024-04-17/ghg_concentration.py | 1 - .../2024-04-17/hawaii_ocean_time_series.py | 1 - .../surface_temperature_analysis.py | 1 - .../climate/2024-05-20/ghg_concentration.py | 1 - .../2024-05-20/hawaii_ocean_time_series.py | 1 - .../surface_temperature_analysis.py | 1 - .../climate/2024-07-23/ghg_concentration.py | 1 - .../2024-07-23/hawaii_ocean_time_series.py | 1 - .../surface_temperature_analysis.py | 1 - .../climate/2024-09-30/ghg_concentration.py | 1 - .../2024-09-30/hawaii_ocean_time_series.py | 1 - .../surface_temperature_analysis.py | 1 - .../climate/2024-11-18/ghg_concentration.py | 1 - .../2024-11-18/hawaii_ocean_time_series.py | 1 - .../surface_temperature_analysis.py | 1 - .../2023-10-31/emissions_by_sector.py | 1 + .../2024-11-21/emissions_by_sector.py | 1 + .../data/meadow/covid/latest/sweden_covid.py | 1 - .../data/meadow/democracy/2024-05-22/eiu.py | 1 + .../education/2023-08-14/oecd_education.py | 1 - .../2022-08-01/european_electricity_review.py | 4 +- .../2022-08-01/global_electricity_review.py | 4 +- .../ember/2023-07-10/yearly_electricity.py | 3 +- .../2023-12-12/european_electricity_review.py | 4 +- .../ember/2023-12-12/yearly_electricity.py | 3 +- .../ember/2024-05-08/yearly_electricity.py | 3 +- .../emdat/2023-09-20/natural_disasters.py | 3 +- .../emdat/2024-04-11/natural_disasters.py | 3 +- .../data/meadow/ess/2023-08-02/ess_trust.py | 1 - .../meadow/excess_mortality/latest/wmd.py | 1 + .../latest/xm_karlinsky_kobak.py | 1 + .../data/meadow/faostat/2022-05-17/shared.py | 4 +- .../meadow/faostat/2023-06-12/faostat_cahd.py | 1 + .../meadow/faostat/2023-06-12/faostat_ef.py | 1 + .../meadow/faostat/2023-06-12/faostat_ei.py | 1 + .../meadow/faostat/2023-06-12/faostat_ek.py | 1 + .../meadow/faostat/2023-06-12/faostat_el.py | 1 + .../meadow/faostat/2023-06-12/faostat_emn.py | 1 + .../meadow/faostat/2023-06-12/faostat_ep.py | 1 + .../meadow/faostat/2023-06-12/faostat_esb.py | 1 + .../meadow/faostat/2023-06-12/faostat_fa.py | 1 + .../meadow/faostat/2023-06-12/faostat_fbs.py | 1 + .../meadow/faostat/2023-06-12/faostat_fbsh.py | 1 + .../meadow/faostat/2023-06-12/faostat_fo.py | 1 + .../meadow/faostat/2023-06-12/faostat_fs.py | 1 + .../meadow/faostat/2023-06-12/faostat_gn.py | 1 + .../meadow/faostat/2023-06-12/faostat_ic.py | 1 + .../meadow/faostat/2023-06-12/faostat_lc.py | 1 + .../meadow/faostat/2023-06-12/faostat_qcl.py | 1 + .../meadow/faostat/2023-06-12/faostat_qi.py | 1 + .../meadow/faostat/2023-06-12/faostat_qv.py | 1 + .../meadow/faostat/2023-06-12/faostat_rfb.py | 1 + .../meadow/faostat/2023-06-12/faostat_rfn.py | 1 + .../meadow/faostat/2023-06-12/faostat_rl.py | 1 + .../meadow/faostat/2023-06-12/faostat_rp.py | 1 + .../meadow/faostat/2023-06-12/faostat_rt.py | 1 + .../meadow/faostat/2023-06-12/faostat_scl.py | 1 + .../meadow/faostat/2023-06-12/faostat_sdgb.py | 1 + .../meadow/faostat/2023-06-12/faostat_tcl.py | 1 + .../meadow/faostat/2023-06-12/faostat_ti.py | 1 + .../meadow/faostat/2023-06-12/faostat_wcad.py | 1 + .../meadow/faostat/2024-03-14/faostat_cahd.py | 1 + .../meadow/faostat/2024-03-14/faostat_ei.py | 1 + .../meadow/faostat/2024-03-14/faostat_ek.py | 1 + .../meadow/faostat/2024-03-14/faostat_emn.py | 1 + .../meadow/faostat/2024-03-14/faostat_esb.py | 1 + .../meadow/faostat/2024-03-14/faostat_fa.py | 1 + .../meadow/faostat/2024-03-14/faostat_fbs.py | 1 + .../meadow/faostat/2024-03-14/faostat_fbsh.py | 1 + .../meadow/faostat/2024-03-14/faostat_fo.py | 1 + .../meadow/faostat/2024-03-14/faostat_fs.py | 1 + .../meadow/faostat/2024-03-14/faostat_ic.py | 1 + .../meadow/faostat/2024-03-14/faostat_lc.py | 1 + .../meadow/faostat/2024-03-14/faostat_qcl.py | 1 + .../meadow/faostat/2024-03-14/faostat_qi.py | 1 + .../meadow/faostat/2024-03-14/faostat_qv.py | 1 + .../meadow/faostat/2024-03-14/faostat_rfb.py | 1 + .../meadow/faostat/2024-03-14/faostat_rfn.py | 1 + .../meadow/faostat/2024-03-14/faostat_rl.py | 1 + .../meadow/faostat/2024-03-14/faostat_rp.py | 1 + .../meadow/faostat/2024-03-14/faostat_rt.py | 1 + .../meadow/faostat/2024-03-14/faostat_scl.py | 1 + .../meadow/faostat/2024-03-14/faostat_sdgb.py | 1 + .../meadow/faostat/2024-03-14/faostat_tcl.py | 1 + .../meadow/faostat/2024-03-14/faostat_ti.py | 1 + .../2024-07-08/maternal_mortality.py | 6 +- .../meadow/happiness/2012-03-20/happiness.py | 1 + .../meadow/happiness/2023-03-20/happiness.py | 1 + .../2023-09-18/colonial_dates_dataset.py | 1 - .../data/meadow/hmd/2022-12-07/life_tables.py | 1 + etl/steps/data/meadow/hmd/2024-11-19/hfd.py | 1 + .../2024-07-05/better_data_homelessness.py | 1 - .../2024-07-02/gbd_healthy_life_expectancy.py | 1 + .../2024-07-02/gbd_life_expectancy.py | 1 + .../2023-12-12/renewable_energy_patents.py | 3 +- .../meadow/language/2024-07-17/ethnologue.py | 1 + .../lis/2024-06-13/luxembourg_income_study.py | 1 - .../soil_transmitted_helminthiases.py | 1 - .../multidimensional_poverty_index.py | 3 +- .../papers/2023-02-03/riley_2005/__init__.py | 1 + .../papers/2023-07-10/farmer_lafond_2016.py | 4 +- .../meadow/papers/2023-07-10/nemet_2009.py | 4 +- .../papers/2023-12-12/farmer_lafond_2016.py | 4 +- .../meadow/papers/2023-12-12/nemet_2009.py | 4 +- .../2023-08-04/latinobarometro_trust.py | 1 - .../survey/2023-08-07/afrobarometer_trust.py | 1 - etl/steps/data/meadow/temp/latest/step.py | 1 + .../un/2023-08-02/comtrade_pandemics.py | 1 - etl/steps/data/meadow/un/2024-07-11/un_wpp.py | 1 + etl/steps/data/meadow/un/2024-07-12/un_wpp.py | 1 + .../meadow/un/2024-07-16/migrant_stock.py | 3 +- etl/steps/data/meadow/un/2024-08-27/un_sdg.py | 1 + .../meadow/un_sdg/2021-09-30/un_sdg.ipynb | 4 +- .../unicef/2024-07-30/child_migration.py | 1 + etl/steps/data/meadow/wash/2024-01-06/who.py | 1 + .../meadow/wash/2024-02-15/bathing_water.py | 1 + .../wb/2022-10-29/wb_gender/__init__.py | 1 + .../meadow/who/2023-03-09/gho_suicides.py | 1 + .../who/2023-10-13/medical_devices_atlas.py | 6 +- .../data/meadow/who/2023-11-01/who_statins.py | 1 + .../who/2024-03-24/self_inflicted_injuries.py | 1 - .../who/2024-04-26/avian_influenza_ah5n1.py | 1 - .../who/latest/avian_influenza_ah5n1.py | 1 - .../2024-05-24/world_inequality_database.py | 1 - .../migration/2024-08-05/migration.py | 1 + .../export/github/co2_data/latest/owid_co2.py | 1 + .../export/github/who/latest/monkeypox.py | 1 + .../export/s3/co2_data/latest/owid_co2.py | 1 + etl/version_tracker.py | 12 +- lib/catalog/owid/catalog/datasets.py | 2 +- lib/catalog/owid/catalog/processing.py | 3 +- lib/catalog/owid/catalog/processing_log.py | 6 +- lib/catalog/owid/catalog/tables.py | 69 +-- lib/catalog/owid/catalog/utils.py | 6 +- lib/catalog/owid/catalog/variables.py | 6 +- lib/catalog/pyproject.toml | 2 +- lib/catalog/tests/mocking.py | 12 +- lib/catalog/tests/test_meta.py | 6 +- lib/catalog/uv.lock | 486 +++++++++++++++++- lib/datautils/owid/datautils/decorators.py | 1 - .../owid/datautils/format/__init__.py | 1 + .../owid/datautils/format/numbers.py | 1 + .../owid/datautils/google/__init__.py | 1 + lib/datautils/owid/datautils/google/api.py | 1 + lib/datautils/owid/datautils/google/config.py | 1 + lib/datautils/owid/datautils/google/sheets.py | 1 + lib/datautils/owid/datautils/io/__init__.py | 1 + lib/datautils/owid/datautils/io/df.py | 1 + lib/datautils/pyproject.toml | 2 +- lib/datautils/tests/google/test_config.py | 75 +-- lib/datautils/tests/io/test_df.py | 3 +- lib/datautils/tests/io/test_json.py | 4 +- lib/datautils/tests/test_dataframes.py | 4 +- lib/datautils/tests/test_web.py | 5 +- lib/datautils/uv.lock | 45 +- lib/repack/owid/repack/__init__.py | 2 +- lib/repack/pyproject.toml | 2 +- lib/repack/uv.lock | 43 +- lib/walden/owid/walden/catalog.py | 3 +- lib/walden/pyproject.toml | 2 +- lib/walden/uv.lock | 469 ++++++++++++++++- pyproject.toml | 7 +- .../2024-10-18/who_glass_by_antibiotic.py | 1 - .../2024-12-05/microbe_neonatal_total_amr.py | 1 + .../microbe_total_deaths_by_syndrome.py | 1 + .../microbe_total_deaths_by_syndrome_amr.py | 1 + .../2023-06-21/epoch.py | 1 - .../2024-06-03/epoch.py | 1 - .../2024-07-10/epoch.py | 1 - .../2024-08-05/epoch.py | 1 - .../2024-09-09/epoch.py | 1 - .../2024-10-01/epoch.py | 1 - .../2024-11-03/epoch.py | 1 - .../2024-12-05/epoch.py | 1 - .../artificial_intelligence/latest/epoch.py | 1 - .../2022-10-14/aviation_statistics.py | 4 +- .../gco_cancer_over_time_cervical.py | 1 + .../2024-10-13/gco_cancer_today_cervical.py | 1 + .../climate/2023-12-20/surface_temperature.py | 10 +- .../climate/2024-02-14/surface_temperature.py | 10 +- .../climate/2024-03-12/surface_temperature.py | 10 +- .../climate/2024-04-12/surface_temperature.py | 10 +- .../climate/2024-05-07/surface_temperature.py | 10 +- .../climate/2024-06-07/surface_temperature.py | 10 +- .../climate/2024-07-08/surface_temperature.py | 10 +- .../climate/2024-08-06/surface_temperature.py | 10 +- snapshots/covid/latest/vaccinations_age.py | 1 + snapshots/covid/latest/vaccinations_global.py | 1 + .../covid/latest/vaccinations_manufacturer.py | 1 + snapshots/ess/2023-08-02/ess_trust.py | 16 +- snapshots/excess_mortality/latest/hmd_stmf.py | 1 + .../latest/xm_karlinsky_kobak.py | 1 + .../forests/2024-07-10/dominant_driver.py | 1 - .../forests/2024-08-07/dominant_driver.py | 1 - snapshots/ggdc/2020-10-01/ggdc_maddison.py | 4 +- snapshots/homicide/2023-01-03/who_mort_db.py | 4 +- snapshots/homicide/2024-07-30/who_mort_db.py | 4 +- .../ihme_gbd/2024-05-20/gbd_drug_risk.py | 1 + .../ihme_gbd/2024-05-20/gbd_mental_health.py | 1 + .../2024-05-20/gbd_mental_health_burden.py | 1 + .../ihme_gbd/2024-05-20/gbd_prevalence.py | 1 + snapshots/ihme_gbd/2024-05-20/gbd_risk.py | 1 + snapshots/ihme_gbd/2024-05-20/impairments.py | 1 - .../2024-07-02/gbd_healthy_life_expectancy.py | 1 + .../2024-07-02/gbd_life_expectancy.py | 1 + .../2023-11-27/integrated_values_survey.py | 16 +- .../2024-06-03/equaldex_current.py | 2 +- snapshots/pew/2024-06-03/extract_data.py | 1 - .../2023-08-04/latinobarometro_trust.py | 16 +- .../survey/2023-08-07/afrobarometer_trust.py | 16 +- snapshots/un/2023-01-24/un_sdg.py | 5 +- snapshots/un/2023-08-16/un_sdg.py | 5 +- .../2024-01-17/urban_agglomerations_300k.py | 1 + snapshots/un/2024-08-27/un_sdg.py | 5 +- snapshots/wb/2024-01-17/pip_api.py | 1 - snapshots/wb/2024-03-27/pip_api.py | 1 - snapshots/wb/2024-06-18/edstats_metadata.py | 1 - .../extract_projections_from_article.py | 1 - snapshots/wb/2024-10-07/pip_api.py | 1 - .../who/2023-08-01/mortality_database.py | 1 + .../who/2024-07-26/mortality_database.py | 1 + .../2024-08-06/mortality_database_cancer.py | 1 + tests/data_helpers/test_geo.py | 4 +- tests/data_helpers/test_misc.py | 4 +- tests/test_etl.py | 1 + uv.lock | 51 +- 670 files changed, 1774 insertions(+), 904 deletions(-) diff --git a/apps/chart_animation/cli.py b/apps/chart_animation/cli.py index 75f8b4fbe05a..67dd88e5425e 100644 --- a/apps/chart_animation/cli.py +++ b/apps/chart_animation/cli.py @@ -1,6 +1,5 @@ -"""Create a GIF or video for a given chart URL. +"""Create a GIF or video for a given chart URL.""" -""" from concurrent.futures import ThreadPoolExecutor, as_completed from pathlib import Path from urllib.parse import parse_qs, urlencode, urlparse, urlunparse diff --git a/apps/metadata_migrate/cli.py b/apps/metadata_migrate/cli.py index b096289a8c2b..9ea6482ff386 100644 --- a/apps/metadata_migrate/cli.py +++ b/apps/metadata_migrate/cli.py @@ -209,9 +209,9 @@ def cli( # empty fields to be filled vars[col]["presentation"] = {} - vars[col]["presentation"][ - "title_public" - ] = "TBD - Indicator title to be shown in data pages, that overrides the indicator's title." + vars[col]["presentation"]["title_public"] = ( + "TBD - Indicator title to be shown in data pages, that overrides the indicator's title." + ) vars[col]["presentation"]["title_variant"] = "TBD - Indicator's title variant" vars[col]["presentation"]["attribution_short"] = "TBD - Indicator's attribution (shorter version)" vars[col]["presentation"]["faqs"] = [ diff --git a/apps/metagpt/cli.py b/apps/metagpt/cli.py index f2cf33c96a0f..29869f1a9d3b 100644 --- a/apps/metagpt/cli.py +++ b/apps/metagpt/cli.py @@ -1,4 +1,5 @@ """Client module.""" + import os from typing import Any, Dict, Literal, cast diff --git a/apps/metagpt/prompts.py b/apps/metagpt/prompts.py index 785dcd462f7d..cd34dd41cfd8 100644 --- a/apps/metagpt/prompts.py +++ b/apps/metagpt/prompts.py @@ -2,6 +2,7 @@ Contains instructions to correctly query chat GPT for the different use cases (snapshot, garden, grapher, etc.). This includes details on what each metadata field means. """ + import json from typing import Any, Dict, List diff --git a/apps/metagpt/utils.py b/apps/metagpt/utils.py index 6f2615008acc..e233d453217d 100644 --- a/apps/metagpt/utils.py +++ b/apps/metagpt/utils.py @@ -1,4 +1,5 @@ """Auxiliary utils for metagpt app.""" + from pathlib import Path from typing import Dict, List diff --git a/apps/utils/gpt.py b/apps/utils/gpt.py index 4550465fbcf9..fa2aa32b84fe 100644 --- a/apps/utils/gpt.py +++ b/apps/utils/gpt.py @@ -1,4 +1,5 @@ """Auxiliary classes, functions and variables.""" + from dataclasses import asdict, dataclass, field from typing import Any, Dict, List, Optional, Tuple diff --git a/apps/wizard/app.py b/apps/wizard/app.py index 9ab7a8847374..4b6ea6440f2a 100644 --- a/apps/wizard/app.py +++ b/apps/wizard/app.py @@ -4,6 +4,7 @@ NOTE: This only works with >1.35 (nightly) version of Streamlit. """ + import streamlit as st from apps.wizard.config import WIZARD_CONFIG diff --git a/apps/wizard/app_pages/anomalist/utils.py b/apps/wizard/app_pages/anomalist/utils.py index 2c724ced7a05..ac7817c8c403 100644 --- a/apps/wizard/app_pages/anomalist/utils.py +++ b/apps/wizard/app_pages/anomalist/utils.py @@ -1,4 +1,5 @@ """Utils for chart revision tool.""" + import time from enum import Enum from typing import Dict, List, Optional, Tuple diff --git a/apps/wizard/app_pages/chart_diff/chart_diff_show.py b/apps/wizard/app_pages/chart_diff/chart_diff_show.py index b64aa8c44d49..18c8c168f0b1 100644 --- a/apps/wizard/app_pages/chart_diff/chart_diff_show.py +++ b/apps/wizard/app_pages/chart_diff/chart_diff_show.py @@ -3,6 +3,7 @@ If you want to learn more about it, start from its `show` method. """ + import difflib import json import os diff --git a/apps/wizard/app_pages/dashboard.py b/apps/wizard/app_pages/dashboard.py index 50fe6f674033..6c50f623c7da 100644 --- a/apps/wizard/app_pages/dashboard.py +++ b/apps/wizard/app_pages/dashboard.py @@ -1,6 +1,5 @@ -"""Create a dashboard with the main information about ETL steps, and the possibility to update them. +"""Create a dashboard with the main information about ETL steps, and the possibility to update them.""" -""" import subprocess from datetime import datetime diff --git a/apps/wizard/app_pages/dataset_explorer.py b/apps/wizard/app_pages/dataset_explorer.py index a297714ad3a5..93af44571da1 100644 --- a/apps/wizard/app_pages/dataset_explorer.py +++ b/apps/wizard/app_pages/dataset_explorer.py @@ -3,6 +3,7 @@ - [ ] See its dependencies - [ ] Preview its metadata """ + import tempfile from typing import Any, Dict, List, cast diff --git a/apps/wizard/app_pages/expert/app.py b/apps/wizard/app_pages/expert/app.py index 0b2e9de155a9..929a40e54395 100644 --- a/apps/wizard/app_pages/expert/app.py +++ b/apps/wizard/app_pages/expert/app.py @@ -3,6 +3,7 @@ references: - https://docs.streamlit.io/knowledge-base/tutorials/build-conversational-apps#build-a-chatgpt-like-app """ + from typing import Any, Dict, cast import streamlit as st diff --git a/apps/wizard/app_pages/expert/prompts.py b/apps/wizard/app_pages/expert/prompts.py index 364deecede3f..823b6f8aa9ef 100644 --- a/apps/wizard/app_pages/expert/prompts.py +++ b/apps/wizard/app_pages/expert/prompts.py @@ -1,4 +1,5 @@ -""""Get prompts for GPT-interaction.""" +""" "Get prompts for GPT-interaction.""" + import glob from typing import List diff --git a/apps/wizard/app_pages/explorer_edit.py b/apps/wizard/app_pages/explorer_edit.py index 6d41db75d804..990731806082 100644 --- a/apps/wizard/app_pages/explorer_edit.py +++ b/apps/wizard/app_pages/explorer_edit.py @@ -1,4 +1,5 @@ """Helper tool to create map brackets for all indicators in an indicator-based explorer.""" + from io import StringIO import streamlit as st diff --git a/apps/wizard/app_pages/fasttrack/app.py b/apps/wizard/app_pages/fasttrack/app.py index ef7dcbb0232c..d561191ef830 100644 --- a/apps/wizard/app_pages/fasttrack/app.py +++ b/apps/wizard/app_pages/fasttrack/app.py @@ -2,6 +2,7 @@ TODO: Fully decouple front-end from backend (see fasttrack.utils for back-end, i.e. should not have streamlit calls). """ + from pathlib import Path import pandas as pd diff --git a/apps/wizard/app_pages/fasttrack/fast_import.py b/apps/wizard/app_pages/fasttrack/fast_import.py index a520a1b9bdeb..f7edb2fe8457 100644 --- a/apps/wizard/app_pages/fasttrack/fast_import.py +++ b/apps/wizard/app_pages/fasttrack/fast_import.py @@ -1,4 +1,5 @@ """Definition of FasttrackImport object (mainly backend).""" + import datetime as dt import difflib import html diff --git a/apps/wizard/app_pages/fasttrack/load.py b/apps/wizard/app_pages/fasttrack/load.py index 8f85c72270c6..ec18f7d9d9a4 100644 --- a/apps/wizard/app_pages/fasttrack/load.py +++ b/apps/wizard/app_pages/fasttrack/load.py @@ -2,6 +2,7 @@ Relies on Streamlit to print messages. """ + import concurrent.futures import datetime as dt import json diff --git a/apps/wizard/app_pages/fasttrack/process.py b/apps/wizard/app_pages/fasttrack/process.py index ee4575f8f2d5..df0bbacb306a 100644 --- a/apps/wizard/app_pages/fasttrack/process.py +++ b/apps/wizard/app_pages/fasttrack/process.py @@ -2,6 +2,7 @@ Relies on Streamlit. """ + import json from typing import Dict, List, Tuple diff --git a/apps/wizard/app_pages/fasttrack/utils.py b/apps/wizard/app_pages/fasttrack/utils.py index 5054a659783c..41d49cb969e5 100644 --- a/apps/wizard/app_pages/fasttrack/utils.py +++ b/apps/wizard/app_pages/fasttrack/utils.py @@ -1,4 +1,5 @@ """Utils.""" + import os from typing import Any, Dict, Optional diff --git a/apps/wizard/app_pages/harmonizer.py b/apps/wizard/app_pages/harmonizer.py index 3c4285fa4252..eea2c69bb571 100644 --- a/apps/wizard/app_pages/harmonizer.py +++ b/apps/wizard/app_pages/harmonizer.py @@ -1,4 +1,5 @@ """Harmonize entities.""" + import json from operator import itemgetter from pathlib import Path diff --git a/apps/wizard/app_pages/indicator_upgrade/app.py b/apps/wizard/app_pages/indicator_upgrade/app.py index 8b0ee1391a84..91f4423974ef 100644 --- a/apps/wizard/app_pages/indicator_upgrade/app.py +++ b/apps/wizard/app_pages/indicator_upgrade/app.py @@ -22,6 +22,7 @@ - Set to True: When the user clicks on "Finish (3/3)" in the third form. - Set to False: """ + import streamlit as st from structlog import get_logger diff --git a/apps/wizard/app_pages/indicator_upgrade/charts_update.py b/apps/wizard/app_pages/indicator_upgrade/charts_update.py index 7707ea540d44..420b9a25799d 100644 --- a/apps/wizard/app_pages/indicator_upgrade/charts_update.py +++ b/apps/wizard/app_pages/indicator_upgrade/charts_update.py @@ -1,4 +1,5 @@ """Handle submission of chart updates.""" + from http.client import RemoteDisconnected from typing import Dict, List from urllib.error import URLError diff --git a/apps/wizard/app_pages/indicator_upgrade/dataset_selection.py b/apps/wizard/app_pages/indicator_upgrade/dataset_selection.py index dd43dba03629..ec53e3e93cda 100644 --- a/apps/wizard/app_pages/indicator_upgrade/dataset_selection.py +++ b/apps/wizard/app_pages/indicator_upgrade/dataset_selection.py @@ -1,4 +1,5 @@ """Search configuration.""" + from typing import Any, Dict import pandas as pd diff --git a/apps/wizard/app_pages/indicator_upgrade/explore_mode.py b/apps/wizard/app_pages/indicator_upgrade/explore_mode.py index 5e52896dec30..9fe042c8fba9 100644 --- a/apps/wizard/app_pages/indicator_upgrade/explore_mode.py +++ b/apps/wizard/app_pages/indicator_upgrade/explore_mode.py @@ -2,6 +2,7 @@ This is currently shown in the indicator upgrader, but might be moved to chart-diff in the future. """ + from dataclasses import dataclass, field from typing import Dict, Optional, Tuple, cast diff --git a/apps/wizard/app_pages/indicator_upgrade/utils.py b/apps/wizard/app_pages/indicator_upgrade/utils.py index f432ca6cffcd..01f72dc487c9 100644 --- a/apps/wizard/app_pages/indicator_upgrade/utils.py +++ b/apps/wizard/app_pages/indicator_upgrade/utils.py @@ -1,4 +1,5 @@ """Utils for chart revision tool.""" + from typing import Dict, Tuple, cast import pandas as pd diff --git a/apps/wizard/app_pages/map_brackets.py b/apps/wizard/app_pages/map_brackets.py index 9975ebc55ba5..78763bd229e9 100644 --- a/apps/wizard/app_pages/map_brackets.py +++ b/apps/wizard/app_pages/map_brackets.py @@ -1,6 +1,4 @@ -"""Helper tool to create map brackets for all indicators in an indicator-based explorer. - -""" +"""Helper tool to create map brackets for all indicators in an indicator-based explorer.""" import json from pathlib import Path diff --git a/apps/wizard/app_pages/metagpt.py b/apps/wizard/app_pages/metagpt.py index 68bee27aab97..49069c18b1f7 100644 --- a/apps/wizard/app_pages/metagpt.py +++ b/apps/wizard/app_pages/metagpt.py @@ -2,6 +2,7 @@ Note that it still relies on apps/metagpt. """ + import os import tempfile from pathlib import Path diff --git a/apps/wizard/app_pages/metaplay.py b/apps/wizard/app_pages/metaplay.py index c045a0aa95b3..086c79140ba5 100644 --- a/apps/wizard/app_pages/metaplay.py +++ b/apps/wizard/app_pages/metaplay.py @@ -2,6 +2,7 @@ streamlit run app.py """ + import webbrowser from pathlib import Path diff --git a/apps/wizard/app_pages/news.py b/apps/wizard/app_pages/news.py index e7d9d6bc289a..ce6af5529494 100644 --- a/apps/wizard/app_pages/news.py +++ b/apps/wizard/app_pages/news.py @@ -1,4 +1,5 @@ """Display news from ETL.""" + from datetime import datetime import streamlit as st diff --git a/apps/wizard/app_pages/owidle.py b/apps/wizard/app_pages/owidle.py index 6afe082f53d4..513d0aca78d4 100644 --- a/apps/wizard/app_pages/owidle.py +++ b/apps/wizard/app_pages/owidle.py @@ -1,4 +1,5 @@ """Game owidle.""" + import datetime as dt import math from itertools import product diff --git a/apps/wizard/cli.py b/apps/wizard/cli.py index aedf01a6f212..189473220e4e 100644 --- a/apps/wizard/cli.py +++ b/apps/wizard/cli.py @@ -4,6 +4,7 @@ python cli.py """ + import logging import sys from typing import Iterable diff --git a/apps/wizard/etl_steps/express.py b/apps/wizard/etl_steps/express.py index a14429a87f8f..d1f4e6ba2a5c 100644 --- a/apps/wizard/etl_steps/express.py +++ b/apps/wizard/etl_steps/express.py @@ -1,4 +1,5 @@ """Garden phase.""" + from datetime import date, datetime, timedelta from pathlib import Path from typing import Any, Dict, List diff --git a/apps/wizard/etl_steps/garden.py b/apps/wizard/etl_steps/garden.py index a7194639b2b8..b2bee29c3099 100644 --- a/apps/wizard/etl_steps/garden.py +++ b/apps/wizard/etl_steps/garden.py @@ -1,4 +1,5 @@ """Garden phase.""" + import os from pathlib import Path from typing import List, cast @@ -452,9 +453,9 @@ def export_metadata() -> None: f"Use the generated notebook `{notebook_path.relative_to(BASE_DIR)}` to examine the dataset output interactively." ) # B/ Generate metadata - st.session_state[ - "garden.dataset_path" - ] = f"data/garden/{form.namespace}/{form.version}/{form.short_name}" + st.session_state["garden.dataset_path"] = ( + f"data/garden/{form.namespace}/{form.version}/{form.short_name}" + ) st.markdown("#### Generate metadata") st.markdown(f"Generate metadata file `{form.short_name}.meta.yml` from your dataset with:") st.button( diff --git a/apps/wizard/etl_steps/grapher.py b/apps/wizard/etl_steps/grapher.py index 85e1aa1b9255..0b2618d520c8 100644 --- a/apps/wizard/etl_steps/grapher.py +++ b/apps/wizard/etl_steps/grapher.py @@ -1,4 +1,5 @@ """Grapher phase.""" + from pathlib import Path from typing import cast diff --git a/apps/wizard/etl_steps/meadow.py b/apps/wizard/etl_steps/meadow.py index eab350195021..f7c452d09644 100644 --- a/apps/wizard/etl_steps/meadow.py +++ b/apps/wizard/etl_steps/meadow.py @@ -1,4 +1,5 @@ """Meadow phase.""" + import os from pathlib import Path from typing import cast diff --git a/apps/wizard/etl_steps/snapshot.py b/apps/wizard/etl_steps/snapshot.py index 8cc5b71c90d2..06b1b53c06e2 100644 --- a/apps/wizard/etl_steps/snapshot.py +++ b/apps/wizard/etl_steps/snapshot.py @@ -1,4 +1,5 @@ """Snapshot phase.""" + import os import subprocess import traceback diff --git a/apps/wizard/home.py b/apps/wizard/home.py index 06c51bacb58b..bde6d5762422 100644 --- a/apps/wizard/home.py +++ b/apps/wizard/home.py @@ -1,4 +1,5 @@ """Home page of wizard.""" + from copy import deepcopy from typing import Any, Dict, List, Optional diff --git a/apps/wizard/scripts/news.py b/apps/wizard/scripts/news.py index 0bdd5b3e6104..40cc88716ba0 100644 --- a/apps/wizard/scripts/news.py +++ b/apps/wizard/scripts/news.py @@ -1,4 +1,5 @@ """Methods to update Wizard DB to have the necessary PR data.""" + from typing import Tuple import requests diff --git a/apps/wizard/utils/__init__.py b/apps/wizard/utils/__init__.py index 89ad87533064..82cf0de820b0 100644 --- a/apps/wizard/utils/__init__.py +++ b/apps/wizard/utils/__init__.py @@ -9,6 +9,7 @@ Also, can imagine apps/wizard/ being renamed to just wizard/, and stuff other than wizard should be either (i) deleted or (ii) migrated elsewhere in etl/. """ + import argparse import ast import datetime as dt diff --git a/apps/wizard/utils/chart_config.py b/apps/wizard/utils/chart_config.py index 82dbd0b28904..344487d7a936 100644 --- a/apps/wizard/utils/chart_config.py +++ b/apps/wizard/utils/chart_config.py @@ -1,4 +1,5 @@ """Tools to generate chart configs.""" + from copy import deepcopy from typing import Any, Dict, List, Optional diff --git a/apps/wizard/utils/db.py b/apps/wizard/utils/db.py index 7abad13ecb86..7de9d3c68737 100644 --- a/apps/wizard/utils/db.py +++ b/apps/wizard/utils/db.py @@ -5,6 +5,7 @@ Some of the tools here rely on a local temporary sqlite database. This database is a custom and temporary database used to store data in a server. Not intended for production use. """ + import datetime as dt import hashlib import os diff --git a/apps/wizard/utils/io.py b/apps/wizard/utils/io.py index aa0198be39c7..e16a0596f3fd 100644 --- a/apps/wizard/utils/io.py +++ b/apps/wizard/utils/io.py @@ -2,6 +2,7 @@ Together with utils.db and utils.cached, it might need some rethinking on where it goes. """ + from pathlib import Path from typing import Dict, List, Optional diff --git a/docs/ignore/generate_dynamic_docs.py b/docs/ignore/generate_dynamic_docs.py index 7cdd20532f4a..97e8935f234b 100644 --- a/docs/ignore/generate_dynamic_docs.py +++ b/docs/ignore/generate_dynamic_docs.py @@ -1,4 +1,5 @@ """Generate documentation files dynamically""" + import mkdocs_gen_files from etl.docs import render_dataset, render_indicator, render_origin, render_table diff --git a/etl/config.py b/etl/config.py index 5706ce503b71..59edff4129cd 100644 --- a/etl/config.py +++ b/etl/config.py @@ -6,6 +6,7 @@ The environment variables and settings here are for publishing options, they're only important for OWID staff. """ + import os import pwd import re diff --git a/etl/data_helpers/population.py b/etl/data_helpers/population.py index fe1b2e68e3e8..4ade7ffa82a9 100644 --- a/etl/data_helpers/population.py +++ b/etl/data_helpers/population.py @@ -1,4 +1,5 @@ """Tools to load population data.""" + from typing import Any, Dict, Optional import pandas as pd diff --git a/etl/explorer.py b/etl/explorer.py index a250811ff218..d4355fbee187 100644 --- a/etl/explorer.py +++ b/etl/explorer.py @@ -5,6 +5,7 @@ - Compare content and content_raw - Test it in Pablo's scripts """ + from copy import copy from io import StringIO from pathlib import Path diff --git a/etl/files.py b/etl/files.py index 03ccfe83d1ba..e77cd0c50a81 100644 --- a/etl/files.py +++ b/etl/files.py @@ -165,15 +165,13 @@ def yaml_dump( strip_lines: bool = True, replace_confusing_ascii: bool = False, width: int = 120, -) -> str: - ... +) -> str: ... @overload def yaml_dump( d: Dict[str, Any], stream: TextIO, strip_lines: bool = True, replace_confusing_ascii: bool = False, width: int = 120 -) -> None: - ... +) -> None: ... def yaml_dump( diff --git a/etl/grapher_io.py b/etl/grapher_io.py index 497c5409a495..53becf2c020c 100644 --- a/etl/grapher_io.py +++ b/etl/grapher_io.py @@ -7,6 +7,7 @@ - Code using db_conn (pymysql.Connection objects). We should instead use sessions, or engines (or OWIDEnv) """ + import concurrent.futures import io import warnings diff --git a/etl/grapher_model.py b/etl/grapher_model.py index 3be83cee5ca5..01d78d9c39a1 100644 --- a/etl/grapher_model.py +++ b/etl/grapher_model.py @@ -13,6 +13,7 @@ It is often necessary to add `default=None` or `init=False` to make pyright happy. """ + import copy import io import json @@ -1271,15 +1272,13 @@ def load_variables(cls, session: Session, variables_id: List[int]) -> List["Vari @classmethod def from_id_or_path( cls, session: Session, id_or_path: str | int, columns: Optional[List[str]] = None - ) -> "Variable": - ... + ) -> "Variable": ... @overload @classmethod def from_id_or_path( cls, session: Session, id_or_path: List[str | int], columns: Optional[List[str]] = None - ) -> List["Variable"]: - ... + ) -> List["Variable"]: ... @classmethod def from_id_or_path( @@ -1323,15 +1322,15 @@ def from_id_or_path( @overload @classmethod - def from_catalog_path(cls, session: Session, catalog_path: str, columns: Optional[List[str]] = None) -> "Variable": - ... + def from_catalog_path( + cls, session: Session, catalog_path: str, columns: Optional[List[str]] = None + ) -> "Variable": ... @overload @classmethod def from_catalog_path( cls, session: Session, catalog_path: List[str], columns: Optional[List[str]] = None - ) -> List["Variable"]: - ... + ) -> List["Variable"]: ... @classmethod def from_catalog_path( @@ -1346,13 +1345,13 @@ def from_catalog_path( @overload @classmethod - def from_id(cls, session: Session, variable_id: int, columns: Optional[List[str]] = None) -> "Variable": - ... + def from_id(cls, session: Session, variable_id: int, columns: Optional[List[str]] = None) -> "Variable": ... @overload @classmethod - def from_id(cls, session: Session, variable_id: List[int], columns: Optional[List[str]] = None) -> List["Variable"]: - ... + def from_id( + cls, session: Session, variable_id: List[int], columns: Optional[List[str]] = None + ) -> List["Variable"]: ... @classmethod def from_id( diff --git a/etl/indicator_upgrade/indicator_update.py b/etl/indicator_upgrade/indicator_update.py index 193982e8ce95..5b5e5b8687e9 100644 --- a/etl/indicator_upgrade/indicator_update.py +++ b/etl/indicator_upgrade/indicator_update.py @@ -3,7 +3,6 @@ These functions are used when there are updates on variables. They are used in the chart revision process. """ - from copy import deepcopy from typing import Any, Dict, List, Set diff --git a/etl/scripts/anomalies/detect_anomalies.py b/etl/scripts/anomalies/detect_anomalies.py index 72422855b15e..961453d0a18f 100644 --- a/etl/scripts/anomalies/detect_anomalies.py +++ b/etl/scripts/anomalies/detect_anomalies.py @@ -1,6 +1,5 @@ -"""Detect anomalies in a given grapher dataset. +"""Detect anomalies in a given grapher dataset.""" -""" from typing import Dict, List, Optional, Tuple import click diff --git a/etl/scripts/faostat/archive/migrate_to_new_metadata.py b/etl/scripts/faostat/archive/migrate_to_new_metadata.py index 9e5349c81feb..2bc6a54d48c8 100644 --- a/etl/scripts/faostat/archive/migrate_to_new_metadata.py +++ b/etl/scripts/faostat/archive/migrate_to_new_metadata.py @@ -5,6 +5,7 @@ In future updates we will need to adapt the scripts or etl steps to be able to easily update metadata. """ + import argparse import json diff --git a/etl/scripts/faostat/shared.py b/etl/scripts/faostat/shared.py index b0c0c881f9d8..1c148a895024 100644 --- a/etl/scripts/faostat/shared.py +++ b/etl/scripts/faostat/shared.py @@ -1,6 +1,4 @@ -"""Common definitions used by scripts to create new snapshots and data steps. - -""" +"""Common definitions used by scripts to create new snapshots and data steps.""" import datetime as dt from typing import Dict, List, Tuple diff --git a/etl/steps/__init__.py b/etl/steps/__init__.py index 9be0e7c41323..a842adcd9632 100644 --- a/etl/steps/__init__.py +++ b/etl/steps/__init__.py @@ -369,14 +369,11 @@ class Step(Protocol): version: str dependencies: List["Step"] - def run(self) -> None: - ... + def run(self) -> None: ... - def is_dirty(self) -> bool: - ... + def is_dirty(self) -> bool: ... - def checksum_output(self) -> str: - ... + def checksum_output(self) -> str: ... def __str__(self) -> str: raise NotImplementedError() diff --git a/etl/steps/data/explorers/wb/latest/world_bank_pip.py b/etl/steps/data/explorers/wb/latest/world_bank_pip.py index 0fbb35a71490..b2db098ae4b1 100644 --- a/etl/steps/data/explorers/wb/latest/world_bank_pip.py +++ b/etl/steps/data/explorers/wb/latest/world_bank_pip.py @@ -5,7 +5,6 @@ """ - from owid.catalog import Dataset, Table from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/external/co2_data/latest/owid_co2.py b/etl/steps/data/external/co2_data/latest/owid_co2.py index 659f7ec50f96..1d30f5f9556e 100644 --- a/etl/steps/data/external/co2_data/latest/owid_co2.py +++ b/etl/steps/data/external/co2_data/latest/owid_co2.py @@ -11,7 +11,6 @@ """ - import numpy as np from owid.catalog import Dataset, Origin, Table diff --git a/etl/steps/data/garden/antibiotics/2024-10-09/gram_level.py b/etl/steps/data/garden/antibiotics/2024-10-09/gram_level.py index fdedd02d373b..f49d46fe58e5 100644 --- a/etl/steps/data/garden/antibiotics/2024-10-09/gram_level.py +++ b/etl/steps/data/garden/antibiotics/2024-10-09/gram_level.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from owid.catalog import Dataset, Table from owid.catalog import processing as pr diff --git a/etl/steps/data/garden/antibiotics/2024-12-02/microbe_neonatal_amr.py b/etl/steps/data/garden/antibiotics/2024-12-02/microbe_neonatal_amr.py index aab5b70b399f..8d09ad6b51bf 100644 --- a/etl/steps/data/garden/antibiotics/2024-12-02/microbe_neonatal_amr.py +++ b/etl/steps/data/garden/antibiotics/2024-12-02/microbe_neonatal_amr.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from etl.data_helpers import geo from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/2024-01-30/yougov_job_automation.py b/etl/steps/data/garden/artificial_intelligence/2024-01-30/yougov_job_automation.py index 7fbf4c57a406..1dfd8c3dbeb9 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-01-30/yougov_job_automation.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-01-30/yougov_job_automation.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import pandas as pd from structlog import get_logger diff --git a/etl/steps/data/garden/artificial_intelligence/2024-01-30/yougov_robots.py b/etl/steps/data/garden/artificial_intelligence/2024-01-30/yougov_robots.py index 6ff1a81ea254..25ddfa2f5232 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-01-30/yougov_robots.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-01-30/yougov_robots.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import pandas as pd from structlog import get_logger diff --git a/etl/steps/data/garden/artificial_intelligence/2024-02-15/epoch_llms.py b/etl/steps/data/garden/artificial_intelligence/2024-02-15/epoch_llms.py index ab12e32d1a08..e222dfd5f399 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-02-15/epoch_llms.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-02-15/epoch_llms.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/garden/artificial_intelligence/2024-04-02/dynabench.py b/etl/steps/data/garden/artificial_intelligence/2024-04-02/dynabench.py index c0d48e24e021..dc2228e5a489 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-04-02/dynabench.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-04-02/dynabench.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch.py b/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch.py index 1958173d45b7..55ae25212bdf 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import pandas as pd from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_affiliation.py b/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_affiliation.py index 19a4d7130e52..131930a13e61 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_affiliation.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_affiliation.py @@ -1,4 +1,4 @@ -""" Generate aggregated table for total yearly and cumulative number of notable AI systems in each category of researcher affiliation.""" +"""Generate aggregated table for total yearly and cumulative number of notable AI systems in each category of researcher affiliation.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_countries.py b/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_countries.py index 0ec9011362ff..2b67bb32122e 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_countries.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_countries.py @@ -1,4 +1,5 @@ -""" Generate aggregated table for total yearly and cumulative number of notable AI systems in each country.""" +"""Generate aggregated table for total yearly and cumulative number of notable AI systems in each country.""" + import shared as sh from etl.data_helpers import geo diff --git a/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_domain.py b/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_domain.py index a3a8bee064c3..be9bbb9f9e86 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_domain.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_domain.py @@ -1,4 +1,5 @@ -""" Generate aggregated table for total yearly and cumulative number of notable AI systems for each domain.""" +"""Generate aggregated table for total yearly and cumulative number of notable AI systems for each domain.""" + import shared as sh from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_organizations.py b/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_organizations.py index 64166f6a11f9..83fe4868c060 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_organizations.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-06-03/epoch_aggregates_organizations.py @@ -1,4 +1,5 @@ -""" Generate aggregated table for total yearly and cumulative number of notable AI systems for each organization.""" +"""Generate aggregated table for total yearly and cumulative number of notable AI systems for each organization.""" + import shared as sh from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive.py b/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive.py index b13c7293c38b..645ffdbce501 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import pandas as pd from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_countries.py b/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_countries.py index f0fdd93956a0..89e4430781a2 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_countries.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_countries.py @@ -1,4 +1,5 @@ -""" Generate aggregated table for total yearly and cumulative number of notable AI systems in each country.""" +"""Generate aggregated table for total yearly and cumulative number of notable AI systems in each country.""" + import shared as sh from etl.data_helpers import geo diff --git a/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_domain.py b/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_domain.py index 1cf3ba51a9ab..b7af77bce9f2 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_domain.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_domain.py @@ -1,4 +1,5 @@ -""" Generate aggregated table for total yearly and cumulative number of notable AI systems for each domain.""" +"""Generate aggregated table for total yearly and cumulative number of notable AI systems for each domain.""" + import shared as sh from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_organizations.py b/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_organizations.py index 7a440eef7b90..4f49e0a804dd 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_organizations.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-06-19/epoch_compute_intensive_organizations.py @@ -1,4 +1,5 @@ -""" Generate aggregated table for total yearly and cumulative number of notable AI systems for each organization.""" +"""Generate aggregated table for total yearly and cumulative number of notable AI systems for each organization.""" + import shared as sh from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch.py b/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch.py index 1958173d45b7..55ae25212bdf 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import pandas as pd from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_affiliation.py b/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_affiliation.py index 19a4d7130e52..131930a13e61 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_affiliation.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_affiliation.py @@ -1,4 +1,4 @@ -""" Generate aggregated table for total yearly and cumulative number of notable AI systems in each category of researcher affiliation.""" +"""Generate aggregated table for total yearly and cumulative number of notable AI systems in each category of researcher affiliation.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_countries.py b/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_countries.py index 0ec9011362ff..2b67bb32122e 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_countries.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_countries.py @@ -1,4 +1,5 @@ -""" Generate aggregated table for total yearly and cumulative number of notable AI systems in each country.""" +"""Generate aggregated table for total yearly and cumulative number of notable AI systems in each country.""" + import shared as sh from etl.data_helpers import geo diff --git a/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_domain.py b/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_domain.py index a3a8bee064c3..be9bbb9f9e86 100644 --- a/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_domain.py +++ b/etl/steps/data/garden/artificial_intelligence/2024-07-10/epoch_aggregates_domain.py @@ -1,4 +1,5 @@ -""" Generate aggregated table for total yearly and cumulative number of notable AI systems for each domain.""" +"""Generate aggregated table for total yearly and cumulative number of notable AI systems for each domain.""" + import shared as sh from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/artificial_intelligence/latest/epoch.py b/etl/steps/data/garden/artificial_intelligence/latest/epoch.py index e5af45778358..d7b6839d5c3d 100644 --- a/etl/steps/data/garden/artificial_intelligence/latest/epoch.py +++ b/etl/steps/data/garden/artificial_intelligence/latest/epoch.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import pandas as pd from structlog import get_logger diff --git a/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_affiliation.py b/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_affiliation.py index d2ffa0738af2..52d323041288 100644 --- a/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_affiliation.py +++ b/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_affiliation.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import owid.catalog.processing as pr from structlog import get_logger diff --git a/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_approach.py b/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_approach.py index 3c588ba3553f..b316d8d939c2 100644 --- a/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_approach.py +++ b/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_approach.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import owid.catalog.processing as pr from structlog import get_logger diff --git a/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_domain.py b/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_domain.py index 7acec5dafb99..03d952d68b57 100644 --- a/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_domain.py +++ b/etl/steps/data/garden/artificial_intelligence/latest/epoch_aggregates_domain.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import owid.catalog.processing as pr from structlog import get_logger diff --git a/etl/steps/data/garden/cancer/2024-10-13/gco_cancer_over_time_cervical.py b/etl/steps/data/garden/cancer/2024-10-13/gco_cancer_over_time_cervical.py index 76f64b2b0a5c..a829461174c8 100644 --- a/etl/steps/data/garden/cancer/2024-10-13/gco_cancer_over_time_cervical.py +++ b/etl/steps/data/garden/cancer/2024-10-13/gco_cancer_over_time_cervical.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from etl.data_helpers import geo from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/climate/2024-01-31/climate_change_impacts.py b/etl/steps/data/garden/climate/2024-01-31/climate_change_impacts.py index 38f00ffd808f..81d7e86da059 100644 --- a/etl/steps/data/garden/climate/2024-01-31/climate_change_impacts.py +++ b/etl/steps/data/garden/climate/2024-01-31/climate_change_impacts.py @@ -1,6 +1,4 @@ -"""Create a garden dataset with all climate change impacts data. - -""" +"""Create a garden dataset with all climate change impacts data.""" from owid.catalog import Table from owid.datautils.dataframes import combine_two_overlapping_dataframes diff --git a/etl/steps/data/garden/climate/2024-03-11/climate_change_impacts.py b/etl/steps/data/garden/climate/2024-03-11/climate_change_impacts.py index 38f00ffd808f..81d7e86da059 100644 --- a/etl/steps/data/garden/climate/2024-03-11/climate_change_impacts.py +++ b/etl/steps/data/garden/climate/2024-03-11/climate_change_impacts.py @@ -1,6 +1,4 @@ -"""Create a garden dataset with all climate change impacts data. - -""" +"""Create a garden dataset with all climate change impacts data.""" from owid.catalog import Table from owid.datautils.dataframes import combine_two_overlapping_dataframes diff --git a/etl/steps/data/garden/climate/2024-04-17/climate_change_impacts.py b/etl/steps/data/garden/climate/2024-04-17/climate_change_impacts.py index 38f00ffd808f..81d7e86da059 100644 --- a/etl/steps/data/garden/climate/2024-04-17/climate_change_impacts.py +++ b/etl/steps/data/garden/climate/2024-04-17/climate_change_impacts.py @@ -1,6 +1,4 @@ -"""Create a garden dataset with all climate change impacts data. - -""" +"""Create a garden dataset with all climate change impacts data.""" from owid.catalog import Table from owid.datautils.dataframes import combine_two_overlapping_dataframes diff --git a/etl/steps/data/garden/climate/2024-05-20/climate_change_impacts.py b/etl/steps/data/garden/climate/2024-05-20/climate_change_impacts.py index 38f00ffd808f..81d7e86da059 100644 --- a/etl/steps/data/garden/climate/2024-05-20/climate_change_impacts.py +++ b/etl/steps/data/garden/climate/2024-05-20/climate_change_impacts.py @@ -1,6 +1,4 @@ -"""Create a garden dataset with all climate change impacts data. - -""" +"""Create a garden dataset with all climate change impacts data.""" from owid.catalog import Table from owid.datautils.dataframes import combine_two_overlapping_dataframes diff --git a/etl/steps/data/garden/climate/2024-07-23/climate_change_impacts.py b/etl/steps/data/garden/climate/2024-07-23/climate_change_impacts.py index 38f00ffd808f..81d7e86da059 100644 --- a/etl/steps/data/garden/climate/2024-07-23/climate_change_impacts.py +++ b/etl/steps/data/garden/climate/2024-07-23/climate_change_impacts.py @@ -1,6 +1,4 @@ -"""Create a garden dataset with all climate change impacts data. - -""" +"""Create a garden dataset with all climate change impacts data.""" from owid.catalog import Table from owid.datautils.dataframes import combine_two_overlapping_dataframes diff --git a/etl/steps/data/garden/climate/2024-09-30/climate_change_impacts.py b/etl/steps/data/garden/climate/2024-09-30/climate_change_impacts.py index 38f00ffd808f..81d7e86da059 100644 --- a/etl/steps/data/garden/climate/2024-09-30/climate_change_impacts.py +++ b/etl/steps/data/garden/climate/2024-09-30/climate_change_impacts.py @@ -1,6 +1,4 @@ -"""Create a garden dataset with all climate change impacts data. - -""" +"""Create a garden dataset with all climate change impacts data.""" from owid.catalog import Table from owid.datautils.dataframes import combine_two_overlapping_dataframes diff --git a/etl/steps/data/garden/climate/2024-11-18/climate_change_impacts.py b/etl/steps/data/garden/climate/2024-11-18/climate_change_impacts.py index 38f00ffd808f..81d7e86da059 100644 --- a/etl/steps/data/garden/climate/2024-11-18/climate_change_impacts.py +++ b/etl/steps/data/garden/climate/2024-11-18/climate_change_impacts.py @@ -1,6 +1,4 @@ -"""Create a garden dataset with all climate change impacts data. - -""" +"""Create a garden dataset with all climate change impacts data.""" from owid.catalog import Table from owid.datautils.dataframes import combine_two_overlapping_dataframes diff --git a/etl/steps/data/garden/climate/latest/weekly_wildfires.py b/etl/steps/data/garden/climate/latest/weekly_wildfires.py index cb0f80f5c684..d9760f9d99ca 100644 --- a/etl/steps/data/garden/climate/latest/weekly_wildfires.py +++ b/etl/steps/data/garden/climate/latest/weekly_wildfires.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import owid.catalog.processing as pr import pandas as pd diff --git a/etl/steps/data/garden/countries/2024-08-27/gleditsch.py b/etl/steps/data/garden/countries/2024-08-27/gleditsch.py index a18d6b14e4b7..66b05096cdfd 100644 --- a/etl/steps/data/garden/countries/2024-08-27/gleditsch.py +++ b/etl/steps/data/garden/countries/2024-08-27/gleditsch.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from datetime import datetime as dt import owid.catalog.processing as pr diff --git a/etl/steps/data/garden/covid/latest/compact.py b/etl/steps/data/garden/covid/latest/compact.py index 25f50a695da8..fe684152bbe7 100644 --- a/etl/steps/data/garden/covid/latest/compact.py +++ b/etl/steps/data/garden/covid/latest/compact.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from ast import literal_eval from typing import cast diff --git a/etl/steps/data/garden/covid/latest/countries_reporting.py b/etl/steps/data/garden/covid/latest/countries_reporting.py index 3742ff433a68..af37073ba110 100644 --- a/etl/steps/data/garden/covid/latest/countries_reporting.py +++ b/etl/steps/data/garden/covid/latest/countries_reporting.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from owid.catalog import Table from etl.data_helpers.misc import expand_time_column diff --git a/etl/steps/data/garden/covid/latest/infections_model.py b/etl/steps/data/garden/covid/latest/infections_model.py index 2ce0b1c7a250..891e80d37313 100644 --- a/etl/steps/data/garden/covid/latest/infections_model.py +++ b/etl/steps/data/garden/covid/latest/infections_model.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from typing import Any, Dict from owid.catalog import Table diff --git a/etl/steps/data/garden/covid/latest/sequence.py b/etl/steps/data/garden/covid/latest/sequence.py index e0feee792228..4061b1251804 100644 --- a/etl/steps/data/garden/covid/latest/sequence.py +++ b/etl/steps/data/garden/covid/latest/sequence.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from datetime import timedelta import owid.catalog.processing as pr diff --git a/etl/steps/data/garden/covid/latest/sweden_covid.py b/etl/steps/data/garden/covid/latest/sweden_covid.py index 6e5e6da2a7a1..940f7946c727 100644 --- a/etl/steps/data/garden/covid/latest/sweden_covid.py +++ b/etl/steps/data/garden/covid/latest/sweden_covid.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import numpy as np from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/democracy/2024-03-07/ert.py b/etl/steps/data/garden/democracy/2024-03-07/ert.py index 43e439b60021..278d94311cd3 100644 --- a/etl/steps/data/garden/democracy/2024-03-07/ert.py +++ b/etl/steps/data/garden/democracy/2024-03-07/ert.py @@ -173,9 +173,9 @@ def correct_country_names(tb: Table) -> Table: tb["country"] = tb["country"].astype("string") tb.loc[(tb["country"] == "Germany") & (tb["year"] <= 1990) & (tb["year"] >= 1949), "country"] = "West Germany" tb.loc[(tb["country"] == "Yemen") & (tb["year"] <= 1990) & (tb["year"] >= 1918), "country"] = "Yemen Arab Republic" - tb.loc[ - (tb["country"] == "Vietnam") & (tb["year"] <= 1975) & (tb["year"] >= 1945), "country" - ] = "Democratic Republic of Vietnam" + tb.loc[(tb["country"] == "Vietnam") & (tb["year"] <= 1975) & (tb["year"] >= 1945), "country"] = ( + "Democratic Republic of Vietnam" + ) tb.loc[(tb["country"] == "Republic of Vietnam") & (tb["year"] < 1945), "country"] = "Vietnam" return tb diff --git a/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem_aggregate.py b/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem_aggregate.py index f881fe0f0da0..02683595b20a 100644 --- a/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem_aggregate.py +++ b/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem_aggregate.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from itertools import chain from typing import Dict, Optional, Tuple, cast diff --git a/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem_clean.py b/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem_clean.py index 04ad94d25f8b..d59f84fb52fd 100644 --- a/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem_clean.py +++ b/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem_clean.py @@ -2,6 +2,7 @@ ref: https://github.com/owid/notebooks/blob/main/BastianHerre/democracy/scripts/vdem_row_do """ + from typing import Union, cast import numpy as np @@ -79,9 +80,9 @@ def initial_cleaning(tb: Table) -> Table: # Assign historical names tb["country"] = tb["country"].astype("string") tb.loc[(tb["country"] == "Yemen") & (tb["year"] <= 1990) & (tb["year"] >= 1918), "country"] = "Yemen Arab Republic" - tb.loc[ - (tb["country"] == "Vietnam") & (tb["year"] <= 1975) & (tb["year"] >= 1945), "country" - ] = "Democratic Republic of Vietnam" + tb.loc[(tb["country"] == "Vietnam") & (tb["year"] <= 1975) & (tb["year"] >= 1945), "country"] = ( + "Democratic Republic of Vietnam" + ) tb.loc[(tb["country"] == "Germany") & (tb["year"] <= 1990) & (tb["year"] >= 1949), "country"] = "West Germany" tb["country"] = tb["country"].astype("category") diff --git a/etl/steps/data/garden/demography/2022-12-08/population/gapminder_sg.py b/etl/steps/data/garden/demography/2022-12-08/population/gapminder_sg.py index cef7a587ce88..ee74956b3e85 100644 --- a/etl/steps/data/garden/demography/2022-12-08/population/gapminder_sg.py +++ b/etl/steps/data/garden/demography/2022-12-08/population/gapminder_sg.py @@ -9,6 +9,7 @@ obtained that data. """ + from owid.catalog import Dataset from etl.paths import DATA_DIR diff --git a/etl/steps/data/garden/demography/2023-02-03/life_expectancy.py b/etl/steps/data/garden/demography/2023-02-03/life_expectancy.py index 7164918d0bf7..fdf118f7fd80 100644 --- a/etl/steps/data/garden/demography/2023-02-03/life_expectancy.py +++ b/etl/steps/data/garden/demography/2023-02-03/life_expectancy.py @@ -11,6 +11,7 @@ - UN WPP for data since 1950. - HMD for data prior to 1950. """ + from typing import List import pandas as pd diff --git a/etl/steps/data/garden/demography/2023-03-31/population/gapminder_sg.py b/etl/steps/data/garden/demography/2023-03-31/population/gapminder_sg.py index b0897d09ae5b..35529498fd92 100644 --- a/etl/steps/data/garden/demography/2023-03-31/population/gapminder_sg.py +++ b/etl/steps/data/garden/demography/2023-03-31/population/gapminder_sg.py @@ -9,6 +9,7 @@ obtained that data. """ + from owid.catalog import Dataset, License, Origin, Table from etl.paths import DATA_DIR diff --git a/etl/steps/data/garden/demography/2024-01-25/utils/un.py b/etl/steps/data/garden/demography/2024-01-25/utils/un.py index d01aa993422d..2f28c168832e 100644 --- a/etl/steps/data/garden/demography/2024-01-25/utils/un.py +++ b/etl/steps/data/garden/demography/2024-01-25/utils/un.py @@ -5,7 +5,6 @@ We only use projections with medium-fertility variant. """ - from owid.catalog import Table # Year boundaries diff --git a/etl/steps/data/garden/demography/2024-12-03/fertility_rate.py b/etl/steps/data/garden/demography/2024-12-03/fertility_rate.py index d2f339089c8a..24f4de08f93e 100644 --- a/etl/steps/data/garden/demography/2024-12-03/fertility_rate.py +++ b/etl/steps/data/garden/demography/2024-12-03/fertility_rate.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import pandas as pd from owid.catalog import processing as pr diff --git a/etl/steps/data/garden/eia/2023-07-10/energy_consumption.py b/etl/steps/data/garden/eia/2023-07-10/energy_consumption.py index b469a4fb600f..df380a0c938b 100644 --- a/etl/steps/data/garden/eia/2023-07-10/energy_consumption.py +++ b/etl/steps/data/garden/eia/2023-07-10/energy_consumption.py @@ -1,6 +1,5 @@ -"""Garden step for EIA total energy consumption. +"""Garden step for EIA total energy consumption.""" -""" from typing import Dict, List, Optional, Union import numpy as np diff --git a/etl/steps/data/garden/eia/2023-12-12/energy_consumption.py b/etl/steps/data/garden/eia/2023-12-12/energy_consumption.py index f9cacca49476..b9eb9b3fd41e 100644 --- a/etl/steps/data/garden/eia/2023-12-12/energy_consumption.py +++ b/etl/steps/data/garden/eia/2023-12-12/energy_consumption.py @@ -1,6 +1,4 @@ -"""Garden step for EIA total energy consumption. - -""" +"""Garden step for EIA total energy consumption.""" from etl.data_helpers import geo from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/ember/2022-08-01/combined_electricity_review.py b/etl/steps/data/garden/ember/2022-08-01/combined_electricity_review.py index 794a8e6065fb..f4659c720cac 100644 --- a/etl/steps/data/garden/ember/2022-08-01/combined_electricity_review.py +++ b/etl/steps/data/garden/ember/2022-08-01/combined_electricity_review.py @@ -1,6 +1,4 @@ -"""Garden step that combines Ember's European and Global Electricity Review. - -""" +"""Garden step that combines Ember's European and Global Electricity Review.""" import pandas as pd from owid import catalog diff --git a/etl/steps/data/garden/ember/2022-08-01/european_electricity_review.py b/etl/steps/data/garden/ember/2022-08-01/european_electricity_review.py index 3243535ad17b..2dde2fee2390 100644 --- a/etl/steps/data/garden/ember/2022-08-01/european_electricity_review.py +++ b/etl/steps/data/garden/ember/2022-08-01/european_electricity_review.py @@ -1,6 +1,4 @@ -"""Garden step for European Electricity Review (Ember, 2022). - -""" +"""Garden step for European Electricity Review (Ember, 2022).""" from typing import cast diff --git a/etl/steps/data/garden/ember/2022-08-01/global_electricity_review.py b/etl/steps/data/garden/ember/2022-08-01/global_electricity_review.py index 04a149cec9e9..944dba801e82 100644 --- a/etl/steps/data/garden/ember/2022-08-01/global_electricity_review.py +++ b/etl/steps/data/garden/ember/2022-08-01/global_electricity_review.py @@ -1,6 +1,4 @@ -"""Garden step for Global Electricity Review (Ember, 2022). - -""" +"""Garden step for Global Electricity Review (Ember, 2022).""" import pandas as pd from owid import catalog diff --git a/etl/steps/data/garden/ember/2023-02-20/shared.py b/etl/steps/data/garden/ember/2023-02-20/shared.py index 92f3e7e08dab..76b11ae037d0 100644 --- a/etl/steps/data/garden/ember/2023-02-20/shared.py +++ b/etl/steps/data/garden/ember/2023-02-20/shared.py @@ -470,7 +470,7 @@ def add_region_aggregates( def _expand_combinations_in_amendments( - amendments: List[Tuple[Dict[Any, Any], Dict[Any, Any]]] + amendments: List[Tuple[Dict[Any, Any], Dict[Any, Any]]], ) -> List[Tuple[Dict[Any, Any], Dict[Any, Any]]]: """When values in amendments are given as lists, explode them to have all possible combinations of values.""" amendments_expanded = [] diff --git a/etl/steps/data/garden/ember/2023-07-10/shared.py b/etl/steps/data/garden/ember/2023-07-10/shared.py index bc7f5d72c213..5c8e8d173e0c 100644 --- a/etl/steps/data/garden/ember/2023-07-10/shared.py +++ b/etl/steps/data/garden/ember/2023-07-10/shared.py @@ -298,7 +298,7 @@ def add_region_aggregates( def _expand_combinations_in_amendments( - amendments: List[Tuple[Dict[Any, Any], Dict[Any, Any]]] + amendments: List[Tuple[Dict[Any, Any], Dict[Any, Any]]], ) -> List[Tuple[Dict[Any, Any], Dict[Any, Any]]]: """When values in amendments are given as lists, explode them to have all possible combinations of values.""" amendments_expanded = [] diff --git a/etl/steps/data/garden/ember/2023-07-10/yearly_electricity.py b/etl/steps/data/garden/ember/2023-07-10/yearly_electricity.py index f249661ee1b2..16e7b28e5974 100644 --- a/etl/steps/data/garden/ember/2023-07-10/yearly_electricity.py +++ b/etl/steps/data/garden/ember/2023-07-10/yearly_electricity.py @@ -1,6 +1,4 @@ -"""Garden step for Ember's Yearly Electricity Data. - -""" +"""Garden step for Ember's Yearly Electricity Data.""" import numpy as np import owid.catalog.processing as pr diff --git a/etl/steps/data/garden/ember/2023-12-12/european_electricity_review.py b/etl/steps/data/garden/ember/2023-12-12/european_electricity_review.py index 29ac415248b4..bdcabd97a805 100644 --- a/etl/steps/data/garden/ember/2023-12-12/european_electricity_review.py +++ b/etl/steps/data/garden/ember/2023-12-12/european_electricity_review.py @@ -1,6 +1,4 @@ -"""Garden step for European Electricity Review (Ember, 2022). - -""" +"""Garden step for European Electricity Review (Ember, 2022).""" from owid.catalog import Table from owid.datautils import dataframes diff --git a/etl/steps/data/garden/ember/2023-12-12/yearly_electricity.py b/etl/steps/data/garden/ember/2023-12-12/yearly_electricity.py index 23a46702346d..80dbda934256 100644 --- a/etl/steps/data/garden/ember/2023-12-12/yearly_electricity.py +++ b/etl/steps/data/garden/ember/2023-12-12/yearly_electricity.py @@ -1,6 +1,4 @@ -"""Garden step for Ember's Yearly Electricity Data. - -""" +"""Garden step for Ember's Yearly Electricity Data.""" import owid.catalog.processing as pr from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/ember/2024-05-08/yearly_electricity.py b/etl/steps/data/garden/ember/2024-05-08/yearly_electricity.py index d196ec6f7575..30c26f56680b 100644 --- a/etl/steps/data/garden/ember/2024-05-08/yearly_electricity.py +++ b/etl/steps/data/garden/ember/2024-05-08/yearly_electricity.py @@ -4,6 +4,7 @@ version, where data needed to be combined with the European Electricity Review). """ + from typing import Dict import owid.catalog.processing as pr diff --git a/etl/steps/data/garden/emissions/2023-12-12/owid_co2.py b/etl/steps/data/garden/emissions/2023-12-12/owid_co2.py index d93cf411c0c4..d186b77b9f81 100644 --- a/etl/steps/data/garden/emissions/2023-12-12/owid_co2.py +++ b/etl/steps/data/garden/emissions/2023-12-12/owid_co2.py @@ -11,7 +11,6 @@ """ - import numpy as np from owid.catalog import Dataset, Origin, Table diff --git a/etl/steps/data/garden/emissions/2024-04-08/national_contributions.py b/etl/steps/data/garden/emissions/2024-04-08/national_contributions.py index 548ea63802c5..6309786685b1 100644 --- a/etl/steps/data/garden/emissions/2024-04-08/national_contributions.py +++ b/etl/steps/data/garden/emissions/2024-04-08/national_contributions.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import owid.catalog.processing as pr from owid.catalog import Dataset, Table, Variable from owid.datautils.dataframes import map_series diff --git a/etl/steps/data/garden/emissions/2024-11-21/national_contributions.py b/etl/steps/data/garden/emissions/2024-11-21/national_contributions.py index ebe2fb4ae8c9..540aed18dec3 100644 --- a/etl/steps/data/garden/emissions/2024-11-21/national_contributions.py +++ b/etl/steps/data/garden/emissions/2024-11-21/national_contributions.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import owid.catalog.processing as pr from owid.catalog import Dataset, Table, Variable from owid.datautils.dataframes import map_series diff --git a/etl/steps/data/garden/energy/2023-07-10/energy_mix.py b/etl/steps/data/garden/energy/2023-07-10/energy_mix.py index e558257f4871..fa52fc550020 100644 --- a/etl/steps/data/garden/energy/2023-07-10/energy_mix.py +++ b/etl/steps/data/garden/energy/2023-07-10/energy_mix.py @@ -1,6 +1,4 @@ -"""Generate the energy mix dataset using data from the Energy Institute Statistical Review of World Energy. - -""" +"""Generate the energy mix dataset using data from the Energy Institute Statistical Review of World Energy.""" import numpy as np from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/energy/2023-07-10/fossil_fuel_reserves_production_ratio.py b/etl/steps/data/garden/energy/2023-07-10/fossil_fuel_reserves_production_ratio.py index 8c1d7e27674b..3913989965ff 100644 --- a/etl/steps/data/garden/energy/2023-07-10/fossil_fuel_reserves_production_ratio.py +++ b/etl/steps/data/garden/energy/2023-07-10/fossil_fuel_reserves_production_ratio.py @@ -1,6 +1,4 @@ -"""Load Statistical Review of World Energy and create variables of reserves-to-production ratios of fossil fuels. - -""" +"""Load Statistical Review of World Energy and create variables of reserves-to-production ratios of fossil fuels.""" from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/energy/2023-12-12/energy_mix.py b/etl/steps/data/garden/energy/2023-12-12/energy_mix.py index 4da60f0ecf25..9589ec608fe1 100644 --- a/etl/steps/data/garden/energy/2023-12-12/energy_mix.py +++ b/etl/steps/data/garden/energy/2023-12-12/energy_mix.py @@ -1,6 +1,4 @@ -"""Generate the energy mix dataset using data from the Energy Institute Statistical Review of World Energy. - -""" +"""Generate the energy mix dataset using data from the Energy Institute Statistical Review of World Energy.""" import numpy as np from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/energy/2023-12-12/fossil_fuel_reserves_production_ratio.py b/etl/steps/data/garden/energy/2023-12-12/fossil_fuel_reserves_production_ratio.py index dea19c03ae6b..64fe0e404eb8 100644 --- a/etl/steps/data/garden/energy/2023-12-12/fossil_fuel_reserves_production_ratio.py +++ b/etl/steps/data/garden/energy/2023-12-12/fossil_fuel_reserves_production_ratio.py @@ -1,6 +1,4 @@ -"""Load Statistical Review of World Energy and create variables of reserves-to-production ratios of fossil fuels. - -""" +"""Load Statistical Review of World Energy and create variables of reserves-to-production ratios of fossil fuels.""" from owid.catalog import Table diff --git a/etl/steps/data/garden/energy/2024-05-08/energy_mix.py b/etl/steps/data/garden/energy/2024-05-08/energy_mix.py index 7dbcd3e3651e..4523375346ac 100644 --- a/etl/steps/data/garden/energy/2024-05-08/energy_mix.py +++ b/etl/steps/data/garden/energy/2024-05-08/energy_mix.py @@ -1,6 +1,4 @@ -"""Generate the energy mix dataset using data from the Energy Institute Statistical Review of World Energy. - -""" +"""Generate the energy mix dataset using data from the Energy Institute Statistical Review of World Energy.""" import numpy as np from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/energy/2024-05-08/fossil_fuel_reserves_production_ratio.py b/etl/steps/data/garden/energy/2024-05-08/fossil_fuel_reserves_production_ratio.py index 28d708eaa4fb..2d6ab167e79b 100644 --- a/etl/steps/data/garden/energy/2024-05-08/fossil_fuel_reserves_production_ratio.py +++ b/etl/steps/data/garden/energy/2024-05-08/fossil_fuel_reserves_production_ratio.py @@ -1,6 +1,4 @@ -"""Load Statistical Review of World Energy and create variables of reserves-to-production ratios of fossil fuels. - -""" +"""Load Statistical Review of World Energy and create variables of reserves-to-production ratios of fossil fuels.""" from owid.catalog import Table diff --git a/etl/steps/data/garden/energy/2024-06-20/energy_mix.py b/etl/steps/data/garden/energy/2024-06-20/energy_mix.py index 7dbcd3e3651e..4523375346ac 100644 --- a/etl/steps/data/garden/energy/2024-06-20/energy_mix.py +++ b/etl/steps/data/garden/energy/2024-06-20/energy_mix.py @@ -1,6 +1,4 @@ -"""Generate the energy mix dataset using data from the Energy Institute Statistical Review of World Energy. - -""" +"""Generate the energy mix dataset using data from the Energy Institute Statistical Review of World Energy.""" import numpy as np from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/energy/2024-06-20/fossil_fuel_reserves_production_ratio.py b/etl/steps/data/garden/energy/2024-06-20/fossil_fuel_reserves_production_ratio.py index 28d708eaa4fb..2d6ab167e79b 100644 --- a/etl/steps/data/garden/energy/2024-06-20/fossil_fuel_reserves_production_ratio.py +++ b/etl/steps/data/garden/energy/2024-06-20/fossil_fuel_reserves_production_ratio.py @@ -1,6 +1,4 @@ -"""Load Statistical Review of World Energy and create variables of reserves-to-production ratios of fossil fuels. - -""" +"""Load Statistical Review of World Energy and create variables of reserves-to-production ratios of fossil fuels.""" from owid.catalog import Table diff --git a/etl/steps/data/garden/energy/2024-11-20/energy_prices.py b/etl/steps/data/garden/energy/2024-11-20/energy_prices.py index f40c3b4fb44a..73621d987ad2 100644 --- a/etl/steps/data/garden/energy/2024-11-20/energy_prices.py +++ b/etl/steps/data/garden/energy/2024-11-20/energy_prices.py @@ -1,6 +1,5 @@ -"""Compilation of energy prices datasets. +"""Compilation of energy prices datasets.""" -""" import owid.catalog.processing as pr from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/ess/2023-08-02/ess_trust.py b/etl/steps/data/garden/ess/2023-08-02/ess_trust.py index 7148c578b382..f382eae78e0a 100644 --- a/etl/steps/data/garden/ess/2023-08-02/ess_trust.py +++ b/etl/steps/data/garden/ess/2023-08-02/ess_trust.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from owid.catalog import Table from etl.data_helpers import geo diff --git a/etl/steps/data/garden/eurostat/2024-11-05/gas_and_electricity_prices.py b/etl/steps/data/garden/eurostat/2024-11-05/gas_and_electricity_prices.py index afc793eaabbb..d6217fcae7ae 100644 --- a/etl/steps/data/garden/eurostat/2024-11-05/gas_and_electricity_prices.py +++ b/etl/steps/data/garden/eurostat/2024-11-05/gas_and_electricity_prices.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from typing import Dict import owid.catalog.processing as pr diff --git a/etl/steps/data/garden/excess_mortality/latest/excess_mortality/__init__.py b/etl/steps/data/garden/excess_mortality/latest/excess_mortality/__init__.py index 9811af8f7d0e..c8c77fe03b7d 100644 --- a/etl/steps/data/garden/excess_mortality/latest/excess_mortality/__init__.py +++ b/etl/steps/data/garden/excess_mortality/latest/excess_mortality/__init__.py @@ -6,6 +6,7 @@ This step merges the two datasets into one single dataset, combining metrics from both sources to obtain excess mortality metrics. """ + from input import build_df from owid.catalog import Table from process import process_df diff --git a/etl/steps/data/garden/excess_mortality/latest/excess_mortality/process.py b/etl/steps/data/garden/excess_mortality/latest/excess_mortality/process.py index be8f5eb6d23b..390bb67ab8d8 100644 --- a/etl/steps/data/garden/excess_mortality/latest/excess_mortality/process.py +++ b/etl/steps/data/garden/excess_mortality/latest/excess_mortality/process.py @@ -1,4 +1,5 @@ """Processing tools.""" + from datetime import datetime, timedelta import numpy as np diff --git a/etl/steps/data/garden/excess_mortality/latest/hmd_stmf.py b/etl/steps/data/garden/excess_mortality/latest/hmd_stmf.py index 7e6e50dead80..1630b8fa7b80 100644 --- a/etl/steps/data/garden/excess_mortality/latest/hmd_stmf.py +++ b/etl/steps/data/garden/excess_mortality/latest/hmd_stmf.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from datetime import date import pandas as pd diff --git a/etl/steps/data/garden/excess_mortality/latest/xm_karlinsky_kobak.py b/etl/steps/data/garden/excess_mortality/latest/xm_karlinsky_kobak.py index 4a940cfef895..0afbf1a0f01b 100644 --- a/etl/steps/data/garden/excess_mortality/latest/xm_karlinsky_kobak.py +++ b/etl/steps/data/garden/excess_mortality/latest/xm_karlinsky_kobak.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from typing import Any, Dict, List import pandas as pd diff --git a/etl/steps/data/garden/faostat/2023-02-22/detected_anomalies.py b/etl/steps/data/garden/faostat/2023-02-22/detected_anomalies.py index 22d10b928cde..f484e961f1ba 100644 --- a/etl/steps/data/garden/faostat/2023-02-22/detected_anomalies.py +++ b/etl/steps/data/garden/faostat/2023-02-22/detected_anomalies.py @@ -5,6 +5,7 @@ See documentation of class DataAnomaly below for more details on how anomaly classes are structured. """ + import abc import os from typing import Tuple diff --git a/etl/steps/data/garden/faostat/2023-06-12/additional_variables.py b/etl/steps/data/garden/faostat/2023-06-12/additional_variables.py index 9c45c5a7913e..4011fad9515c 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/additional_variables.py +++ b/etl/steps/data/garden/faostat/2023-06-12/additional_variables.py @@ -1,6 +1,4 @@ -"""Dataset that combines different variables of other FAOSTAT datasets. - -""" +"""Dataset that combines different variables of other FAOSTAT datasets.""" import numpy as np import pandas as pd diff --git a/etl/steps/data/garden/faostat/2023-06-12/detected_anomalies.py b/etl/steps/data/garden/faostat/2023-06-12/detected_anomalies.py index 22d10b928cde..f484e961f1ba 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/detected_anomalies.py +++ b/etl/steps/data/garden/faostat/2023-06-12/detected_anomalies.py @@ -5,6 +5,7 @@ See documentation of class DataAnomaly below for more details on how anomaly classes are structured. """ + import abc import os from typing import Tuple diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_cahd.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_cahd.py index 048afae3560e..02734da36338 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_cahd.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_cahd.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_cahd dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_ef.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_ef.py index 9969bfd421f4..183b0f6013f7 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_ef.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_ef.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_ef dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_ei.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_ei.py index 5bd7d23db88e..1a013f6e824d 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_ei.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_ei.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_ei dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_ek.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_ek.py index c6ec4c862e82..bb2753d1d0a7 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_ek.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_ek.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_ek dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_el.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_el.py index 43b06ade38cc..87263c413ed2 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_el.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_el.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_el dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_emn.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_emn.py index 5f12637ec704..e2b1eaff5d33 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_emn.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_emn.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_emn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_ep.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_ep.py index 0a44564deea4..0053f94814bf 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_ep.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_ep.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_ep dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_esb.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_esb.py index 2a4896b9edfd..10fb21b0187a 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_esb.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_esb.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_esb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_fa.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_fa.py index e594773a5671..c0c7f77fbfbb 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_fa.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_fa.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_fa dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_fo.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_fo.py index bba98a5e224f..7d4fac7b2d7e 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_fo.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_fo.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_fo dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_fs.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_fs.py index a836381fb94b..3ea0dd31e988 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_fs.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_fs.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_fs dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_gn.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_gn.py index 4d77b41c5972..93bacc020e33 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_gn.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_gn.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_gn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_ic.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_ic.py index 5e86234ddde4..69e2f85c84c5 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_ic.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_ic.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_ic dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_lc.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_lc.py index ab508fd95ad3..76ca635f1f8c 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_lc.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_lc.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_lc dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_qi.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_qi.py index 8c271f07bc27..f671c6901997 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_qi.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_qi.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_qi dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_qv.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_qv.py index f564688376e8..cb89edeef240 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_qv.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_qv.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_qv dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_rfb.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_rfb.py index 68669b4cbd49..d3300e2ef698 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_rfb.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_rfb.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_rfb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_rfn.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_rfn.py index 4ebfe341728c..20bc8770f778 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_rfn.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_rfn.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_rfn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_rl.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_rl.py index f43cbe319125..0eea09d6235e 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_rl.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_rl.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_rl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_rp.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_rp.py index f15e468d920a..2670e29daf57 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_rp.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_rp.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_rp dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_rt.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_rt.py index 8b7a9257526b..08d5e493dec2 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_rt.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_rt.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_rt dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_scl.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_scl.py index 00d0d6eb3769..420e07157c87 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_scl.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_scl.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_scl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_sdgb.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_sdgb.py index 67932fa7aaf8..f48aa45d68b4 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_sdgb.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_sdgb.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_sdgb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_tcl.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_tcl.py index 2df286d39921..c74322718db0 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_tcl.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_tcl.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_tcl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_ti.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_ti.py index 682199d79d93..c7d37e401e50 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_ti.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_ti.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_ti dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2023-06-12/faostat_wcad.py b/etl/steps/data/garden/faostat/2023-06-12/faostat_wcad.py index 77ba310b738e..cc2802898742 100644 --- a/etl/steps/data/garden/faostat/2023-06-12/faostat_wcad.py +++ b/etl/steps/data/garden/faostat/2023-06-12/faostat_wcad.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_wcad dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/additional_variables.py b/etl/steps/data/garden/faostat/2024-03-14/additional_variables.py index da5b1056487d..5bd97b9f6df6 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/additional_variables.py +++ b/etl/steps/data/garden/faostat/2024-03-14/additional_variables.py @@ -1,6 +1,4 @@ -"""Dataset that combines different variables of other FAOSTAT datasets. - -""" +"""Dataset that combines different variables of other FAOSTAT datasets.""" import numpy as np import owid.catalog.processing as pr diff --git a/etl/steps/data/garden/faostat/2024-03-14/detected_anomalies.py b/etl/steps/data/garden/faostat/2024-03-14/detected_anomalies.py index 2636b4ef8a66..d173e637c283 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/detected_anomalies.py +++ b/etl/steps/data/garden/faostat/2024-03-14/detected_anomalies.py @@ -5,6 +5,7 @@ See documentation of class DataAnomaly below for more details on how anomaly classes are structured. """ + import abc import os from typing import Tuple diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_cahd.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_cahd.py index 048afae3560e..02734da36338 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_cahd.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_cahd.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_cahd dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_ei.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_ei.py index 5bd7d23db88e..1a013f6e824d 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_ei.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_ei.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_ei dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_ek.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_ek.py index c6ec4c862e82..bb2753d1d0a7 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_ek.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_ek.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_ek dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_emn.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_emn.py index 5f12637ec704..e2b1eaff5d33 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_emn.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_emn.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_emn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_esb.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_esb.py index 2a4896b9edfd..10fb21b0187a 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_esb.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_esb.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_esb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_fa.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_fa.py index e594773a5671..c0c7f77fbfbb 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_fa.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_fa.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_fa dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_fbsc.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_fbsc.py index c061395311c9..b55ca5f04fa0 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_fbsc.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_fbsc.py @@ -15,7 +15,6 @@ """ - import owid.catalog.processing as pr from owid.catalog import Dataset, Table from shared import ( diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_fo.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_fo.py index bba98a5e224f..7d4fac7b2d7e 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_fo.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_fo.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_fo dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_fs.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_fs.py index a836381fb94b..3ea0dd31e988 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_fs.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_fs.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_fs dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_ic.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_ic.py index 5e86234ddde4..69e2f85c84c5 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_ic.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_ic.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_ic dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_lc.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_lc.py index ab508fd95ad3..76ca635f1f8c 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_lc.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_lc.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_lc dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_qcl.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_qcl.py index 81fbcf2c011a..430ada948a29 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_qcl.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_qcl.py @@ -1,6 +1,5 @@ """FAOSTAT garden step for faostat_qcl dataset.""" - import numpy as np import owid.catalog.processing as pr from owid.catalog import Table diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_qi.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_qi.py index 8c271f07bc27..f671c6901997 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_qi.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_qi.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_qi dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_qv.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_qv.py index f564688376e8..cb89edeef240 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_qv.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_qv.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_qv dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_rfb.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_rfb.py index 68669b4cbd49..d3300e2ef698 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_rfb.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_rfb.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_rfb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_rfn.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_rfn.py index 4ebfe341728c..20bc8770f778 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_rfn.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_rfn.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_rfn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_rl.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_rl.py index f43cbe319125..0eea09d6235e 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_rl.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_rl.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_rl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_rp.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_rp.py index f15e468d920a..2670e29daf57 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_rp.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_rp.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_rp dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_rt.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_rt.py index 8b7a9257526b..08d5e493dec2 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_rt.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_rt.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_rt dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_scl.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_scl.py index 00d0d6eb3769..420e07157c87 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_scl.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_scl.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_scl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_sdgb.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_sdgb.py index 67932fa7aaf8..f48aa45d68b4 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_sdgb.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_sdgb.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_sdgb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_tcl.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_tcl.py index 2df286d39921..c74322718db0 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_tcl.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_tcl.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_tcl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/faostat/2024-03-14/faostat_ti.py b/etl/steps/data/garden/faostat/2024-03-14/faostat_ti.py index 682199d79d93..c7d37e401e50 100644 --- a/etl/steps/data/garden/faostat/2024-03-14/faostat_ti.py +++ b/etl/steps/data/garden/faostat/2024-03-14/faostat_ti.py @@ -1,2 +1,3 @@ """FAOSTAT garden step for faostat_ti dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/garden/gapminder/2023-03-31/population.py b/etl/steps/data/garden/gapminder/2023-03-31/population.py index 755c9819d927..93ee0ed9ecf0 100644 --- a/etl/steps/data/garden/gapminder/2023-03-31/population.py +++ b/etl/steps/data/garden/gapminder/2023-03-31/population.py @@ -4,6 +4,7 @@ More details at https://www.gapminder.org/data/documentation/gd003/. """ + import pandas as pd from owid.catalog import Dataset, Table from structlog import get_logger diff --git a/etl/steps/data/garden/gcp/2023-12-12/global_carbon_budget.py b/etl/steps/data/garden/gcp/2023-12-12/global_carbon_budget.py index 4f946f82ad93..7ec2b8587a72 100644 --- a/etl/steps/data/garden/gcp/2023-12-12/global_carbon_budget.py +++ b/etl/steps/data/garden/gcp/2023-12-12/global_carbon_budget.py @@ -8,6 +8,7 @@ - WorldBank's Income groups, to generate aggregates for different income groups. """ + import numpy as np import owid.catalog.processing as pr from owid.catalog import Dataset, Table @@ -1107,9 +1108,9 @@ def combine_data_and_add_variables( added_variables = tb_co2_with_regions.drop( columns=["country", "year"] + COLUMNS_THAT_MUST_HAVE_DATA ).columns.tolist() - tb_co2_with_regions.loc[ - (tb_co2_with_regions["country"].str.contains(" (GCP)", regex=False)), added_variables - ] = np.nan + tb_co2_with_regions.loc[(tb_co2_with_regions["country"].str.contains(" (GCP)", regex=False)), added_variables] = ( + np.nan + ) # Remove uninformative rows (those that have only data for, say, gdp, but not for variables related to emissions). tb_co2_with_regions = tb_co2_with_regions.dropna(subset=COLUMNS_THAT_MUST_HAVE_DATA, how="all").reset_index( diff --git a/etl/steps/data/garden/gcp/2024-06-20/global_carbon_budget.py b/etl/steps/data/garden/gcp/2024-06-20/global_carbon_budget.py index 082ba1c6d35f..07e55586680e 100644 --- a/etl/steps/data/garden/gcp/2024-06-20/global_carbon_budget.py +++ b/etl/steps/data/garden/gcp/2024-06-20/global_carbon_budget.py @@ -8,6 +8,7 @@ - WorldBank's Income groups, to generate aggregates for different income groups. """ + import numpy as np import owid.catalog.processing as pr from owid.catalog import Dataset, Table @@ -1117,9 +1118,9 @@ def combine_data_and_add_variables( added_variables = tb_co2_with_regions.drop( columns=["country", "year"] + COLUMNS_THAT_MUST_HAVE_DATA ).columns.tolist() - tb_co2_with_regions.loc[ - (tb_co2_with_regions["country"].str.contains(" (GCP)", regex=False)), added_variables - ] = np.nan + tb_co2_with_regions.loc[(tb_co2_with_regions["country"].str.contains(" (GCP)", regex=False)), added_variables] = ( + np.nan + ) # Remove uninformative rows (those that have only data for, say, gdp, but not for variables related to emissions). tb_co2_with_regions = tb_co2_with_regions.dropna(subset=COLUMNS_THAT_MUST_HAVE_DATA, how="all").reset_index( diff --git a/etl/steps/data/garden/gcp/2024-11-13/global_carbon_budget.py b/etl/steps/data/garden/gcp/2024-11-13/global_carbon_budget.py index 449b89cf2ab7..297bc6bdc28b 100644 --- a/etl/steps/data/garden/gcp/2024-11-13/global_carbon_budget.py +++ b/etl/steps/data/garden/gcp/2024-11-13/global_carbon_budget.py @@ -8,6 +8,7 @@ - WorldBank's Income groups, to generate aggregates for different income groups. """ + import numpy as np import owid.catalog.processing as pr from owid.catalog import Dataset, Table @@ -1124,9 +1125,9 @@ def combine_data_and_add_variables( added_variables = tb_co2_with_regions.drop( columns=["country", "year"] + COLUMNS_THAT_MUST_HAVE_DATA ).columns.tolist() - tb_co2_with_regions.loc[ - (tb_co2_with_regions["country"].str.contains(" (GCP)", regex=False)), added_variables - ] = np.nan + tb_co2_with_regions.loc[(tb_co2_with_regions["country"].str.contains(" (GCP)", regex=False)), added_variables] = ( + np.nan + ) # Remove uninformative rows (those that have only data for, say, gdp, but not for variables related to emissions). tb_co2_with_regions = tb_co2_with_regions.dropna(subset=COLUMNS_THAT_MUST_HAVE_DATA, how="all").reset_index( diff --git a/etl/steps/data/garden/gcp/2024-11-21/global_carbon_budget.py b/etl/steps/data/garden/gcp/2024-11-21/global_carbon_budget.py index e453ba09dffc..7f5fdbc8ce8b 100644 --- a/etl/steps/data/garden/gcp/2024-11-21/global_carbon_budget.py +++ b/etl/steps/data/garden/gcp/2024-11-21/global_carbon_budget.py @@ -8,6 +8,7 @@ - WorldBank's Income groups, to generate aggregates for different income groups. """ + import numpy as np import owid.catalog.processing as pr from owid.catalog import Dataset, Table @@ -1125,9 +1126,9 @@ def combine_data_and_add_variables( added_variables = tb_co2_with_regions.drop( columns=["country", "year"] + COLUMNS_THAT_MUST_HAVE_DATA ).columns.tolist() - tb_co2_with_regions.loc[ - (tb_co2_with_regions["country"].str.contains(" (GCP)", regex=False)), added_variables - ] = np.nan + tb_co2_with_regions.loc[(tb_co2_with_regions["country"].str.contains(" (GCP)", regex=False)), added_variables] = ( + np.nan + ) # Remove uninformative rows (those that have only data for, say, gdp, but not for variables related to emissions). tb_co2_with_regions = tb_co2_with_regions.dropna(subset=COLUMNS_THAT_MUST_HAVE_DATA, how="all").reset_index( diff --git a/etl/steps/data/garden/happiness/2023-03-20/happiness.py b/etl/steps/data/garden/happiness/2023-03-20/happiness.py index 3a1c75843de7..e50954223003 100644 --- a/etl/steps/data/garden/happiness/2023-03-20/happiness.py +++ b/etl/steps/data/garden/happiness/2023-03-20/happiness.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import pandas as pd from owid.catalog import Dataset, Table from structlog import get_logger diff --git a/etl/steps/data/garden/health/2023-04-18/shared.py b/etl/steps/data/garden/health/2023-04-18/shared.py index 2701aba13889..dbcd8f2b8871 100644 --- a/etl/steps/data/garden/health/2023-04-18/shared.py +++ b/etl/steps/data/garden/health/2023-04-18/shared.py @@ -9,7 +9,6 @@ """ - MAPPING_GENDER_VALUES = { 1: "male", 2: "female", diff --git a/etl/steps/data/garden/health/2023-04-25/shared.py b/etl/steps/data/garden/health/2023-04-25/shared.py index 389238397900..31f3e0fe7e7b 100644 --- a/etl/steps/data/garden/health/2023-04-25/shared.py +++ b/etl/steps/data/garden/health/2023-04-25/shared.py @@ -3,7 +3,6 @@ The mappings are created from the metadata dictionary provided by the source (a tab in the excel sheet) """ - # Gender ID mappings MAPPING_GENDER_VALUES = { 1: "male", diff --git a/etl/steps/data/garden/health/2023-08-16/deaths_karlinsky.py b/etl/steps/data/garden/health/2023-08-16/deaths_karlinsky.py index 3d55a0d04abd..b95cda057c47 100644 --- a/etl/steps/data/garden/health/2023-08-16/deaths_karlinsky.py +++ b/etl/steps/data/garden/health/2023-08-16/deaths_karlinsky.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from owid.catalog import Table from etl.data_helpers import geo diff --git a/etl/steps/data/garden/health/2024-03-21/gmh_countdown.py b/etl/steps/data/garden/health/2024-03-21/gmh_countdown.py index 6978fe4edbab..651b4630a033 100644 --- a/etl/steps/data/garden/health/2024-03-21/gmh_countdown.py +++ b/etl/steps/data/garden/health/2024-03-21/gmh_countdown.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from etl.data_helpers import geo from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/health/2024-04-12/polio_free_countries.py b/etl/steps/data/garden/health/2024-04-12/polio_free_countries.py index 24c21ea0d202..977c62ef0524 100644 --- a/etl/steps/data/garden/health/2024-04-12/polio_free_countries.py +++ b/etl/steps/data/garden/health/2024-04-12/polio_free_countries.py @@ -97,9 +97,9 @@ def add_polio_region_certification( # tb_who_region["status"] = "WHO Region certified polio-free" tb = pr.merge(tb, tb_who_region, on=["country", "year"], how="outer") # Set the status for all relevant countries and years - tb.loc[ - tb["country"].isin(country_list) & (tb["year"] >= year_certified_int), "status" - ] = "WHO Region certified polio-free" + tb.loc[tb["country"].isin(country_list) & (tb["year"] >= year_certified_int), "status"] = ( + "WHO Region certified polio-free" + ) return tb diff --git a/etl/steps/data/garden/hmd/2023-09-19/hmd.py b/etl/steps/data/garden/hmd/2023-09-19/hmd.py index bd24d10b6d9b..14577b7a8940 100644 --- a/etl/steps/data/garden/hmd/2023-09-19/hmd.py +++ b/etl/steps/data/garden/hmd/2023-09-19/hmd.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from typing import List, cast import numpy as np diff --git a/etl/steps/data/garden/hyde/2024-01-02/all_indicators.py b/etl/steps/data/garden/hyde/2024-01-02/all_indicators.py index 7b6f521f7265..60ccc6d03db5 100644 --- a/etl/steps/data/garden/hyde/2024-01-02/all_indicators.py +++ b/etl/steps/data/garden/hyde/2024-01-02/all_indicators.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from etl.data_helpers import geo from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/iea/2024-07-04/critical_minerals.py b/etl/steps/data/garden/iea/2024-07-04/critical_minerals.py index e3e656b7186b..1efba2e7d933 100644 --- a/etl/steps/data/garden/iea/2024-07-04/critical_minerals.py +++ b/etl/steps/data/garden/iea/2024-07-04/critical_minerals.py @@ -523,12 +523,12 @@ def harmonize_minerals_and_processes(tb_demand: Table, tb_supply: Table) -> Tupl # * For graphite, supply data is divided in "mining (natural)" and "battery grade". For consistency, we can rename them "mining" and "refining" and add a footnote. tb_supply = tb_supply.astype({"process": "string", "mineral": "string"}).copy() tb_supply.loc[(tb_supply["mineral"] == "Lithium") & (tb_supply["process"] == "Chemicals"), "process"] = "Refining" - tb_supply.loc[ - (tb_supply["mineral"] == "Graphite") & (tb_supply["process"] == "Battery grade"), "process" - ] = "Refining" - tb_supply.loc[ - (tb_supply["mineral"] == "Graphite") & (tb_supply["process"] == "Mining (natural)"), "process" - ] = "Mining" + tb_supply.loc[(tb_supply["mineral"] == "Graphite") & (tb_supply["process"] == "Battery grade"), "process"] = ( + "Refining" + ) + tb_supply.loc[(tb_supply["mineral"] == "Graphite") & (tb_supply["process"] == "Mining (natural)"), "process"] = ( + "Mining" + ) # Rename a few things, for consistency with the minerals explorer. for table in [tb_demand, tb_supply]: diff --git a/etl/steps/data/garden/ihme_gbd/2023-06-14/prevalence_dalys_world.py b/etl/steps/data/garden/ihme_gbd/2023-06-14/prevalence_dalys_world.py index 5c3ec2b8b5de..0df36d230f3c 100644 --- a/etl/steps/data/garden/ihme_gbd/2023-06-14/prevalence_dalys_world.py +++ b/etl/steps/data/garden/ihme_gbd/2023-06-14/prevalence_dalys_world.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from typing import cast import owid.catalog.processing as pr diff --git a/etl/steps/data/garden/ihme_gbd/2024-05-20/gbd_child_mortality.py b/etl/steps/data/garden/ihme_gbd/2024-05-20/gbd_child_mortality.py index 4b44b54ad393..5d906e2d8714 100644 --- a/etl/steps/data/garden/ihme_gbd/2024-05-20/gbd_child_mortality.py +++ b/etl/steps/data/garden/ihme_gbd/2024-05-20/gbd_child_mortality.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from owid.catalog import Table from owid.catalog import processing as pr diff --git a/etl/steps/data/garden/irena/2023-06-26/renewable_electricity_capacity.py b/etl/steps/data/garden/irena/2023-06-26/renewable_electricity_capacity.py index c5d90da8de34..ed2c4dfacb9a 100644 --- a/etl/steps/data/garden/irena/2023-06-26/renewable_electricity_capacity.py +++ b/etl/steps/data/garden/irena/2023-06-26/renewable_electricity_capacity.py @@ -1,6 +1,4 @@ -"""Create a dataset of renewable electricity capacity using IRENA's Renewable Electricity Capacity and Generation. - -""" +"""Create a dataset of renewable electricity capacity using IRENA's Renewable Electricity Capacity and Generation.""" from typing import List diff --git a/etl/steps/data/garden/irena/2023-12-12/renewable_electricity_capacity.py b/etl/steps/data/garden/irena/2023-12-12/renewable_electricity_capacity.py index eb8997276af3..e45814b4d28d 100644 --- a/etl/steps/data/garden/irena/2023-12-12/renewable_electricity_capacity.py +++ b/etl/steps/data/garden/irena/2023-12-12/renewable_electricity_capacity.py @@ -1,6 +1,5 @@ -"""Create a dataset of renewable electricity capacity using IRENA's Renewable Electricity Capacity and Generation. +"""Create a dataset of renewable electricity capacity using IRENA's Renewable Electricity Capacity and Generation.""" -""" from etl.data_helpers import geo from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/irena/2024-11-01/renewable_capacity_statistics.py b/etl/steps/data/garden/irena/2024-11-01/renewable_capacity_statistics.py index 6884b7c3eb70..6ba15bb6246e 100644 --- a/etl/steps/data/garden/irena/2024-11-01/renewable_capacity_statistics.py +++ b/etl/steps/data/garden/irena/2024-11-01/renewable_capacity_statistics.py @@ -66,6 +66,7 @@ Yes|On-grid |Wind |Onshore wind |Onshore wind energy -> On-grid |Onshore wind """ + import owid.catalog.processing as pr from owid.catalog import Table from owid.datautils.dataframes import map_series diff --git a/etl/steps/data/garden/lgbt_rights/2024-06-03/equaldex.py b/etl/steps/data/garden/lgbt_rights/2024-06-03/equaldex.py index 9a18be819ece..2d593289bf64 100644 --- a/etl/steps/data/garden/lgbt_rights/2024-06-03/equaldex.py +++ b/etl/steps/data/garden/lgbt_rights/2024-06-03/equaldex.py @@ -181,9 +181,9 @@ def run(dest_dir: str) -> None: tb = geo.harmonize_countries(df=tb, countries_file=paths.country_mapping_path) # NOTE: Correcting data for France in changing_gender to "Legal, surgery required" between 1992 and 2018 - tb.loc[ - (tb["country"] == "France") & (tb["year"] >= 1992) & (tb["year"] < 2018), "changing_gender" - ] = "Legal, surgery required" + tb.loc[(tb["country"] == "France") & (tb["year"] >= 1992) & (tb["year"] < 2018), "changing_gender"] = ( + "Legal, surgery required" + ) # Select only sovereign countries tb = select_only_sovereign_countries(tb=tb, tb_sovereign_countries=tb_sovereign_countries) diff --git a/etl/steps/data/garden/lgbt_rights/2024-06-11/criminalization_mignot.py b/etl/steps/data/garden/lgbt_rights/2024-06-11/criminalization_mignot.py index 283849a888fa..964b5290ae85 100644 --- a/etl/steps/data/garden/lgbt_rights/2024-06-11/criminalization_mignot.py +++ b/etl/steps/data/garden/lgbt_rights/2024-06-11/criminalization_mignot.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from typing import List import owid.catalog.processing as pr diff --git a/etl/steps/data/garden/malnutrition/2022-10-18/malnutrition.py b/etl/steps/data/garden/malnutrition/2022-10-18/malnutrition.py index 16a3240423ce..0038b585bfce 100644 --- a/etl/steps/data/garden/malnutrition/2022-10-18/malnutrition.py +++ b/etl/steps/data/garden/malnutrition/2022-10-18/malnutrition.py @@ -1,5 +1,5 @@ -"""Combine WDI's prevalence of stunting, wasting and underweight in children under five. Convert this into absolute numbers using UNWPP population data. -""" +"""Combine WDI's prevalence of stunting, wasting and underweight in children under five. Convert this into absolute numbers using UNWPP population data.""" + from owid import catalog from shared import CURRENT_DIR diff --git a/etl/steps/data/garden/minerals/2024-07-15/minerals.py b/etl/steps/data/garden/minerals/2024-07-15/minerals.py index 60af1fc0c1c4..9b17a5b2274a 100644 --- a/etl/steps/data/garden/minerals/2024-07-15/minerals.py +++ b/etl/steps/data/garden/minerals/2024-07-15/minerals.py @@ -17,6 +17,7 @@ NOTE: We allow this where one or a few BGS data points are significantly larger than USGS (e.g. Lead). But we do not do this if many points in BGS data are consistently larger than USGS (e.g. Graphite). """ + import warnings from typing import List, Optional, Tuple @@ -589,9 +590,9 @@ def combine_data( tb.loc[ (tb["country"] != "World") & (tb["year"].isin([1997, 2006, 2008, 2010, 2011])), "production|Barite|Mine|tonnes" ] = None - tb.loc[ - (tb["country"] != "World") & (tb["year"].isin([1972, 1973, 1975])), "production|Fluorspar|Mine|tonnes" - ] = None + tb.loc[(tb["country"] != "World") & (tb["year"].isin([1972, 1973, 1975])), "production|Fluorspar|Mine|tonnes"] = ( + None + ) tb.loc[(tb["country"] != "World") & (tb["year"] < 1975), "production|Gold|Mine|tonnes"] = None tb.loc[ (tb["country"] != "World") & (tb["year"].isin([2014])), diff --git a/etl/steps/data/garden/nasa/2024-05-31/ozone_hole_area.py b/etl/steps/data/garden/nasa/2024-05-31/ozone_hole_area.py index 577340053520..4648fea89aea 100644 --- a/etl/steps/data/garden/nasa/2024-05-31/ozone_hole_area.py +++ b/etl/steps/data/garden/nasa/2024-05-31/ozone_hole_area.py @@ -3,7 +3,6 @@ This step adds a new column: "country" with the value "World", since the data in this dataset is only for the world.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/garden/oecd/2023-09-21/plastic_use_projections.py b/etl/steps/data/garden/oecd/2023-09-21/plastic_use_projections.py index a74596a1199e..f3d121730548 100644 --- a/etl/steps/data/garden/oecd/2023-09-21/plastic_use_projections.py +++ b/etl/steps/data/garden/oecd/2023-09-21/plastic_use_projections.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import owid.catalog.processing as pr from etl.data_helpers import geo diff --git a/etl/steps/data/garden/oecd/2023-09-21/plastic_waste_2019.py b/etl/steps/data/garden/oecd/2023-09-21/plastic_waste_2019.py index 71853c2608f2..3b0745fdfe05 100644 --- a/etl/steps/data/garden/oecd/2023-09-21/plastic_waste_2019.py +++ b/etl/steps/data/garden/oecd/2023-09-21/plastic_waste_2019.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import owid.catalog.processing as pr from etl.data_helpers import geo diff --git a/etl/steps/data/garden/oecd/2023-09-21/plastic_waste_2019_by_polymer.py b/etl/steps/data/garden/oecd/2023-09-21/plastic_waste_2019_by_polymer.py index d13772314b83..bb6e2f6a7759 100644 --- a/etl/steps/data/garden/oecd/2023-09-21/plastic_waste_2019_by_polymer.py +++ b/etl/steps/data/garden/oecd/2023-09-21/plastic_waste_2019_by_polymer.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import owid.catalog.processing as pr from etl.data_helpers import geo diff --git a/etl/steps/data/garden/owid/latest/key_indicators/utils.py b/etl/steps/data/garden/owid/latest/key_indicators/utils.py index 90b4c99935fd..d265284a930d 100644 --- a/etl/steps/data/garden/owid/latest/key_indicators/utils.py +++ b/etl/steps/data/garden/owid/latest/key_indicators/utils.py @@ -1,4 +1,5 @@ """Utils for key_indicators module.""" + import pandas as pd from etl.data_helpers import geo diff --git a/etl/steps/data/garden/papers/2023-07-10/farmer_lafond_2016.py b/etl/steps/data/garden/papers/2023-07-10/farmer_lafond_2016.py index d090e85c25eb..95a53109c601 100644 --- a/etl/steps/data/garden/papers/2023-07-10/farmer_lafond_2016.py +++ b/etl/steps/data/garden/papers/2023-07-10/farmer_lafond_2016.py @@ -1,6 +1,4 @@ -"""Harmonize data from Farmer & Lafond (2016) paper on the evolution of the cost of different technologies. - -""" +"""Harmonize data from Farmer & Lafond (2016) paper on the evolution of the cost of different technologies.""" from owid.catalog import Dataset diff --git a/etl/steps/data/garden/papers/2023-07-10/nemet_2009.py b/etl/steps/data/garden/papers/2023-07-10/nemet_2009.py index 3d53d514a777..7db2e8f937cb 100644 --- a/etl/steps/data/garden/papers/2023-07-10/nemet_2009.py +++ b/etl/steps/data/garden/papers/2023-07-10/nemet_2009.py @@ -1,6 +1,4 @@ -"""Harmonize data from Nemet (2009) paper on cost and capacity of photovoltaic energy. - -""" +"""Harmonize data from Nemet (2009) paper on cost and capacity of photovoltaic energy.""" from owid.catalog import Dataset diff --git a/etl/steps/data/garden/papers/2023-12-12/farmer_lafond_2016.py b/etl/steps/data/garden/papers/2023-12-12/farmer_lafond_2016.py index 3cfe424be918..83c389261580 100644 --- a/etl/steps/data/garden/papers/2023-12-12/farmer_lafond_2016.py +++ b/etl/steps/data/garden/papers/2023-12-12/farmer_lafond_2016.py @@ -1,6 +1,4 @@ -"""Harmonize data from Farmer & Lafond (2016) paper on the evolution of the cost of different technologies. - -""" +"""Harmonize data from Farmer & Lafond (2016) paper on the evolution of the cost of different technologies.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/papers/2023-12-12/nemet_2009.py b/etl/steps/data/garden/papers/2023-12-12/nemet_2009.py index 78d22a091130..7a475b4d6fd1 100644 --- a/etl/steps/data/garden/papers/2023-12-12/nemet_2009.py +++ b/etl/steps/data/garden/papers/2023-12-12/nemet_2009.py @@ -1,6 +1,4 @@ -"""Harmonize data from Nemet (2009) paper on cost and capacity of photovoltaic energy. - -""" +"""Harmonize data from Nemet (2009) paper on cost and capacity of photovoltaic energy.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/plastic_waste/2023-09-26/geyer_2017.py b/etl/steps/data/garden/plastic_waste/2023-09-26/geyer_2017.py index edd8db37ee30..daabd313501e 100644 --- a/etl/steps/data/garden/plastic_waste/2023-09-26/geyer_2017.py +++ b/etl/steps/data/garden/plastic_waste/2023-09-26/geyer_2017.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import owid.catalog.processing as pr import pandas as pd diff --git a/etl/steps/data/garden/rff/2023-10-19/emissions_weighted_carbon_price.py b/etl/steps/data/garden/rff/2023-10-19/emissions_weighted_carbon_price.py index 547aeeb49e24..0b53791ae39f 100644 --- a/etl/steps/data/garden/rff/2023-10-19/emissions_weighted_carbon_price.py +++ b/etl/steps/data/garden/rff/2023-10-19/emissions_weighted_carbon_price.py @@ -1,6 +1,4 @@ -"""Combine dataset on coverage of emissions with the average prices of emissions covered by an ETS or a carbon tax. - -""" +"""Combine dataset on coverage of emissions with the average prices of emissions covered by an ETS or a carbon tax.""" from typing import Set diff --git a/etl/steps/data/garden/rff/2023-10-19/world_carbon_pricing.py b/etl/steps/data/garden/rff/2023-10-19/world_carbon_pricing.py index eb91e913defc..7ebd21f510ac 100644 --- a/etl/steps/data/garden/rff/2023-10-19/world_carbon_pricing.py +++ b/etl/steps/data/garden/rff/2023-10-19/world_carbon_pricing.py @@ -1,4 +1,5 @@ """Create a garden dataset from the meadow dataset.""" + from typing import Dict, List, cast from owid.catalog import Table, Variable diff --git a/etl/steps/data/garden/shift/2023-07-10/energy_production_from_fossil_fuels.py b/etl/steps/data/garden/shift/2023-07-10/energy_production_from_fossil_fuels.py index 305dd587e9d4..749ca76cee23 100644 --- a/etl/steps/data/garden/shift/2023-07-10/energy_production_from_fossil_fuels.py +++ b/etl/steps/data/garden/shift/2023-07-10/energy_production_from_fossil_fuels.py @@ -1,6 +1,4 @@ -"""Garden step for Shift data on energy production from fossil fuels. - -""" +"""Garden step for Shift data on energy production from fossil fuels.""" from typing import Dict, List, Optional, Union diff --git a/etl/steps/data/garden/shift/2023-12-12/energy_production_from_fossil_fuels.py b/etl/steps/data/garden/shift/2023-12-12/energy_production_from_fossil_fuels.py index 1fd2e4a16887..d185a0076040 100644 --- a/etl/steps/data/garden/shift/2023-12-12/energy_production_from_fossil_fuels.py +++ b/etl/steps/data/garden/shift/2023-12-12/energy_production_from_fossil_fuels.py @@ -1,6 +1,5 @@ -"""Garden step for Shift data on energy production from fossil fuels. +"""Garden step for Shift data on energy production from fossil fuels.""" -""" import owid.catalog.processing as pr from owid.catalog import Table from structlog import get_logger diff --git a/etl/steps/data/garden/survey/2023-08-04/latinobarometro_trust.py b/etl/steps/data/garden/survey/2023-08-04/latinobarometro_trust.py index f196269ff5df..f814f424cfec 100644 --- a/etl/steps/data/garden/survey/2023-08-04/latinobarometro_trust.py +++ b/etl/steps/data/garden/survey/2023-08-04/latinobarometro_trust.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from owid.catalog import Table from etl.data_helpers import geo diff --git a/etl/steps/data/garden/survey/2023-08-07/afrobarometer_trust.py b/etl/steps/data/garden/survey/2023-08-07/afrobarometer_trust.py index 88e746f1012f..3c8b916a5f2f 100644 --- a/etl/steps/data/garden/survey/2023-08-07/afrobarometer_trust.py +++ b/etl/steps/data/garden/survey/2023-08-07/afrobarometer_trust.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from owid.catalog import Table from etl.data_helpers import geo diff --git a/etl/steps/data/garden/tuberculosis/2023-11-27/drug_resistance_surveillance.py b/etl/steps/data/garden/tuberculosis/2023-11-27/drug_resistance_surveillance.py index 8a50d450ee0c..57f2dd9a347e 100644 --- a/etl/steps/data/garden/tuberculosis/2023-11-27/drug_resistance_surveillance.py +++ b/etl/steps/data/garden/tuberculosis/2023-11-27/drug_resistance_surveillance.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import numpy as np from owid.catalog import Table from shared import add_variable_description_from_producer diff --git a/etl/steps/data/garden/tuberculosis/2023-11-27/notifications.py b/etl/steps/data/garden/tuberculosis/2023-11-27/notifications.py index cb01a28182b3..11eecd1d8e62 100644 --- a/etl/steps/data/garden/tuberculosis/2023-11-27/notifications.py +++ b/etl/steps/data/garden/tuberculosis/2023-11-27/notifications.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from owid.catalog import Table from owid.catalog import processing as pr from shared import add_variable_description_from_producer, removing_old_variables diff --git a/etl/steps/data/garden/tuberculosis/2023-11-27/outcomes.py b/etl/steps/data/garden/tuberculosis/2023-11-27/outcomes.py index 5c4ec33298ad..3d8cd902f24e 100644 --- a/etl/steps/data/garden/tuberculosis/2023-11-27/outcomes.py +++ b/etl/steps/data/garden/tuberculosis/2023-11-27/outcomes.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from shared import add_variable_description_from_producer, removing_old_variables from etl.data_helpers import geo diff --git a/etl/steps/data/garden/tuberculosis/2023-11-27/unhlm_commitments.py b/etl/steps/data/garden/tuberculosis/2023-11-27/unhlm_commitments.py index 020b033f7838..28eb5b1d734d 100644 --- a/etl/steps/data/garden/tuberculosis/2023-11-27/unhlm_commitments.py +++ b/etl/steps/data/garden/tuberculosis/2023-11-27/unhlm_commitments.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from owid.catalog import Table from shared import add_variable_description_from_producer diff --git a/etl/steps/data/garden/un/2022-07-11/un_wpp/deaths.py b/etl/steps/data/garden/un/2022-07-11/un_wpp/deaths.py index 9d69fdf28545..0a22b53dd400 100644 --- a/etl/steps/data/garden/un/2022-07-11/un_wpp/deaths.py +++ b/etl/steps/data/garden/un/2022-07-11/un_wpp/deaths.py @@ -1,4 +1,5 @@ """Deaths table""" + from typing import Any, Dict import pandas as pd diff --git a/etl/steps/data/garden/un/2022-07-11/un_wpp/demographics.py b/etl/steps/data/garden/un/2022-07-11/un_wpp/demographics.py index e0c7ec933bc7..57472b65a427 100644 --- a/etl/steps/data/garden/un/2022-07-11/un_wpp/demographics.py +++ b/etl/steps/data/garden/un/2022-07-11/un_wpp/demographics.py @@ -1,4 +1,5 @@ """Demographics table.""" + from typing import Any, Dict from owid.catalog import Table diff --git a/etl/steps/data/garden/un/2022-07-11/un_wpp/dep_ratio.py b/etl/steps/data/garden/un/2022-07-11/un_wpp/dep_ratio.py index 05ff417c7140..4e9f01c7dda3 100644 --- a/etl/steps/data/garden/un/2022-07-11/un_wpp/dep_ratio.py +++ b/etl/steps/data/garden/un/2022-07-11/un_wpp/dep_ratio.py @@ -1,4 +1,5 @@ """Depenndency ratio table""" + from owid.catalog import Table from .dtypes import optimize_dtypes diff --git a/etl/steps/data/garden/un/2022-07-11/un_wpp/fertility.py b/etl/steps/data/garden/un/2022-07-11/un_wpp/fertility.py index a68281e3f603..f2a79b934935 100644 --- a/etl/steps/data/garden/un/2022-07-11/un_wpp/fertility.py +++ b/etl/steps/data/garden/un/2022-07-11/un_wpp/fertility.py @@ -1,4 +1,5 @@ """Fertility table.""" + from typing import Any, Dict, List from owid.catalog import Table diff --git a/etl/steps/data/garden/un/2022-07-11/un_wpp/population.py b/etl/steps/data/garden/un/2022-07-11/un_wpp/population.py index f046595af362..cdc8122967f1 100644 --- a/etl/steps/data/garden/un/2022-07-11/un_wpp/population.py +++ b/etl/steps/data/garden/un/2022-07-11/un_wpp/population.py @@ -1,4 +1,5 @@ """Population table.""" + from typing import Any, Dict, List, Optional, Tuple import numpy as np diff --git a/etl/steps/data/garden/un/2023-08-16/igme.py b/etl/steps/data/garden/un/2023-08-16/igme.py index 1cee5cdc8a97..054652e972d0 100644 --- a/etl/steps/data/garden/un/2023-08-16/igme.py +++ b/etl/steps/data/garden/un/2023-08-16/igme.py @@ -383,13 +383,13 @@ def fix_sub_saharan_africa(tb: Table) -> Table: """ tb["country"] = tb["country"].astype(str) - tb.loc[ - (tb["country"] == "Sub-Saharan Africa") & (tb["regional_group"] == "UNICEF"), "country" - ] = "Sub-Saharan Africa (UNICEF)" + tb.loc[(tb["country"] == "Sub-Saharan Africa") & (tb["regional_group"] == "UNICEF"), "country"] = ( + "Sub-Saharan Africa (UNICEF)" + ) - tb.loc[ - (tb["country"] == "Sub-Saharan Africa") & (tb["regional_group"] == "SDG"), "country" - ] = "Sub-Saharan Africa (SDG)" + tb.loc[(tb["country"] == "Sub-Saharan Africa") & (tb["regional_group"] == "SDG"), "country"] = ( + "Sub-Saharan Africa (SDG)" + ) return tb diff --git a/etl/steps/data/garden/un/2023-08-29/long_run_child_mortality.py b/etl/steps/data/garden/un/2023-08-29/long_run_child_mortality.py index 86f364593e38..d88afde92294 100644 --- a/etl/steps/data/garden/un/2023-08-29/long_run_child_mortality.py +++ b/etl/steps/data/garden/un/2023-08-29/long_run_child_mortality.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import owid.catalog.processing as pr from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/un/2024-01-17/urban_agglomerations_definition_count.py b/etl/steps/data/garden/un/2024-01-17/urban_agglomerations_definition_count.py index 66c12efbfd08..324e0bd4783f 100644 --- a/etl/steps/data/garden/un/2024-01-17/urban_agglomerations_definition_count.py +++ b/etl/steps/data/garden/un/2024-01-17/urban_agglomerations_definition_count.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from owid.catalog import Table from structlog import get_logger diff --git a/etl/steps/data/garden/un/2024-02-14/sdgs_urbanization.py b/etl/steps/data/garden/un/2024-02-14/sdgs_urbanization.py index 7851d54e94b4..3c602479aa32 100644 --- a/etl/steps/data/garden/un/2024-02-14/sdgs_urbanization.py +++ b/etl/steps/data/garden/un/2024-02-14/sdgs_urbanization.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from etl.data_helpers import geo from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/garden/un/2024-07-25/resettlement.py b/etl/steps/data/garden/un/2024-07-25/resettlement.py index 0e9ce9031860..51959cfd58eb 100644 --- a/etl/steps/data/garden/un/2024-07-25/resettlement.py +++ b/etl/steps/data/garden/un/2024-07-25/resettlement.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import pandas as pd from owid.catalog import processing as pr diff --git a/etl/steps/data/garden/un/2024-09-11/igme.py b/etl/steps/data/garden/un/2024-09-11/igme.py index b74d410f6d2a..27450198a6dc 100644 --- a/etl/steps/data/garden/un/2024-09-11/igme.py +++ b/etl/steps/data/garden/un/2024-09-11/igme.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from math import trunc from typing import List diff --git a/etl/steps/data/garden/un/2024-09-16/long_run_child_mortality.py b/etl/steps/data/garden/un/2024-09-16/long_run_child_mortality.py index 52e841fe4a26..778ebea754c2 100644 --- a/etl/steps/data/garden/un/2024-09-16/long_run_child_mortality.py +++ b/etl/steps/data/garden/un/2024-09-16/long_run_child_mortality.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import owid.catalog.processing as pr from owid.catalog import Table diff --git a/etl/steps/data/garden/unep/2023-01-03/renewable_energy_investments.py b/etl/steps/data/garden/unep/2023-01-03/renewable_energy_investments.py index ad1d80f8d94e..f3083aacb432 100644 --- a/etl/steps/data/garden/unep/2023-01-03/renewable_energy_investments.py +++ b/etl/steps/data/garden/unep/2023-01-03/renewable_energy_investments.py @@ -1,6 +1,4 @@ -"""Create a garden dataset on renewable energy investments based on UNEP data. - -""" +"""Create a garden dataset on renewable energy investments based on UNEP data.""" from owid import catalog diff --git a/etl/steps/data/garden/unep/2023-12-12/renewable_energy_investments.py b/etl/steps/data/garden/unep/2023-12-12/renewable_energy_investments.py index 49013e474c3e..05bfe3ed91da 100644 --- a/etl/steps/data/garden/unep/2023-12-12/renewable_energy_investments.py +++ b/etl/steps/data/garden/unep/2023-12-12/renewable_energy_investments.py @@ -1,6 +1,5 @@ -"""Create a garden dataset on renewable energy investments based on UNEP data. +"""Create a garden dataset on renewable energy investments based on UNEP data.""" -""" from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions. diff --git a/etl/steps/data/garden/unesco/2024-06-16/education_opri.py b/etl/steps/data/garden/unesco/2024-06-16/education_opri.py index d87f1d7bc295..08cd7847bea8 100644 --- a/etl/steps/data/garden/unesco/2024-06-16/education_opri.py +++ b/etl/steps/data/garden/unesco/2024-06-16/education_opri.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from owid.catalog import VariableMeta from etl.data_helpers import geo diff --git a/etl/steps/data/garden/unesco/2024-06-25/education_sdgs.py b/etl/steps/data/garden/unesco/2024-06-25/education_sdgs.py index 9d2e2d8447fc..cde00b996f20 100644 --- a/etl/steps/data/garden/unesco/2024-06-25/education_sdgs.py +++ b/etl/steps/data/garden/unesco/2024-06-25/education_sdgs.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + from owid.catalog import VariableMeta from tqdm import tqdm diff --git a/etl/steps/data/garden/urbanization/2024-12-02/ghsl_urban_centers.py b/etl/steps/data/garden/urbanization/2024-12-02/ghsl_urban_centers.py index 7107170111a0..13558b0f74cd 100644 --- a/etl/steps/data/garden/urbanization/2024-12-02/ghsl_urban_centers.py +++ b/etl/steps/data/garden/urbanization/2024-12-02/ghsl_urban_centers.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import owid.catalog.processing as pr from etl.data_helpers import geo diff --git a/etl/steps/data/garden/usgs/2024-07-15/mineral_commodity_summaries.py b/etl/steps/data/garden/usgs/2024-07-15/mineral_commodity_summaries.py index 75a4dbf560ea..fb6f70e036c0 100644 --- a/etl/steps/data/garden/usgs/2024-07-15/mineral_commodity_summaries.py +++ b/etl/steps/data/garden/usgs/2024-07-15/mineral_commodity_summaries.py @@ -3,6 +3,7 @@ All these things are done in a single script because the processes are intertwined. """ + import tempfile import xml.etree.ElementTree as ET from pathlib import Path @@ -1136,9 +1137,9 @@ def run(dest_dir: str) -> None: # Asbestos mine production in Kazakhstan 2020, data says "27400", but in BGS, it is "227400", which is much more # reasonable, looking at prior and posterior data. So it looks like an error in the data. Remove that point. - tb_flat.loc[ - (tb_flat["country"] == "Kazakhstan") & (tb_flat["year"] == 2020), "production|Asbestos|Mine|tonnes" - ] = None + tb_flat.loc[(tb_flat["country"] == "Kazakhstan") & (tb_flat["year"] == 2020), "production|Asbestos|Mine|tonnes"] = ( + None + ) #################################################################################################################### # Format tables conveniently. diff --git a/etl/steps/data/garden/war/2023-07-21/prio_v31.py b/etl/steps/data/garden/war/2023-07-21/prio_v31.py index b211892dade1..d5e38c60aeeb 100644 --- a/etl/steps/data/garden/war/2023-07-21/prio_v31.py +++ b/etl/steps/data/garden/war/2023-07-21/prio_v31.py @@ -21,6 +21,7 @@ 5 = Americas (GWNo: 2-199). - Data for incompatibilities in Oceania are included in region Asia (source decision). Therefore, we have changed the region's name from "Asia" to "Asia and Oceania". """ + from typing import cast import numpy as np diff --git a/etl/steps/data/garden/war/2023-09-21/cow_mid.py b/etl/steps/data/garden/war/2023-09-21/cow_mid.py index 7609d2f5ad2b..8497c9a0cf4b 100644 --- a/etl/steps/data/garden/war/2023-09-21/cow_mid.py +++ b/etl/steps/data/garden/war/2023-09-21/cow_mid.py @@ -36,7 +36,6 @@ Asia and Oceania: 700-999 """ - import numpy as np import owid.catalog.processing as pr import pandas as pd diff --git a/etl/steps/data/garden/war/2023-09-21/prio_v31.py b/etl/steps/data/garden/war/2023-09-21/prio_v31.py index 48c28fed0b17..f75d034eb6ef 100644 --- a/etl/steps/data/garden/war/2023-09-21/prio_v31.py +++ b/etl/steps/data/garden/war/2023-09-21/prio_v31.py @@ -22,6 +22,7 @@ 5 = Americas (GWNo: 2-199) - The source includes data for incompatibilities in Oceania in region Asia. Therefore, we have changed the region's name from "Asia" to "Asia and Oceania". """ + import numpy as np import owid.catalog.processing as pr import pandas as pd diff --git a/etl/steps/data/garden/wash/2024-01-06/who.py b/etl/steps/data/garden/wash/2024-01-06/who.py index 69911d31c01f..ba593e877733 100644 --- a/etl/steps/data/garden/wash/2024-01-06/who.py +++ b/etl/steps/data/garden/wash/2024-01-06/who.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from owid.catalog import Table from owid.catalog import processing as pr from structlog import get_logger diff --git a/etl/steps/data/garden/wb/2022-10-29/wb_gender/__init__.py b/etl/steps/data/garden/wb/2022-10-29/wb_gender/__init__.py index 7d9a8c53fad2..d59e92173f24 100644 --- a/etl/steps/data/garden/wb/2022-10-29/wb_gender/__init__.py +++ b/etl/steps/data/garden/wb/2022-10-29/wb_gender/__init__.py @@ -1,4 +1,5 @@ """WB Gender Garden step.""" + from pathlib import Path from typing import Union diff --git a/etl/steps/data/garden/wb/2023-11-21/worldwide_bureaucracy_indicators.py b/etl/steps/data/garden/wb/2023-11-21/worldwide_bureaucracy_indicators.py index 4b911ba3fb20..0a3b6e6f0567 100644 --- a/etl/steps/data/garden/wb/2023-11-21/worldwide_bureaucracy_indicators.py +++ b/etl/steps/data/garden/wb/2023-11-21/worldwide_bureaucracy_indicators.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from owid.catalog import Table from etl.data_helpers import geo diff --git a/etl/steps/data/garden/wb/2024-12-03/poverty_projections.py b/etl/steps/data/garden/wb/2024-12-03/poverty_projections.py index fa62ff977306..19eeb91bffcf 100644 --- a/etl/steps/data/garden/wb/2024-12-03/poverty_projections.py +++ b/etl/steps/data/garden/wb/2024-12-03/poverty_projections.py @@ -99,14 +99,15 @@ def connect_estimates_with_projections(tb: Table) -> Table: for indicator in INDICATOR_COLUMNS: for scenario in SCENARIOS.keys(): if scenario != "historical": - tb.loc[ - tb.index.get_level_values("year") == LATEST_YEAR_WITHOUT_PROJECTIONS, (indicator, scenario) - ] = tb.loc[ - tb.index.get_level_values("year") == LATEST_YEAR_WITHOUT_PROJECTIONS, (indicator, scenario) - ].combine_first( + tb.loc[tb.index.get_level_values("year") == LATEST_YEAR_WITHOUT_PROJECTIONS, (indicator, scenario)] = ( tb.loc[ - tb.index.get_level_values("year") == LATEST_YEAR_WITHOUT_PROJECTIONS, (indicator, "historical") - ] + tb.index.get_level_values("year") == LATEST_YEAR_WITHOUT_PROJECTIONS, (indicator, scenario) + ].combine_first( + tb.loc[ + tb.index.get_level_values("year") == LATEST_YEAR_WITHOUT_PROJECTIONS, + (indicator, "historical"), + ] + ) ) # Make table long again, by creating a scenario column diff --git a/etl/steps/data/garden/who/2023-04-03/flu_vaccine_policy.py b/etl/steps/data/garden/who/2023-04-03/flu_vaccine_policy.py index e176b91308c2..a4e3124db2e4 100644 --- a/etl/steps/data/garden/who/2023-04-03/flu_vaccine_policy.py +++ b/etl/steps/data/garden/who/2023-04-03/flu_vaccine_policy.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import numpy as np import pandas as pd from owid.catalog import Table diff --git a/etl/steps/data/garden/who/2023-06-29/guinea_worm.py b/etl/steps/data/garden/who/2023-06-29/guinea_worm.py index 309b0dd0b0d5..0b221d2a2021 100644 --- a/etl/steps/data/garden/who/2023-06-29/guinea_worm.py +++ b/etl/steps/data/garden/who/2023-06-29/guinea_worm.py @@ -130,9 +130,9 @@ def update_time_series_with_latest_information(df: Table) -> Table: assert any(df["year"].isin(years_to_add)) df.loc[(df["country"] == "Angola") & (df["year"] >= 2020), "certification_status"] = "Endemic" df.loc[(df["country"] == "Kenya") & (df["year"] >= 2018), "certification_status"] = "Certified disease free" - df.loc[ - (df["country"] == "Democratic Republic of Congo") & (df["year"] >= 2022), "certification_status" - ] = "Certified disease free" + df.loc[(df["country"] == "Democratic Republic of Congo") & (df["year"] >= 2022), "certification_status"] = ( + "Certified disease free" + ) return df diff --git a/etl/steps/data/garden/who/2024-04-26/avian_influenza_ah5n1.py b/etl/steps/data/garden/who/2024-04-26/avian_influenza_ah5n1.py index 2bf144de1fe4..fb5e6f7fb31f 100644 --- a/etl/steps/data/garden/who/2024-04-26/avian_influenza_ah5n1.py +++ b/etl/steps/data/garden/who/2024-04-26/avian_influenza_ah5n1.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import owid.catalog.processing as pr import pandas as pd from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/who/2024-09-09/flu_test.py b/etl/steps/data/garden/who/2024-09-09/flu_test.py index 9096a3e77689..1c36bd646c6b 100644 --- a/etl/steps/data/garden/who/2024-09-09/flu_test.py +++ b/etl/steps/data/garden/who/2024-09-09/flu_test.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - import numpy as np import pandas as pd from owid.catalog import Table diff --git a/etl/steps/data/garden/who/latest/avian_influenza_ah5n1.py b/etl/steps/data/garden/who/latest/avian_influenza_ah5n1.py index 549e7b14eb15..28f7ac6c2715 100644 --- a/etl/steps/data/garden/who/latest/avian_influenza_ah5n1.py +++ b/etl/steps/data/garden/who/latest/avian_influenza_ah5n1.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import owid.catalog.processing as pr import pandas as pd from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/who/latest/fluid.py b/etl/steps/data/garden/who/latest/fluid.py index 0f9d24c5d580..7e0076c2230b 100644 --- a/etl/steps/data/garden/who/latest/fluid.py +++ b/etl/steps/data/garden/who/latest/fluid.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - from datetime import datetime import numpy as np diff --git a/etl/steps/data/garden/who/latest/flunet.py b/etl/steps/data/garden/who/latest/flunet.py index 8ee3bca2ea75..56f1a8f7c748 100644 --- a/etl/steps/data/garden/who/latest/flunet.py +++ b/etl/steps/data/garden/who/latest/flunet.py @@ -1,4 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" + import numpy as np import pandas as pd from owid.catalog import Table diff --git a/etl/steps/data/garden/wid/2023-08-24/world_inequality_database.py b/etl/steps/data/garden/wid/2023-08-24/world_inequality_database.py index 1ad59630fa36..71a440fad302 100644 --- a/etl/steps/data/garden/wid/2023-08-24/world_inequality_database.py +++ b/etl/steps/data/garden/wid/2023-08-24/world_inequality_database.py @@ -1,6 +1,5 @@ """Load World Inequality Database meadow dataset and create a garden dataset.""" - import owid.catalog.processing as pr from owid.catalog import Dataset, Table from shared import add_metadata_vars, add_metadata_vars_distribution diff --git a/etl/steps/data/garden/wpf/2024-10-03/famines.py b/etl/steps/data/garden/wpf/2024-10-03/famines.py index d898d1da1db9..219e92faab7e 100644 --- a/etl/steps/data/garden/wpf/2024-10-03/famines.py +++ b/etl/steps/data/garden/wpf/2024-10-03/famines.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import pandas as pd from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/wpf/2024-10-03/famines_by_place.py b/etl/steps/data/garden/wpf/2024-10-03/famines_by_place.py index b1d23fe069a0..f8b77714a8a5 100644 --- a/etl/steps/data/garden/wpf/2024-10-03/famines_by_place.py +++ b/etl/steps/data/garden/wpf/2024-10-03/famines_by_place.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import numpy as np import owid.catalog.processing as pr import pandas as pd diff --git a/etl/steps/data/garden/wpf/2024-10-03/famines_by_regime_gdp.py b/etl/steps/data/garden/wpf/2024-10-03/famines_by_regime_gdp.py index 8b9872e33f52..ff31dc141aeb 100644 --- a/etl/steps/data/garden/wpf/2024-10-03/famines_by_regime_gdp.py +++ b/etl/steps/data/garden/wpf/2024-10-03/famines_by_regime_gdp.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import owid.catalog.processing as pr from owid.catalog import Dataset, Table diff --git a/etl/steps/data/garden/wpf/2024-10-03/total_famines_by_year_decade.py b/etl/steps/data/garden/wpf/2024-10-03/total_famines_by_year_decade.py index 5067cd0df3fa..7f2b6df93b14 100644 --- a/etl/steps/data/garden/wpf/2024-10-03/total_famines_by_year_decade.py +++ b/etl/steps/data/garden/wpf/2024-10-03/total_famines_by_year_decade.py @@ -1,6 +1,5 @@ """Load a meadow dataset and create a garden dataset.""" - import numpy as np import owid.catalog.processing as pr import pandas as pd diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-06-19/epoch_compute_intensive_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-06-19/epoch_compute_intensive_organizations.py index 9478c5e5e42e..6f232db89936 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-06-19/epoch_compute_intensive_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-06-19/epoch_compute_intensive_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-07-10/epoch_aggregates_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-07-10/epoch_aggregates_organizations.py index f479f1658818..52c7abe49d96 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-07-10/epoch_aggregates_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-07-10/epoch_aggregates_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-08-05/epoch_aggregates_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-08-05/epoch_aggregates_organizations.py index f479f1658818..52c7abe49d96 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-08-05/epoch_aggregates_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-08-05/epoch_aggregates_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-08-05/epoch_compute_intensive_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-08-05/epoch_compute_intensive_organizations.py index 9478c5e5e42e..6f232db89936 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-08-05/epoch_compute_intensive_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-08-05/epoch_compute_intensive_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-09-09/epoch_aggregates_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-09-09/epoch_aggregates_organizations.py index f479f1658818..52c7abe49d96 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-09-09/epoch_aggregates_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-09-09/epoch_aggregates_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-09-09/epoch_compute_intensive_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-09-09/epoch_compute_intensive_organizations.py index 9478c5e5e42e..6f232db89936 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-09-09/epoch_compute_intensive_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-09-09/epoch_compute_intensive_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-10-01/epoch_aggregates_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-10-01/epoch_aggregates_organizations.py index f479f1658818..52c7abe49d96 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-10-01/epoch_aggregates_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-10-01/epoch_aggregates_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-10-01/epoch_compute_intensive_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-10-01/epoch_compute_intensive_organizations.py index 9478c5e5e42e..6f232db89936 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-10-01/epoch_compute_intensive_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-10-01/epoch_compute_intensive_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-11-03/epoch_aggregates_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-11-03/epoch_aggregates_organizations.py index f479f1658818..52c7abe49d96 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-11-03/epoch_aggregates_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-11-03/epoch_aggregates_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-11-03/epoch_compute_intensive_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-11-03/epoch_compute_intensive_organizations.py index 9478c5e5e42e..6f232db89936 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-11-03/epoch_compute_intensive_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-11-03/epoch_compute_intensive_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-12-05/epoch_aggregates_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-12-05/epoch_aggregates_organizations.py index f479f1658818..52c7abe49d96 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-12-05/epoch_aggregates_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-12-05/epoch_aggregates_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/artificial_intelligence/2024-12-05/epoch_compute_intensive_organizations.py b/etl/steps/data/grapher/artificial_intelligence/2024-12-05/epoch_compute_intensive_organizations.py index 9478c5e5e42e..6f232db89936 100644 --- a/etl/steps/data/grapher/artificial_intelligence/2024-12-05/epoch_compute_intensive_organizations.py +++ b/etl/steps/data/grapher/artificial_intelligence/2024-12-05/epoch_compute_intensive_organizations.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/biodiversity/2023-01-11/cherry_blossom.py b/etl/steps/data/grapher/biodiversity/2023-01-11/cherry_blossom.py index b9a8ac4d893c..434806130bfb 100644 --- a/etl/steps/data/grapher/biodiversity/2023-01-11/cherry_blossom.py +++ b/etl/steps/data/grapher/biodiversity/2023-01-11/cherry_blossom.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/biodiversity/2024-01-25/cherry_blossom.py b/etl/steps/data/grapher/biodiversity/2024-01-25/cherry_blossom.py index 146ce79b4a74..dc8556eab7c0 100644 --- a/etl/steps/data/grapher/biodiversity/2024-01-25/cherry_blossom.py +++ b/etl/steps/data/grapher/biodiversity/2024-01-25/cherry_blossom.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/climate/2023-12-20/surface_country_level_monthly_anomaly.py b/etl/steps/data/grapher/climate/2023-12-20/surface_country_level_monthly_anomaly.py index 7ad100d786d2..75d6fb209967 100644 --- a/etl/steps/data/grapher/climate/2023-12-20/surface_country_level_monthly_anomaly.py +++ b/etl/steps/data/grapher/climate/2023-12-20/surface_country_level_monthly_anomaly.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/climate/2023-12-20/surface_global_monthly_anomaly.py b/etl/steps/data/grapher/climate/2023-12-20/surface_global_monthly_anomaly.py index 151e53cb7830..b1f20e4b5435 100644 --- a/etl/steps/data/grapher/climate/2023-12-20/surface_global_monthly_anomaly.py +++ b/etl/steps/data/grapher/climate/2023-12-20/surface_global_monthly_anomaly.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/climate/2023-12-20/surface_global_monthly_anomaly_all_countries.py b/etl/steps/data/grapher/climate/2023-12-20/surface_global_monthly_anomaly_all_countries.py index e6d942302cbd..0fe7dca5ef92 100644 --- a/etl/steps/data/grapher/climate/2023-12-20/surface_global_monthly_anomaly_all_countries.py +++ b/etl/steps/data/grapher/climate/2023-12-20/surface_global_monthly_anomaly_all_countries.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/climate/2023-12-20/surface_temperature.py b/etl/steps/data/grapher/climate/2023-12-20/surface_temperature.py index d8c8e0829229..3e0ed1dc84db 100644 --- a/etl/steps/data/grapher/climate/2023-12-20/surface_temperature.py +++ b/etl/steps/data/grapher/climate/2023-12-20/surface_temperature.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - import pandas as pd from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-01-31/climate_change_impacts_annual.py b/etl/steps/data/grapher/climate/2024-01-31/climate_change_impacts_annual.py index d2ce85e4a2dd..9e24b6978c79 100644 --- a/etl/steps/data/grapher/climate/2024-01-31/climate_change_impacts_annual.py +++ b/etl/steps/data/grapher/climate/2024-01-31/climate_change_impacts_annual.py @@ -1,7 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" - +"""Load a garden dataset and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-01-31/climate_change_impacts_monthly.py b/etl/steps/data/grapher/climate/2024-01-31/climate_change_impacts_monthly.py index c69428bae1be..4538d048ff7a 100644 --- a/etl/steps/data/grapher/climate/2024-01-31/climate_change_impacts_monthly.py +++ b/etl/steps/data/grapher/climate/2024-01-31/climate_change_impacts_monthly.py @@ -1,6 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" +"""Load a garden dataset and create a grapher dataset.""" from etl.grapher_helpers import adapt_table_with_dates_to_grapher from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-03-11/climate_change_impacts_annual.py b/etl/steps/data/grapher/climate/2024-03-11/climate_change_impacts_annual.py index d2ce85e4a2dd..9e24b6978c79 100644 --- a/etl/steps/data/grapher/climate/2024-03-11/climate_change_impacts_annual.py +++ b/etl/steps/data/grapher/climate/2024-03-11/climate_change_impacts_annual.py @@ -1,7 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" - +"""Load a garden dataset and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-03-11/climate_change_impacts_monthly.py b/etl/steps/data/grapher/climate/2024-03-11/climate_change_impacts_monthly.py index c69428bae1be..4538d048ff7a 100644 --- a/etl/steps/data/grapher/climate/2024-03-11/climate_change_impacts_monthly.py +++ b/etl/steps/data/grapher/climate/2024-03-11/climate_change_impacts_monthly.py @@ -1,6 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" +"""Load a garden dataset and create a grapher dataset.""" from etl.grapher_helpers import adapt_table_with_dates_to_grapher from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-04-17/climate_change_impacts_annual.py b/etl/steps/data/grapher/climate/2024-04-17/climate_change_impacts_annual.py index d2ce85e4a2dd..9e24b6978c79 100644 --- a/etl/steps/data/grapher/climate/2024-04-17/climate_change_impacts_annual.py +++ b/etl/steps/data/grapher/climate/2024-04-17/climate_change_impacts_annual.py @@ -1,7 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" - +"""Load a garden dataset and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-04-17/climate_change_impacts_monthly.py b/etl/steps/data/grapher/climate/2024-04-17/climate_change_impacts_monthly.py index c69428bae1be..4538d048ff7a 100644 --- a/etl/steps/data/grapher/climate/2024-04-17/climate_change_impacts_monthly.py +++ b/etl/steps/data/grapher/climate/2024-04-17/climate_change_impacts_monthly.py @@ -1,6 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" +"""Load a garden dataset and create a grapher dataset.""" from etl.grapher_helpers import adapt_table_with_dates_to_grapher from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-05-20/climate_change_impacts_annual.py b/etl/steps/data/grapher/climate/2024-05-20/climate_change_impacts_annual.py index d2ce85e4a2dd..9e24b6978c79 100644 --- a/etl/steps/data/grapher/climate/2024-05-20/climate_change_impacts_annual.py +++ b/etl/steps/data/grapher/climate/2024-05-20/climate_change_impacts_annual.py @@ -1,7 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" - +"""Load a garden dataset and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-05-20/climate_change_impacts_monthly.py b/etl/steps/data/grapher/climate/2024-05-20/climate_change_impacts_monthly.py index c69428bae1be..4538d048ff7a 100644 --- a/etl/steps/data/grapher/climate/2024-05-20/climate_change_impacts_monthly.py +++ b/etl/steps/data/grapher/climate/2024-05-20/climate_change_impacts_monthly.py @@ -1,6 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" +"""Load a garden dataset and create a grapher dataset.""" from etl.grapher_helpers import adapt_table_with_dates_to_grapher from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-07-23/climate_change_impacts_annual.py b/etl/steps/data/grapher/climate/2024-07-23/climate_change_impacts_annual.py index d2ce85e4a2dd..9e24b6978c79 100644 --- a/etl/steps/data/grapher/climate/2024-07-23/climate_change_impacts_annual.py +++ b/etl/steps/data/grapher/climate/2024-07-23/climate_change_impacts_annual.py @@ -1,7 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" - +"""Load a garden dataset and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-07-23/climate_change_impacts_monthly.py b/etl/steps/data/grapher/climate/2024-07-23/climate_change_impacts_monthly.py index c69428bae1be..4538d048ff7a 100644 --- a/etl/steps/data/grapher/climate/2024-07-23/climate_change_impacts_monthly.py +++ b/etl/steps/data/grapher/climate/2024-07-23/climate_change_impacts_monthly.py @@ -1,6 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" +"""Load a garden dataset and create a grapher dataset.""" from etl.grapher_helpers import adapt_table_with_dates_to_grapher from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-07-23/sea_ice_anomalies_by_month.py b/etl/steps/data/grapher/climate/2024-07-23/sea_ice_anomalies_by_month.py index b16879ec60b1..424ebf91f27a 100644 --- a/etl/steps/data/grapher/climate/2024-07-23/sea_ice_anomalies_by_month.py +++ b/etl/steps/data/grapher/climate/2024-07-23/sea_ice_anomalies_by_month.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from owid.catalog import Table from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-09-30/climate_change_impacts_annual.py b/etl/steps/data/grapher/climate/2024-09-30/climate_change_impacts_annual.py index d2ce85e4a2dd..9e24b6978c79 100644 --- a/etl/steps/data/grapher/climate/2024-09-30/climate_change_impacts_annual.py +++ b/etl/steps/data/grapher/climate/2024-09-30/climate_change_impacts_annual.py @@ -1,7 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" - +"""Load a garden dataset and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-09-30/climate_change_impacts_monthly.py b/etl/steps/data/grapher/climate/2024-09-30/climate_change_impacts_monthly.py index c69428bae1be..4538d048ff7a 100644 --- a/etl/steps/data/grapher/climate/2024-09-30/climate_change_impacts_monthly.py +++ b/etl/steps/data/grapher/climate/2024-09-30/climate_change_impacts_monthly.py @@ -1,6 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" +"""Load a garden dataset and create a grapher dataset.""" from etl.grapher_helpers import adapt_table_with_dates_to_grapher from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-09-30/sea_ice_anomalies_by_month.py b/etl/steps/data/grapher/climate/2024-09-30/sea_ice_anomalies_by_month.py index b16879ec60b1..424ebf91f27a 100644 --- a/etl/steps/data/grapher/climate/2024-09-30/sea_ice_anomalies_by_month.py +++ b/etl/steps/data/grapher/climate/2024-09-30/sea_ice_anomalies_by_month.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from owid.catalog import Table from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-11-18/climate_change_impacts_annual.py b/etl/steps/data/grapher/climate/2024-11-18/climate_change_impacts_annual.py index d2ce85e4a2dd..9e24b6978c79 100644 --- a/etl/steps/data/grapher/climate/2024-11-18/climate_change_impacts_annual.py +++ b/etl/steps/data/grapher/climate/2024-11-18/climate_change_impacts_annual.py @@ -1,7 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" - +"""Load a garden dataset and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-11-18/climate_change_impacts_monthly.py b/etl/steps/data/grapher/climate/2024-11-18/climate_change_impacts_monthly.py index c69428bae1be..4538d048ff7a 100644 --- a/etl/steps/data/grapher/climate/2024-11-18/climate_change_impacts_monthly.py +++ b/etl/steps/data/grapher/climate/2024-11-18/climate_change_impacts_monthly.py @@ -1,6 +1,4 @@ -"""Load a garden dataset and create a grapher dataset. - -""" +"""Load a garden dataset and create a grapher dataset.""" from etl.grapher_helpers import adapt_table_with_dates_to_grapher from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/climate/2024-11-18/sea_ice_anomalies_by_month.py b/etl/steps/data/grapher/climate/2024-11-18/sea_ice_anomalies_by_month.py index 9c1bcfce4d55..93ce4fd0bb3f 100644 --- a/etl/steps/data/grapher/climate/2024-11-18/sea_ice_anomalies_by_month.py +++ b/etl/steps/data/grapher/climate/2024-11-18/sea_ice_anomalies_by_month.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from owid.catalog import Table from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/covid/latest/countries_reporting.py b/etl/steps/data/grapher/covid/latest/countries_reporting.py index 8d9d1c110805..6e6aa4f81aa2 100644 --- a/etl/steps/data/grapher/covid/latest/countries_reporting.py +++ b/etl/steps/data/grapher/covid/latest/countries_reporting.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/covid/latest/vaccinations_age.py b/etl/steps/data/grapher/covid/latest/vaccinations_age.py index 020030ea484e..8a1be405c77a 100644 --- a/etl/steps/data/grapher/covid/latest/vaccinations_age.py +++ b/etl/steps/data/grapher/covid/latest/vaccinations_age.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/covid/latest/vaccinations_manufacturer.py b/etl/steps/data/grapher/covid/latest/vaccinations_manufacturer.py index eb588c4a9700..40ac012bf9c0 100644 --- a/etl/steps/data/grapher/covid/latest/vaccinations_manufacturer.py +++ b/etl/steps/data/grapher/covid/latest/vaccinations_manufacturer.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/demography/2022-11-30/life_expectancy.py b/etl/steps/data/grapher/demography/2022-11-30/life_expectancy.py index 553b382aeb21..0eb053e6c3b6 100644 --- a/etl/steps/data/grapher/demography/2022-11-30/life_expectancy.py +++ b/etl/steps/data/grapher/demography/2022-11-30/life_expectancy.py @@ -1,4 +1,5 @@ """Grapher step for our Life Expectancy OMM.""" + import yaml from owid import catalog diff --git a/etl/steps/data/grapher/demography/2023-03-30/population.py b/etl/steps/data/grapher/demography/2023-03-30/population.py index 60c5b25ce52c..64f889d66379 100644 --- a/etl/steps/data/grapher/demography/2023-03-30/population.py +++ b/etl/steps/data/grapher/demography/2023-03-30/population.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + import re from copy import deepcopy from typing import Any, List @@ -184,8 +185,8 @@ def _create_metric_version_from_mask( if title_suffix: table[metric_new].metadata.title = f"{table[metric_new].metadata.title} {title_suffix}" if display_name_suffix: - table[metric_new].metadata.display[ - "name" - ] = f"{table[metric_new].metadata.display['name']} {display_name_suffix}" + table[metric_new].metadata.display["name"] = ( + f"{table[metric_new].metadata.display['name']} {display_name_suffix}" + ) table[metric_new].metadata.description = description return table.astype({metric_new: dtype}) diff --git a/etl/steps/data/grapher/demography/2023-03-31/population.py b/etl/steps/data/grapher/demography/2023-03-31/population.py index f29d8d6ddd4b..64f66a99fd26 100644 --- a/etl/steps/data/grapher/demography/2023-03-31/population.py +++ b/etl/steps/data/grapher/demography/2023-03-31/population.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + import re from copy import deepcopy from typing import Any, List diff --git a/etl/steps/data/grapher/demography/2024-01-25/population.py b/etl/steps/data/grapher/demography/2024-01-25/population.py index 32d04c7497ea..6c0a0e2701e9 100644 --- a/etl/steps/data/grapher/demography/2024-01-25/population.py +++ b/etl/steps/data/grapher/demography/2024-01-25/population.py @@ -2,6 +2,7 @@ This dataset is a work in progress. We have layed down the foundations for the step, but are waiting until new data is available (both from Maddison and from 2024 WPP). """ + import re from copy import deepcopy from typing import Any, List diff --git a/etl/steps/data/grapher/demography/2024-07-15/population.py b/etl/steps/data/grapher/demography/2024-07-15/population.py index 6308675a7d75..a2f9caffbaee 100644 --- a/etl/steps/data/grapher/demography/2024-07-15/population.py +++ b/etl/steps/data/grapher/demography/2024-07-15/population.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2022-08-03/electricity_mix.py b/etl/steps/data/grapher/energy/2022-08-03/electricity_mix.py index b7466fd51ed7..989d3d93cfe6 100644 --- a/etl/steps/data/grapher/energy/2022-08-03/electricity_mix.py +++ b/etl/steps/data/grapher/energy/2022-08-03/electricity_mix.py @@ -1,5 +1,4 @@ -"""Grapher step for the Electricity Mix (BP & Ember, 2022) dataset. -""" +"""Grapher step for the Electricity Mix (BP & Ember, 2022) dataset.""" from owid import catalog diff --git a/etl/steps/data/grapher/energy/2022-12-12/electricity_mix.py b/etl/steps/data/grapher/energy/2022-12-12/electricity_mix.py index 2d0246d34abf..a7c55b3fec73 100644 --- a/etl/steps/data/grapher/energy/2022-12-12/electricity_mix.py +++ b/etl/steps/data/grapher/energy/2022-12-12/electricity_mix.py @@ -1,5 +1,4 @@ -"""Grapher step for the Electricity Mix (BP & Ember, 2022) dataset. -""" +"""Grapher step for the Electricity Mix (BP & Ember, 2022) dataset.""" from copy import deepcopy diff --git a/etl/steps/data/grapher/energy/2023-07-10/electricity_mix.py b/etl/steps/data/grapher/energy/2023-07-10/electricity_mix.py index 234900ffb450..8219e39c8e64 100644 --- a/etl/steps/data/grapher/energy/2023-07-10/electricity_mix.py +++ b/etl/steps/data/grapher/energy/2023-07-10/electricity_mix.py @@ -1,6 +1,4 @@ -"""Grapher step for the Electricity Mix (Energy Institute & Ember) dataset. - -""" +"""Grapher step for the Electricity Mix (Energy Institute & Ember) dataset.""" from owid.catalog import Dataset diff --git a/etl/steps/data/grapher/energy/2023-07-10/energy_mix.py b/etl/steps/data/grapher/energy/2023-07-10/energy_mix.py index 50efcb8c6cec..98c5629e8c43 100644 --- a/etl/steps/data/grapher/energy/2023-07-10/energy_mix.py +++ b/etl/steps/data/grapher/energy/2023-07-10/energy_mix.py @@ -1,5 +1,4 @@ -"""Grapher step for BP's energy mix dataset. -""" +"""Grapher step for BP's energy mix dataset.""" from owid.catalog import Dataset diff --git a/etl/steps/data/grapher/energy/2023-07-10/fossil_fuel_production.py b/etl/steps/data/grapher/energy/2023-07-10/fossil_fuel_production.py index 62cd3b209f94..3a46c0128eae 100644 --- a/etl/steps/data/grapher/energy/2023-07-10/fossil_fuel_production.py +++ b/etl/steps/data/grapher/energy/2023-07-10/fossil_fuel_production.py @@ -1,5 +1,4 @@ -"""Grapher step for the fossil fuel production dataset. -""" +"""Grapher step for the fossil fuel production dataset.""" from owid.catalog import Dataset diff --git a/etl/steps/data/grapher/energy/2023-07-10/fossil_fuel_reserves_production_ratio.py b/etl/steps/data/grapher/energy/2023-07-10/fossil_fuel_reserves_production_ratio.py index 066bd1a2e4bb..c7c824244ffa 100644 --- a/etl/steps/data/grapher/energy/2023-07-10/fossil_fuel_reserves_production_ratio.py +++ b/etl/steps/data/grapher/energy/2023-07-10/fossil_fuel_reserves_production_ratio.py @@ -1,6 +1,4 @@ -"""Grapher step for the fossil fuel reserves-to-production ratio dataset. - -""" +"""Grapher step for the fossil fuel reserves-to-production ratio dataset.""" from owid.catalog import Dataset diff --git a/etl/steps/data/grapher/energy/2023-07-10/global_primary_energy.py b/etl/steps/data/grapher/energy/2023-07-10/global_primary_energy.py index f5f108372700..65cf3e7ee032 100644 --- a/etl/steps/data/grapher/energy/2023-07-10/global_primary_energy.py +++ b/etl/steps/data/grapher/energy/2023-07-10/global_primary_energy.py @@ -1,5 +1,5 @@ -"""Grapher step for the global primary energy dataset. -""" +"""Grapher step for the global primary energy dataset.""" + from owid.catalog import Dataset from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2023-07-10/photovoltaic_cost_and_capacity.py b/etl/steps/data/grapher/energy/2023-07-10/photovoltaic_cost_and_capacity.py index 021c97cfe723..4bd2deee470b 100644 --- a/etl/steps/data/grapher/energy/2023-07-10/photovoltaic_cost_and_capacity.py +++ b/etl/steps/data/grapher/energy/2023-07-10/photovoltaic_cost_and_capacity.py @@ -1,6 +1,4 @@ -"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset. - -""" +"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset.""" from owid.catalog import Dataset diff --git a/etl/steps/data/grapher/energy/2023-07-10/primary_energy_consumption.py b/etl/steps/data/grapher/energy/2023-07-10/primary_energy_consumption.py index 67ee91dc98d8..f1016dcd0785 100644 --- a/etl/steps/data/grapher/energy/2023-07-10/primary_energy_consumption.py +++ b/etl/steps/data/grapher/energy/2023-07-10/primary_energy_consumption.py @@ -1,5 +1,5 @@ -"""Grapher step for the primary energy consumption dataset. -""" +"""Grapher step for the primary energy consumption dataset.""" + from owid.catalog import Dataset from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2023-07-10/uk_historical_electricity.py b/etl/steps/data/grapher/energy/2023-07-10/uk_historical_electricity.py index 44e8121fa96c..4d99bf2fa567 100644 --- a/etl/steps/data/grapher/energy/2023-07-10/uk_historical_electricity.py +++ b/etl/steps/data/grapher/energy/2023-07-10/uk_historical_electricity.py @@ -1,5 +1,5 @@ -"""Grapher step for the UK historical electricity dataset. -""" +"""Grapher step for the UK historical electricity dataset.""" + from owid.catalog import Dataset from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2023-12-12/electricity_mix.py b/etl/steps/data/grapher/energy/2023-12-12/electricity_mix.py index 29ff3a892334..b511938b5499 100644 --- a/etl/steps/data/grapher/energy/2023-12-12/electricity_mix.py +++ b/etl/steps/data/grapher/energy/2023-12-12/electricity_mix.py @@ -1,7 +1,4 @@ -"""Grapher step for the Electricity Mix (Energy Institute & Ember) dataset. - -""" - +"""Grapher step for the Electricity Mix (Energy Institute & Ember) dataset.""" from etl.grapher_helpers import add_columns_for_multiindicator_chart from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2023-12-12/energy_mix.py b/etl/steps/data/grapher/energy/2023-12-12/energy_mix.py index 556686d7abec..4a4c5f56cc39 100644 --- a/etl/steps/data/grapher/energy/2023-12-12/energy_mix.py +++ b/etl/steps/data/grapher/energy/2023-12-12/energy_mix.py @@ -1,5 +1,5 @@ -"""Grapher step for BP's energy mix dataset. -""" +"""Grapher step for BP's energy mix dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2023-12-12/fossil_fuel_production.py b/etl/steps/data/grapher/energy/2023-12-12/fossil_fuel_production.py index 55ad9fc64202..fa3d18dc4e76 100644 --- a/etl/steps/data/grapher/energy/2023-12-12/fossil_fuel_production.py +++ b/etl/steps/data/grapher/energy/2023-12-12/fossil_fuel_production.py @@ -1,5 +1,5 @@ -"""Grapher step for the fossil fuel production dataset. -""" +"""Grapher step for the fossil fuel production dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2023-12-12/fossil_fuel_reserves_production_ratio.py b/etl/steps/data/grapher/energy/2023-12-12/fossil_fuel_reserves_production_ratio.py index 0277060bcbf3..a67d125045fb 100644 --- a/etl/steps/data/grapher/energy/2023-12-12/fossil_fuel_reserves_production_ratio.py +++ b/etl/steps/data/grapher/energy/2023-12-12/fossil_fuel_reserves_production_ratio.py @@ -1,6 +1,5 @@ -"""Grapher step for the fossil fuel reserves-to-production ratio dataset. +"""Grapher step for the fossil fuel reserves-to-production ratio dataset.""" -""" from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2023-12-12/global_primary_energy.py b/etl/steps/data/grapher/energy/2023-12-12/global_primary_energy.py index 4962fccada85..1fa296d643d2 100644 --- a/etl/steps/data/grapher/energy/2023-12-12/global_primary_energy.py +++ b/etl/steps/data/grapher/energy/2023-12-12/global_primary_energy.py @@ -1,5 +1,5 @@ -"""Grapher step for the global primary energy dataset. -""" +"""Grapher step for the global primary energy dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2023-12-12/photovoltaic_cost_and_capacity.py b/etl/steps/data/grapher/energy/2023-12-12/photovoltaic_cost_and_capacity.py index cdf0553a3573..adf46cacdc65 100644 --- a/etl/steps/data/grapher/energy/2023-12-12/photovoltaic_cost_and_capacity.py +++ b/etl/steps/data/grapher/energy/2023-12-12/photovoltaic_cost_and_capacity.py @@ -1,7 +1,4 @@ -"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset. - -""" - +"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2023-12-12/primary_energy_consumption.py b/etl/steps/data/grapher/energy/2023-12-12/primary_energy_consumption.py index 906fc549bbeb..740dd97e760f 100644 --- a/etl/steps/data/grapher/energy/2023-12-12/primary_energy_consumption.py +++ b/etl/steps/data/grapher/energy/2023-12-12/primary_energy_consumption.py @@ -1,5 +1,5 @@ -"""Grapher step for the primary energy consumption dataset. -""" +"""Grapher step for the primary energy consumption dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2023-12-12/uk_historical_electricity.py b/etl/steps/data/grapher/energy/2023-12-12/uk_historical_electricity.py index e13f2e51f8d4..32a2ea9bc88a 100644 --- a/etl/steps/data/grapher/energy/2023-12-12/uk_historical_electricity.py +++ b/etl/steps/data/grapher/energy/2023-12-12/uk_historical_electricity.py @@ -1,5 +1,5 @@ -"""Grapher step for the UK historical electricity dataset. -""" +"""Grapher step for the UK historical electricity dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-05-08/electricity_mix.py b/etl/steps/data/grapher/energy/2024-05-08/electricity_mix.py index 29ff3a892334..b511938b5499 100644 --- a/etl/steps/data/grapher/energy/2024-05-08/electricity_mix.py +++ b/etl/steps/data/grapher/energy/2024-05-08/electricity_mix.py @@ -1,7 +1,4 @@ -"""Grapher step for the Electricity Mix (Energy Institute & Ember) dataset. - -""" - +"""Grapher step for the Electricity Mix (Energy Institute & Ember) dataset.""" from etl.grapher_helpers import add_columns_for_multiindicator_chart from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2024-05-08/energy_mix.py b/etl/steps/data/grapher/energy/2024-05-08/energy_mix.py index 556686d7abec..4a4c5f56cc39 100644 --- a/etl/steps/data/grapher/energy/2024-05-08/energy_mix.py +++ b/etl/steps/data/grapher/energy/2024-05-08/energy_mix.py @@ -1,5 +1,5 @@ -"""Grapher step for BP's energy mix dataset. -""" +"""Grapher step for BP's energy mix dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-05-08/fossil_fuel_production.py b/etl/steps/data/grapher/energy/2024-05-08/fossil_fuel_production.py index 55ad9fc64202..fa3d18dc4e76 100644 --- a/etl/steps/data/grapher/energy/2024-05-08/fossil_fuel_production.py +++ b/etl/steps/data/grapher/energy/2024-05-08/fossil_fuel_production.py @@ -1,5 +1,5 @@ -"""Grapher step for the fossil fuel production dataset. -""" +"""Grapher step for the fossil fuel production dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-05-08/fossil_fuel_reserves_production_ratio.py b/etl/steps/data/grapher/energy/2024-05-08/fossil_fuel_reserves_production_ratio.py index 0277060bcbf3..a67d125045fb 100644 --- a/etl/steps/data/grapher/energy/2024-05-08/fossil_fuel_reserves_production_ratio.py +++ b/etl/steps/data/grapher/energy/2024-05-08/fossil_fuel_reserves_production_ratio.py @@ -1,6 +1,5 @@ -"""Grapher step for the fossil fuel reserves-to-production ratio dataset. +"""Grapher step for the fossil fuel reserves-to-production ratio dataset.""" -""" from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-05-08/global_primary_energy.py b/etl/steps/data/grapher/energy/2024-05-08/global_primary_energy.py index 4962fccada85..1fa296d643d2 100644 --- a/etl/steps/data/grapher/energy/2024-05-08/global_primary_energy.py +++ b/etl/steps/data/grapher/energy/2024-05-08/global_primary_energy.py @@ -1,5 +1,5 @@ -"""Grapher step for the global primary energy dataset. -""" +"""Grapher step for the global primary energy dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-05-08/photovoltaic_cost_and_capacity.py b/etl/steps/data/grapher/energy/2024-05-08/photovoltaic_cost_and_capacity.py index cdf0553a3573..adf46cacdc65 100644 --- a/etl/steps/data/grapher/energy/2024-05-08/photovoltaic_cost_and_capacity.py +++ b/etl/steps/data/grapher/energy/2024-05-08/photovoltaic_cost_and_capacity.py @@ -1,7 +1,4 @@ -"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset. - -""" - +"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2024-05-08/primary_energy_consumption.py b/etl/steps/data/grapher/energy/2024-05-08/primary_energy_consumption.py index 7890ec21d9c0..dc373d8dee82 100644 --- a/etl/steps/data/grapher/energy/2024-05-08/primary_energy_consumption.py +++ b/etl/steps/data/grapher/energy/2024-05-08/primary_energy_consumption.py @@ -1,5 +1,5 @@ -"""Grapher step for the primary energy consumption dataset. -""" +"""Grapher step for the primary energy consumption dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-05-08/uk_historical_electricity.py b/etl/steps/data/grapher/energy/2024-05-08/uk_historical_electricity.py index f6cf145c0c30..78bd90ae02f3 100644 --- a/etl/steps/data/grapher/energy/2024-05-08/uk_historical_electricity.py +++ b/etl/steps/data/grapher/energy/2024-05-08/uk_historical_electricity.py @@ -1,5 +1,5 @@ -"""Grapher step for the UK historical electricity dataset. -""" +"""Grapher step for the UK historical electricity dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-06-20/electricity_mix.py b/etl/steps/data/grapher/energy/2024-06-20/electricity_mix.py index 29ff3a892334..b511938b5499 100644 --- a/etl/steps/data/grapher/energy/2024-06-20/electricity_mix.py +++ b/etl/steps/data/grapher/energy/2024-06-20/electricity_mix.py @@ -1,7 +1,4 @@ -"""Grapher step for the Electricity Mix (Energy Institute & Ember) dataset. - -""" - +"""Grapher step for the Electricity Mix (Energy Institute & Ember) dataset.""" from etl.grapher_helpers import add_columns_for_multiindicator_chart from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2024-06-20/energy_mix.py b/etl/steps/data/grapher/energy/2024-06-20/energy_mix.py index 556686d7abec..4a4c5f56cc39 100644 --- a/etl/steps/data/grapher/energy/2024-06-20/energy_mix.py +++ b/etl/steps/data/grapher/energy/2024-06-20/energy_mix.py @@ -1,5 +1,5 @@ -"""Grapher step for BP's energy mix dataset. -""" +"""Grapher step for BP's energy mix dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-06-20/fossil_fuel_production.py b/etl/steps/data/grapher/energy/2024-06-20/fossil_fuel_production.py index 55ad9fc64202..fa3d18dc4e76 100644 --- a/etl/steps/data/grapher/energy/2024-06-20/fossil_fuel_production.py +++ b/etl/steps/data/grapher/energy/2024-06-20/fossil_fuel_production.py @@ -1,5 +1,5 @@ -"""Grapher step for the fossil fuel production dataset. -""" +"""Grapher step for the fossil fuel production dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-06-20/fossil_fuel_reserves_production_ratio.py b/etl/steps/data/grapher/energy/2024-06-20/fossil_fuel_reserves_production_ratio.py index 0277060bcbf3..a67d125045fb 100644 --- a/etl/steps/data/grapher/energy/2024-06-20/fossil_fuel_reserves_production_ratio.py +++ b/etl/steps/data/grapher/energy/2024-06-20/fossil_fuel_reserves_production_ratio.py @@ -1,6 +1,5 @@ -"""Grapher step for the fossil fuel reserves-to-production ratio dataset. +"""Grapher step for the fossil fuel reserves-to-production ratio dataset.""" -""" from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-06-20/global_primary_energy.py b/etl/steps/data/grapher/energy/2024-06-20/global_primary_energy.py index 4962fccada85..1fa296d643d2 100644 --- a/etl/steps/data/grapher/energy/2024-06-20/global_primary_energy.py +++ b/etl/steps/data/grapher/energy/2024-06-20/global_primary_energy.py @@ -1,5 +1,5 @@ -"""Grapher step for the global primary energy dataset. -""" +"""Grapher step for the global primary energy dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-06-20/primary_energy_consumption.py b/etl/steps/data/grapher/energy/2024-06-20/primary_energy_consumption.py index 7890ec21d9c0..dc373d8dee82 100644 --- a/etl/steps/data/grapher/energy/2024-06-20/primary_energy_consumption.py +++ b/etl/steps/data/grapher/energy/2024-06-20/primary_energy_consumption.py @@ -1,5 +1,5 @@ -"""Grapher step for the primary energy consumption dataset. -""" +"""Grapher step for the primary energy consumption dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-06-20/uk_historical_electricity.py b/etl/steps/data/grapher/energy/2024-06-20/uk_historical_electricity.py index e13f2e51f8d4..32a2ea9bc88a 100644 --- a/etl/steps/data/grapher/energy/2024-06-20/uk_historical_electricity.py +++ b/etl/steps/data/grapher/energy/2024-06-20/uk_historical_electricity.py @@ -1,5 +1,5 @@ -"""Grapher step for the UK historical electricity dataset. -""" +"""Grapher step for the UK historical electricity dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/energy/2024-10-30/photovoltaic_cost_and_capacity.py b/etl/steps/data/grapher/energy/2024-10-30/photovoltaic_cost_and_capacity.py index 15d3fb825d1c..adf46cacdc65 100644 --- a/etl/steps/data/grapher/energy/2024-10-30/photovoltaic_cost_and_capacity.py +++ b/etl/steps/data/grapher/energy/2024-10-30/photovoltaic_cost_and_capacity.py @@ -1,6 +1,4 @@ -"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset. - -""" +"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2024-11-01/photovoltaic_cost_and_capacity.py b/etl/steps/data/grapher/energy/2024-11-01/photovoltaic_cost_and_capacity.py index 15d3fb825d1c..adf46cacdc65 100644 --- a/etl/steps/data/grapher/energy/2024-11-01/photovoltaic_cost_and_capacity.py +++ b/etl/steps/data/grapher/energy/2024-11-01/photovoltaic_cost_and_capacity.py @@ -1,6 +1,4 @@ -"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset. - -""" +"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2024-11-15/photovoltaic_cost_and_capacity.py b/etl/steps/data/grapher/energy/2024-11-15/photovoltaic_cost_and_capacity.py index 15d3fb825d1c..adf46cacdc65 100644 --- a/etl/steps/data/grapher/energy/2024-11-15/photovoltaic_cost_and_capacity.py +++ b/etl/steps/data/grapher/energy/2024-11-15/photovoltaic_cost_and_capacity.py @@ -1,6 +1,4 @@ -"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset. - -""" +"""Load garden dataset of photovoltaic cost and capacity and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/energy/2024-11-20/energy_prices.py b/etl/steps/data/grapher/energy/2024-11-20/energy_prices.py index 237959d850e8..ed9db95f8139 100644 --- a/etl/steps/data/grapher/energy/2024-11-20/energy_prices.py +++ b/etl/steps/data/grapher/energy/2024-11-20/energy_prices.py @@ -1,6 +1,4 @@ -"""Load garden dataset and create a grapher dataset. - -""" +"""Load garden dataset and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/faostat/2022-05-17/shared.py b/etl/steps/data/grapher/faostat/2022-05-17/shared.py index aa3c05c4baba..07aa8b95d4c9 100644 --- a/etl/steps/data/grapher/faostat/2022-05-17/shared.py +++ b/etl/steps/data/grapher/faostat/2022-05-17/shared.py @@ -1,6 +1,4 @@ -"""Common grapher step for all FAOSTAT domains. - -""" +"""Common grapher step for all FAOSTAT domains.""" from pathlib import Path diff --git a/etl/steps/data/grapher/faostat/2023-02-22/shared.py b/etl/steps/data/grapher/faostat/2023-02-22/shared.py index f0245ecb84ea..3338e2f46db2 100644 --- a/etl/steps/data/grapher/faostat/2023-02-22/shared.py +++ b/etl/steps/data/grapher/faostat/2023-02-22/shared.py @@ -1,6 +1,5 @@ -"""Common grapher step for all FAOSTAT domains. +"""Common grapher step for all FAOSTAT domains.""" -""" from pathlib import Path from owid.catalog import Dataset diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_cahd.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_cahd.py index eb6916c2187d..446350a168ff 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_cahd.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_cahd.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_cahd dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ef.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ef.py index 304863c1b67b..079b62e82f13 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ef.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ef.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_ef dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ei.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ei.py index d5ca840e309e..5a26417991b1 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ei.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ei.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_ei dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ek.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ek.py index 1438bef60afe..cd9a22cc4b96 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ek.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ek.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_ek dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_el.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_el.py index dad80439d5fb..a250fe72e4b1 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_el.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_el.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_el dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_emn.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_emn.py index a4ec711b24f1..4889d38b3ce3 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_emn.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_emn.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_emn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ep.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ep.py index 425db60fd08a..a390ea767e61 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ep.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ep.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_ep dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_esb.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_esb.py index 9443efd4c2f6..95386e712833 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_esb.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_esb.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_esb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_fa.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_fa.py index 68c503b33fbe..cc0a0a828c7e 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_fa.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_fa.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_fa dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_fbsc.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_fbsc.py index a96693ea59ee..96497370c924 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_fbsc.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_fbsc.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_fbsc dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_fo.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_fo.py index 52d47d9693b9..a06f7821a6c7 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_fo.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_fo.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_fo dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_fs.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_fs.py index 9ac98d46d8b8..0e8413b983f1 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_fs.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_fs.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_fs dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_gn.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_gn.py index dd97adb515e7..b00af192b6cb 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_gn.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_gn.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_gn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ic.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ic.py index 3bb8b297f9b8..f13c6ae77ede 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ic.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ic.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_ic dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_lc.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_lc.py index 9e55fe697eb8..6a4f626f51ba 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_lc.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_lc.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_lc dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_qcl.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_qcl.py index 17ea29863b03..c73003a91ccc 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_qcl.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_qcl.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_qcl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_qi.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_qi.py index ec1e351be6d9..8d1e7a631c33 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_qi.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_qi.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_qi dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_qv.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_qv.py index a8ad501a4732..29bd80d29290 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_qv.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_qv.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_qv dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_rfb.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_rfb.py index 9203ba8a494d..5e1bc67635e2 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_rfb.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_rfb.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_rfb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_rfn.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_rfn.py index 006af8bb6ce0..28d1d9360e95 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_rfn.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_rfn.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_rfn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_rl.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_rl.py index 955507850953..a2ea1ded7752 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_rl.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_rl.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_rl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_rp.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_rp.py index b552b8f00350..70112163cfc4 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_rp.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_rp.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_rp dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_rt.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_rt.py index 709d69ac2d5c..1d4bf568fcb0 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_rt.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_rt.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_rt dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_scl.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_scl.py index 95725e189c95..4d4215900577 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_scl.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_scl.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_scl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_sdgb.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_sdgb.py index 7e0187e34ba5..bf4d2252f630 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_sdgb.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_sdgb.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_sdgb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_tcl.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_tcl.py index 0babbf0b2e37..a055ad45bb10 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_tcl.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_tcl.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_tcl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ti.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ti.py index 94634f7e5058..7c33b6cf5e82 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_ti.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_ti.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_ti dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/faostat_wcad.py b/etl/steps/data/grapher/faostat/2023-06-12/faostat_wcad.py index 39ee4dcf7f00..21334f37bea0 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/faostat_wcad.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/faostat_wcad.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_wcad dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2023-06-12/shared.py b/etl/steps/data/grapher/faostat/2023-06-12/shared.py index f0245ecb84ea..3338e2f46db2 100644 --- a/etl/steps/data/grapher/faostat/2023-06-12/shared.py +++ b/etl/steps/data/grapher/faostat/2023-06-12/shared.py @@ -1,6 +1,5 @@ -"""Common grapher step for all FAOSTAT domains. +"""Common grapher step for all FAOSTAT domains.""" -""" from pathlib import Path from owid.catalog import Dataset diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_cahd.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_cahd.py index eb6916c2187d..446350a168ff 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_cahd.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_cahd.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_cahd dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_ei.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_ei.py index d5ca840e309e..5a26417991b1 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_ei.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_ei.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_ei dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_ek.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_ek.py index 1438bef60afe..cd9a22cc4b96 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_ek.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_ek.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_ek dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_emn.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_emn.py index a4ec711b24f1..4889d38b3ce3 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_emn.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_emn.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_emn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_esb.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_esb.py index 9443efd4c2f6..95386e712833 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_esb.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_esb.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_esb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_fa.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_fa.py index 68c503b33fbe..cc0a0a828c7e 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_fa.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_fa.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_fa dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_fbsc.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_fbsc.py index a96693ea59ee..96497370c924 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_fbsc.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_fbsc.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_fbsc dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_fo.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_fo.py index 52d47d9693b9..a06f7821a6c7 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_fo.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_fo.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_fo dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_fs.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_fs.py index 9ac98d46d8b8..0e8413b983f1 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_fs.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_fs.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_fs dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_ic.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_ic.py index 3bb8b297f9b8..f13c6ae77ede 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_ic.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_ic.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_ic dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_lc.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_lc.py index 9e55fe697eb8..6a4f626f51ba 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_lc.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_lc.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_lc dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_qcl.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_qcl.py index 17ea29863b03..c73003a91ccc 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_qcl.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_qcl.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_qcl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_qi.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_qi.py index ec1e351be6d9..8d1e7a631c33 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_qi.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_qi.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_qi dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_qv.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_qv.py index a8ad501a4732..29bd80d29290 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_qv.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_qv.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_qv dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_rfb.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_rfb.py index 9203ba8a494d..5e1bc67635e2 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_rfb.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_rfb.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_rfb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_rfn.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_rfn.py index 006af8bb6ce0..28d1d9360e95 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_rfn.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_rfn.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_rfn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_rl.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_rl.py index 955507850953..a2ea1ded7752 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_rl.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_rl.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_rl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_rp.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_rp.py index b552b8f00350..70112163cfc4 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_rp.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_rp.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_rp dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_rt.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_rt.py index 709d69ac2d5c..1d4bf568fcb0 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_rt.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_rt.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_rt dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_scl.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_scl.py index 95725e189c95..4d4215900577 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_scl.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_scl.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_scl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_sdgb.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_sdgb.py index 7e0187e34ba5..bf4d2252f630 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_sdgb.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_sdgb.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_sdgb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_tcl.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_tcl.py index 0babbf0b2e37..a055ad45bb10 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_tcl.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_tcl.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_tcl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/faostat_ti.py b/etl/steps/data/grapher/faostat/2024-03-14/faostat_ti.py index 94634f7e5058..7c33b6cf5e82 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/faostat_ti.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/faostat_ti.py @@ -1,2 +1,3 @@ """FAOSTAT grapher step for faostat_ti dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/grapher/faostat/2024-03-14/shared.py b/etl/steps/data/grapher/faostat/2024-03-14/shared.py index bf7d941e0004..60dc7a0156da 100644 --- a/etl/steps/data/grapher/faostat/2024-03-14/shared.py +++ b/etl/steps/data/grapher/faostat/2024-03-14/shared.py @@ -1,6 +1,5 @@ -"""Common grapher step for all FAOSTAT domains. +"""Common grapher step for all FAOSTAT domains.""" -""" from pathlib import Path from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/growth/2022-12-19/gdp_historical.py b/etl/steps/data/grapher/growth/2022-12-19/gdp_historical.py index 2027e630167f..9b8113a64333 100644 --- a/etl/steps/data/grapher/growth/2022-12-19/gdp_historical.py +++ b/etl/steps/data/grapher/growth/2022-12-19/gdp_historical.py @@ -1,6 +1,7 @@ """ Just upload GDP and GDP per capita estimations the way they are from Garden """ + from owid import catalog from etl.helpers import PathFinder diff --git a/etl/steps/data/grapher/homicide/2024-10-30/unodc.py b/etl/steps/data/grapher/homicide/2024-10-30/unodc.py index 08652d4cd7e0..d293baadde2a 100644 --- a/etl/steps/data/grapher/homicide/2024-10-30/unodc.py +++ b/etl/steps/data/grapher/homicide/2024-10-30/unodc.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_demand_by_scenario.py b/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_demand_by_scenario.py index c2fb2b506869..597924d3f9cc 100644 --- a/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_demand_by_scenario.py +++ b/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_demand_by_scenario.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_demand_by_technology.py b/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_demand_by_technology.py index 81700c19541d..a870ae2be6c7 100644 --- a/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_demand_by_technology.py +++ b/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_demand_by_technology.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_supply_by_country.py b/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_supply_by_country.py index 3d86611e80b7..3cee4db26cd5 100644 --- a/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_supply_by_country.py +++ b/etl/steps/data/grapher/iea/2024-07-04/critical_minerals_supply_by_country.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/oecd/2023-09-21/plastic_emissions.py b/etl/steps/data/grapher/oecd/2023-09-21/plastic_emissions.py index 37002450a15d..5307d4fa6ec7 100644 --- a/etl/steps/data/grapher/oecd/2023-09-21/plastic_emissions.py +++ b/etl/steps/data/grapher/oecd/2023-09-21/plastic_emissions.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/oecd/2023-09-21/plastic_use_application.py b/etl/steps/data/grapher/oecd/2023-09-21/plastic_use_application.py index af25fc5338c8..db89e2ba131e 100644 --- a/etl/steps/data/grapher/oecd/2023-09-21/plastic_use_application.py +++ b/etl/steps/data/grapher/oecd/2023-09-21/plastic_use_application.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/oecd/2023-09-21/plastic_use_polymer.py b/etl/steps/data/grapher/oecd/2023-09-21/plastic_use_polymer.py index e76366d442ae..fd509f4f8438 100644 --- a/etl/steps/data/grapher/oecd/2023-09-21/plastic_use_polymer.py +++ b/etl/steps/data/grapher/oecd/2023-09-21/plastic_use_polymer.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/owid/latest/key_indicators.py b/etl/steps/data/grapher/owid/latest/key_indicators.py index 17311c164b98..e3b7e2b3d958 100644 --- a/etl/steps/data/grapher/owid/latest/key_indicators.py +++ b/etl/steps/data/grapher/owid/latest/key_indicators.py @@ -96,9 +96,9 @@ def _add_metric_new( if title_suffix: table[metric_new].metadata.title = f"{table[metric_new].metadata.title} {title_suffix}" if display_name_suffix: - table[metric_new].metadata.display[ - "name" - ] = f"{table[metric_new].metadata.display['name']} {display_name_suffix}" + table[metric_new].metadata.display["name"] = ( + f"{table[metric_new].metadata.display['name']} {display_name_suffix}" + ) table[metric_new].metadata.description = description # Get dtype diff --git a/etl/steps/data/grapher/papers/2023-07-10/farmer_lafond_2016.py b/etl/steps/data/grapher/papers/2023-07-10/farmer_lafond_2016.py index 78b5ce5932ce..dca8de0a9792 100644 --- a/etl/steps/data/grapher/papers/2023-07-10/farmer_lafond_2016.py +++ b/etl/steps/data/grapher/papers/2023-07-10/farmer_lafond_2016.py @@ -1,6 +1,4 @@ -"""Load garden dataset for Farmer & Lafond (2016) data and create a grapher dataset. - -""" +"""Load garden dataset for Farmer & Lafond (2016) data and create a grapher dataset.""" from owid.catalog import Dataset diff --git a/etl/steps/data/grapher/papers/2023-12-12/farmer_lafond_2016.py b/etl/steps/data/grapher/papers/2023-12-12/farmer_lafond_2016.py index 29a7aa0a7ea2..cf4baa283463 100644 --- a/etl/steps/data/grapher/papers/2023-12-12/farmer_lafond_2016.py +++ b/etl/steps/data/grapher/papers/2023-12-12/farmer_lafond_2016.py @@ -1,6 +1,4 @@ -"""Load garden dataset for Farmer & Lafond (2016) data and create a grapher dataset. - -""" +"""Load garden dataset for Farmer & Lafond (2016) data and create a grapher dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/grapher/research_development/2024-05-20/patents_articles.py b/etl/steps/data/grapher/research_development/2024-05-20/patents_articles.py index 690edf82e71d..07796c66b19b 100644 --- a/etl/steps/data/grapher/research_development/2024-05-20/patents_articles.py +++ b/etl/steps/data/grapher/research_development/2024-05-20/patents_articles.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/rff/2023-10-19/emissions_weighted_carbon_price.py b/etl/steps/data/grapher/rff/2023-10-19/emissions_weighted_carbon_price.py index 1bda1435cd30..0f7ff18d03bc 100644 --- a/etl/steps/data/grapher/rff/2023-10-19/emissions_weighted_carbon_price.py +++ b/etl/steps/data/grapher/rff/2023-10-19/emissions_weighted_carbon_price.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/rff/2023-10-19/world_carbon_pricing.py b/etl/steps/data/grapher/rff/2023-10-19/world_carbon_pricing.py index 54a1a73694e9..237f4ed023f1 100644 --- a/etl/steps/data/grapher/rff/2023-10-19/world_carbon_pricing.py +++ b/etl/steps/data/grapher/rff/2023-10-19/world_carbon_pricing.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/survey/2023-08-04/trust_surveys.py b/etl/steps/data/grapher/survey/2023-08-04/trust_surveys.py index 0a56e5074d1b..1429c30baada 100644 --- a/etl/steps/data/grapher/survey/2023-08-04/trust_surveys.py +++ b/etl/steps/data/grapher/survey/2023-08-04/trust_surveys.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/un/2023-01-24/un_sdg.py b/etl/steps/data/grapher/un/2023-01-24/un_sdg.py index 09c0febbf50c..3db820ca9e8b 100644 --- a/etl/steps/data/grapher/un/2023-01-24/un_sdg.py +++ b/etl/steps/data/grapher/un/2023-01-24/un_sdg.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + import json import os from functools import cache diff --git a/etl/steps/data/grapher/un/2023-08-16/un_sdg.py b/etl/steps/data/grapher/un/2023-08-16/un_sdg.py index 4b36809be1bd..c45723b779e7 100644 --- a/etl/steps/data/grapher/un/2023-08-16/un_sdg.py +++ b/etl/steps/data/grapher/un/2023-08-16/un_sdg.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + import json import os import re diff --git a/etl/steps/data/grapher/un/2024-08-27/un_sdg.py b/etl/steps/data/grapher/un/2024-08-27/un_sdg.py index 92aa4d73b94d..dec68286c3d6 100644 --- a/etl/steps/data/grapher/un/2024-08-27/un_sdg.py +++ b/etl/steps/data/grapher/un/2024-08-27/un_sdg.py @@ -1,4 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" + import json import os import re diff --git a/etl/steps/data/grapher/unep/2023-01-03/renewable_energy_investments.py b/etl/steps/data/grapher/unep/2023-01-03/renewable_energy_investments.py index 5df255a51a14..554878cf0aa0 100644 --- a/etl/steps/data/grapher/unep/2023-01-03/renewable_energy_investments.py +++ b/etl/steps/data/grapher/unep/2023-01-03/renewable_energy_investments.py @@ -1,6 +1,4 @@ -"""Load renewable energy investments data from garden and create a grapher dataset. - -""" +"""Load renewable energy investments data from garden and create a grapher dataset.""" from owid import catalog diff --git a/etl/steps/data/grapher/unep/2023-12-12/renewable_energy_investments.py b/etl/steps/data/grapher/unep/2023-12-12/renewable_energy_investments.py index f9553e50be65..37a0a93c36f3 100644 --- a/etl/steps/data/grapher/unep/2023-12-12/renewable_energy_investments.py +++ b/etl/steps/data/grapher/unep/2023-12-12/renewable_energy_investments.py @@ -1,6 +1,5 @@ -"""Load renewable energy investments data from garden and create a grapher dataset. +"""Load renewable energy investments data from garden and create a grapher dataset.""" -""" from etl.helpers import PathFinder, create_dataset # Load paths and naming conventions. diff --git a/etl/steps/data/grapher/who/2024-02-14/gho_suicides.py b/etl/steps/data/grapher/who/2024-02-14/gho_suicides.py index 43ce1fa023b8..9ef92f7890d7 100644 --- a/etl/steps/data/grapher/who/2024-02-14/gho_suicides.py +++ b/etl/steps/data/grapher/who/2024-02-14/gho_suicides.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/who/2024-05-20/vehicles.py b/etl/steps/data/grapher/who/2024-05-20/vehicles.py index 5ca3c9ffa49a..09127ac872f9 100644 --- a/etl/steps/data/grapher/who/2024-05-20/vehicles.py +++ b/etl/steps/data/grapher/who/2024-05-20/vehicles.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/who/2024-07-26/mortality_database.py b/etl/steps/data/grapher/who/2024-07-26/mortality_database.py index c6d590c13600..f13a39b66f39 100644 --- a/etl/steps/data/grapher/who/2024-07-26/mortality_database.py +++ b/etl/steps/data/grapher/who/2024-07-26/mortality_database.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset, grapher_checks # Get paths and naming conventions for current step. diff --git a/etl/steps/data/grapher/wpf/2024-10-03/famines.py b/etl/steps/data/grapher/wpf/2024-10-03/famines.py index 21034f3119ef..099f31da2985 100644 --- a/etl/steps/data/grapher/wpf/2024-10-03/famines.py +++ b/etl/steps/data/grapher/wpf/2024-10-03/famines.py @@ -1,6 +1,5 @@ """Load a garden dataset and create a grapher dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/agriculture/2024-05-23/fao_1949.py b/etl/steps/data/meadow/agriculture/2024-05-23/fao_1949.py index 4ad3adcb1ed8..f20db4edcc84 100644 --- a/etl/steps/data/meadow/agriculture/2024-05-23/fao_1949.py +++ b/etl/steps/data/meadow/agriculture/2024-05-23/fao_1949.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/agriculture/2024-05-23/fao_2000.py b/etl/steps/data/meadow/agriculture/2024-05-23/fao_2000.py index 57380e279b22..4755cdea0938 100644 --- a/etl/steps/data/meadow/agriculture/2024-05-23/fao_2000.py +++ b/etl/steps/data/meadow/agriculture/2024-05-23/fao_2000.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/agriculture/2024-05-23/fogel_2004.py b/etl/steps/data/meadow/agriculture/2024-05-23/fogel_2004.py index 37003fd7d709..ab1066b289d5 100644 --- a/etl/steps/data/meadow/agriculture/2024-05-23/fogel_2004.py +++ b/etl/steps/data/meadow/agriculture/2024-05-23/fogel_2004.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/agriculture/2024-05-23/grigg_1995.py b/etl/steps/data/meadow/agriculture/2024-05-23/grigg_1995.py index 82caf2002e5b..9159cf0bbe54 100644 --- a/etl/steps/data/meadow/agriculture/2024-05-23/grigg_1995.py +++ b/etl/steps/data/meadow/agriculture/2024-05-23/grigg_1995.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/agriculture/2024-05-23/jonsson_1998.py b/etl/steps/data/meadow/agriculture/2024-05-23/jonsson_1998.py index f7b97a260a4c..0925d95e407f 100644 --- a/etl/steps/data/meadow/agriculture/2024-05-23/jonsson_1998.py +++ b/etl/steps/data/meadow/agriculture/2024-05-23/jonsson_1998.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/animal_welfare/2023-09-01/chick_culling_laws.py b/etl/steps/data/meadow/animal_welfare/2023-09-01/chick_culling_laws.py index c0e2889058e7..11d14575a072 100644 --- a/etl/steps/data/meadow/animal_welfare/2023-09-01/chick_culling_laws.py +++ b/etl/steps/data/meadow/animal_welfare/2023-09-01/chick_culling_laws.py @@ -1,6 +1,4 @@ -"""Load a snapshot and create a meadow dataset. - -""" +"""Load a snapshot and create a meadow dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/animal_welfare/2023-09-05/bullfighting_laws.py b/etl/steps/data/meadow/animal_welfare/2023-09-05/bullfighting_laws.py index 0a03346d0d9b..229dea290f30 100644 --- a/etl/steps/data/meadow/animal_welfare/2023-09-05/bullfighting_laws.py +++ b/etl/steps/data/meadow/animal_welfare/2023-09-05/bullfighting_laws.py @@ -1,6 +1,4 @@ -"""Load a snapshot and create a meadow dataset. - -""" +"""Load a snapshot and create a meadow dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/animal_welfare/2023-10-24/fur_laws.py b/etl/steps/data/meadow/animal_welfare/2023-10-24/fur_laws.py index d6c740e6a3e6..61b7052b97e0 100644 --- a/etl/steps/data/meadow/animal_welfare/2023-10-24/fur_laws.py +++ b/etl/steps/data/meadow/animal_welfare/2023-10-24/fur_laws.py @@ -1,6 +1,4 @@ -"""Load a snapshot and create a meadow dataset. - -""" +"""Load a snapshot and create a meadow dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/animal_welfare/2024-06-04/bullfighting_laws.py b/etl/steps/data/meadow/animal_welfare/2024-06-04/bullfighting_laws.py index 0a03346d0d9b..229dea290f30 100644 --- a/etl/steps/data/meadow/animal_welfare/2024-06-04/bullfighting_laws.py +++ b/etl/steps/data/meadow/animal_welfare/2024-06-04/bullfighting_laws.py @@ -1,6 +1,4 @@ -"""Load a snapshot and create a meadow dataset. - -""" +"""Load a snapshot and create a meadow dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/animal_welfare/2024-09-13/fur_laws.py b/etl/steps/data/meadow/animal_welfare/2024-09-13/fur_laws.py index 931e4bd286ac..4dfa99c210ef 100644 --- a/etl/steps/data/meadow/animal_welfare/2024-09-13/fur_laws.py +++ b/etl/steps/data/meadow/animal_welfare/2024-09-13/fur_laws.py @@ -1,6 +1,4 @@ -"""Load a snapshot and create a meadow dataset. - -""" +"""Load a snapshot and create a meadow dataset.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/artificial_intelligence/2023-06-21/epoch.py b/etl/steps/data/meadow/artificial_intelligence/2023-06-21/epoch.py index 68f7786b5bf1..30746a707c87 100644 --- a/etl/steps/data/meadow/artificial_intelligence/2023-06-21/epoch.py +++ b/etl/steps/data/meadow/artificial_intelligence/2023-06-21/epoch.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - import numpy as np from owid.catalog import Table from structlog import get_logger diff --git a/etl/steps/data/meadow/artificial_intelligence/2024-01-30/yougov_job_automation.py b/etl/steps/data/meadow/artificial_intelligence/2024-01-30/yougov_job_automation.py index 77f6d374f533..a5b9ed6b9e28 100644 --- a/etl/steps/data/meadow/artificial_intelligence/2024-01-30/yougov_job_automation.py +++ b/etl/steps/data/meadow/artificial_intelligence/2024-01-30/yougov_job_automation.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - import shared from structlog import get_logger diff --git a/etl/steps/data/meadow/artificial_intelligence/2024-01-30/yougov_robots.py b/etl/steps/data/meadow/artificial_intelligence/2024-01-30/yougov_robots.py index ce952025d2ed..8bea38ec2cc9 100644 --- a/etl/steps/data/meadow/artificial_intelligence/2024-01-30/yougov_robots.py +++ b/etl/steps/data/meadow/artificial_intelligence/2024-01-30/yougov_robots.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - import shared from structlog import get_logger diff --git a/etl/steps/data/meadow/aviation_safety_network/2022-10-12/aviation_statistics.py b/etl/steps/data/meadow/aviation_safety_network/2022-10-12/aviation_statistics.py index e6583b346a4a..4c9c31933789 100644 --- a/etl/steps/data/meadow/aviation_safety_network/2022-10-12/aviation_statistics.py +++ b/etl/steps/data/meadow/aviation_safety_network/2022-10-12/aviation_statistics.py @@ -2,6 +2,7 @@ Safety Network. """ + from typing import cast import pandas as pd diff --git a/etl/steps/data/meadow/climate/2024-01-31/ghg_concentration.py b/etl/steps/data/meadow/climate/2024-01-31/ghg_concentration.py index 1ca24557052b..851a9ca48507 100644 --- a/etl/steps/data/meadow/climate/2024-01-31/ghg_concentration.py +++ b/etl/steps/data/meadow/climate/2024-01-31/ghg_concentration.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-01-31/hawaii_ocean_time_series.py b/etl/steps/data/meadow/climate/2024-01-31/hawaii_ocean_time_series.py index 0544b0cb6384..0531bf1f1aab 100644 --- a/etl/steps/data/meadow/climate/2024-01-31/hawaii_ocean_time_series.py +++ b/etl/steps/data/meadow/climate/2024-01-31/hawaii_ocean_time_series.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-01-31/surface_temperature_analysis.py b/etl/steps/data/meadow/climate/2024-01-31/surface_temperature_analysis.py index 88791a644b74..ff64d875f6c2 100644 --- a/etl/steps/data/meadow/climate/2024-01-31/surface_temperature_analysis.py +++ b/etl/steps/data/meadow/climate/2024-01-31/surface_temperature_analysis.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-03-11/ghg_concentration.py b/etl/steps/data/meadow/climate/2024-03-11/ghg_concentration.py index 1ca24557052b..851a9ca48507 100644 --- a/etl/steps/data/meadow/climate/2024-03-11/ghg_concentration.py +++ b/etl/steps/data/meadow/climate/2024-03-11/ghg_concentration.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-03-11/hawaii_ocean_time_series.py b/etl/steps/data/meadow/climate/2024-03-11/hawaii_ocean_time_series.py index 0544b0cb6384..0531bf1f1aab 100644 --- a/etl/steps/data/meadow/climate/2024-03-11/hawaii_ocean_time_series.py +++ b/etl/steps/data/meadow/climate/2024-03-11/hawaii_ocean_time_series.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-03-11/surface_temperature_analysis.py b/etl/steps/data/meadow/climate/2024-03-11/surface_temperature_analysis.py index 88791a644b74..ff64d875f6c2 100644 --- a/etl/steps/data/meadow/climate/2024-03-11/surface_temperature_analysis.py +++ b/etl/steps/data/meadow/climate/2024-03-11/surface_temperature_analysis.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-04-17/ghg_concentration.py b/etl/steps/data/meadow/climate/2024-04-17/ghg_concentration.py index 1ca24557052b..851a9ca48507 100644 --- a/etl/steps/data/meadow/climate/2024-04-17/ghg_concentration.py +++ b/etl/steps/data/meadow/climate/2024-04-17/ghg_concentration.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-04-17/hawaii_ocean_time_series.py b/etl/steps/data/meadow/climate/2024-04-17/hawaii_ocean_time_series.py index 0544b0cb6384..0531bf1f1aab 100644 --- a/etl/steps/data/meadow/climate/2024-04-17/hawaii_ocean_time_series.py +++ b/etl/steps/data/meadow/climate/2024-04-17/hawaii_ocean_time_series.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-04-17/surface_temperature_analysis.py b/etl/steps/data/meadow/climate/2024-04-17/surface_temperature_analysis.py index 88791a644b74..ff64d875f6c2 100644 --- a/etl/steps/data/meadow/climate/2024-04-17/surface_temperature_analysis.py +++ b/etl/steps/data/meadow/climate/2024-04-17/surface_temperature_analysis.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-05-20/ghg_concentration.py b/etl/steps/data/meadow/climate/2024-05-20/ghg_concentration.py index 1ca24557052b..851a9ca48507 100644 --- a/etl/steps/data/meadow/climate/2024-05-20/ghg_concentration.py +++ b/etl/steps/data/meadow/climate/2024-05-20/ghg_concentration.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-05-20/hawaii_ocean_time_series.py b/etl/steps/data/meadow/climate/2024-05-20/hawaii_ocean_time_series.py index 0544b0cb6384..0531bf1f1aab 100644 --- a/etl/steps/data/meadow/climate/2024-05-20/hawaii_ocean_time_series.py +++ b/etl/steps/data/meadow/climate/2024-05-20/hawaii_ocean_time_series.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-05-20/surface_temperature_analysis.py b/etl/steps/data/meadow/climate/2024-05-20/surface_temperature_analysis.py index 88791a644b74..ff64d875f6c2 100644 --- a/etl/steps/data/meadow/climate/2024-05-20/surface_temperature_analysis.py +++ b/etl/steps/data/meadow/climate/2024-05-20/surface_temperature_analysis.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-07-23/ghg_concentration.py b/etl/steps/data/meadow/climate/2024-07-23/ghg_concentration.py index 1ca24557052b..851a9ca48507 100644 --- a/etl/steps/data/meadow/climate/2024-07-23/ghg_concentration.py +++ b/etl/steps/data/meadow/climate/2024-07-23/ghg_concentration.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-07-23/hawaii_ocean_time_series.py b/etl/steps/data/meadow/climate/2024-07-23/hawaii_ocean_time_series.py index 0544b0cb6384..0531bf1f1aab 100644 --- a/etl/steps/data/meadow/climate/2024-07-23/hawaii_ocean_time_series.py +++ b/etl/steps/data/meadow/climate/2024-07-23/hawaii_ocean_time_series.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-07-23/surface_temperature_analysis.py b/etl/steps/data/meadow/climate/2024-07-23/surface_temperature_analysis.py index 88791a644b74..ff64d875f6c2 100644 --- a/etl/steps/data/meadow/climate/2024-07-23/surface_temperature_analysis.py +++ b/etl/steps/data/meadow/climate/2024-07-23/surface_temperature_analysis.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-09-30/ghg_concentration.py b/etl/steps/data/meadow/climate/2024-09-30/ghg_concentration.py index 1ca24557052b..851a9ca48507 100644 --- a/etl/steps/data/meadow/climate/2024-09-30/ghg_concentration.py +++ b/etl/steps/data/meadow/climate/2024-09-30/ghg_concentration.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-09-30/hawaii_ocean_time_series.py b/etl/steps/data/meadow/climate/2024-09-30/hawaii_ocean_time_series.py index 0544b0cb6384..0531bf1f1aab 100644 --- a/etl/steps/data/meadow/climate/2024-09-30/hawaii_ocean_time_series.py +++ b/etl/steps/data/meadow/climate/2024-09-30/hawaii_ocean_time_series.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-09-30/surface_temperature_analysis.py b/etl/steps/data/meadow/climate/2024-09-30/surface_temperature_analysis.py index 88791a644b74..ff64d875f6c2 100644 --- a/etl/steps/data/meadow/climate/2024-09-30/surface_temperature_analysis.py +++ b/etl/steps/data/meadow/climate/2024-09-30/surface_temperature_analysis.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-11-18/ghg_concentration.py b/etl/steps/data/meadow/climate/2024-11-18/ghg_concentration.py index 1ca24557052b..851a9ca48507 100644 --- a/etl/steps/data/meadow/climate/2024-11-18/ghg_concentration.py +++ b/etl/steps/data/meadow/climate/2024-11-18/ghg_concentration.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-11-18/hawaii_ocean_time_series.py b/etl/steps/data/meadow/climate/2024-11-18/hawaii_ocean_time_series.py index 0544b0cb6384..0531bf1f1aab 100644 --- a/etl/steps/data/meadow/climate/2024-11-18/hawaii_ocean_time_series.py +++ b/etl/steps/data/meadow/climate/2024-11-18/hawaii_ocean_time_series.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate/2024-11-18/surface_temperature_analysis.py b/etl/steps/data/meadow/climate/2024-11-18/surface_temperature_analysis.py index 88791a644b74..ff64d875f6c2 100644 --- a/etl/steps/data/meadow/climate/2024-11-18/surface_temperature_analysis.py +++ b/etl/steps/data/meadow/climate/2024-11-18/surface_temperature_analysis.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/climate_watch/2023-10-31/emissions_by_sector.py b/etl/steps/data/meadow/climate_watch/2023-10-31/emissions_by_sector.py index 4f6902d5d050..1afc4cb6bd3b 100644 --- a/etl/steps/data/meadow/climate_watch/2023-10-31/emissions_by_sector.py +++ b/etl/steps/data/meadow/climate_watch/2023-10-31/emissions_by_sector.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + import gzip import json diff --git a/etl/steps/data/meadow/climate_watch/2024-11-21/emissions_by_sector.py b/etl/steps/data/meadow/climate_watch/2024-11-21/emissions_by_sector.py index 69072db0a22a..cf98a8f14227 100644 --- a/etl/steps/data/meadow/climate_watch/2024-11-21/emissions_by_sector.py +++ b/etl/steps/data/meadow/climate_watch/2024-11-21/emissions_by_sector.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + import gzip import json diff --git a/etl/steps/data/meadow/covid/latest/sweden_covid.py b/etl/steps/data/meadow/covid/latest/sweden_covid.py index 6a3e3cc79756..e699ea2dbe39 100644 --- a/etl/steps/data/meadow/covid/latest/sweden_covid.py +++ b/etl/steps/data/meadow/covid/latest/sweden_covid.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/democracy/2024-05-22/eiu.py b/etl/steps/data/meadow/democracy/2024-05-22/eiu.py index 5c1513451f46..1e9b05f59416 100644 --- a/etl/steps/data/meadow/democracy/2024-05-22/eiu.py +++ b/etl/steps/data/meadow/democracy/2024-05-22/eiu.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + from owid.catalog.tables import Table, concat from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/education/2023-08-14/oecd_education.py b/etl/steps/data/meadow/education/2023-08-14/oecd_education.py index eba65ac3bb3b..7e367c982afa 100644 --- a/etl/steps/data/meadow/education/2023-08-14/oecd_education.py +++ b/etl/steps/data/meadow/education/2023-08-14/oecd_education.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/ember/2022-08-01/european_electricity_review.py b/etl/steps/data/meadow/ember/2022-08-01/european_electricity_review.py index a4d536ae6081..48a34a2de068 100644 --- a/etl/steps/data/meadow/ember/2022-08-01/european_electricity_review.py +++ b/etl/steps/data/meadow/ember/2022-08-01/european_electricity_review.py @@ -1,6 +1,4 @@ -"""Meadow step for European Electricity Review (Ember, 2022). - -""" +"""Meadow step for European Electricity Review (Ember, 2022).""" from pathlib import Path from tempfile import TemporaryDirectory diff --git a/etl/steps/data/meadow/ember/2022-08-01/global_electricity_review.py b/etl/steps/data/meadow/ember/2022-08-01/global_electricity_review.py index b9fe1a47e41d..8d20bed9eab2 100644 --- a/etl/steps/data/meadow/ember/2022-08-01/global_electricity_review.py +++ b/etl/steps/data/meadow/ember/2022-08-01/global_electricity_review.py @@ -1,6 +1,4 @@ -"""Meadow step for Global Electricity Review (Ember, 2022). - -""" +"""Meadow step for Global Electricity Review (Ember, 2022).""" import pandas as pd from owid.catalog import Dataset, Table, TableMeta diff --git a/etl/steps/data/meadow/ember/2023-07-10/yearly_electricity.py b/etl/steps/data/meadow/ember/2023-07-10/yearly_electricity.py index 51543bc00544..df026f4f1fb9 100644 --- a/etl/steps/data/meadow/ember/2023-07-10/yearly_electricity.py +++ b/etl/steps/data/meadow/ember/2023-07-10/yearly_electricity.py @@ -1,6 +1,5 @@ -"""Load snapshot of Ember's Yearly Electricity Data and create a raw data table. +"""Load snapshot of Ember's Yearly Electricity Data and create a raw data table.""" -""" from etl.helpers import PathFinder, create_dataset # Get naming conventions. diff --git a/etl/steps/data/meadow/ember/2023-12-12/european_electricity_review.py b/etl/steps/data/meadow/ember/2023-12-12/european_electricity_review.py index ec12f351a0d7..438db18f2a3b 100644 --- a/etl/steps/data/meadow/ember/2023-12-12/european_electricity_review.py +++ b/etl/steps/data/meadow/ember/2023-12-12/european_electricity_review.py @@ -1,6 +1,4 @@ -"""Meadow step for European Electricity Review (Ember, 2022). - -""" +"""Meadow step for European Electricity Review (Ember, 2022).""" from pathlib import Path from tempfile import TemporaryDirectory diff --git a/etl/steps/data/meadow/ember/2023-12-12/yearly_electricity.py b/etl/steps/data/meadow/ember/2023-12-12/yearly_electricity.py index 329d515d2c8c..76dbc792ece6 100644 --- a/etl/steps/data/meadow/ember/2023-12-12/yearly_electricity.py +++ b/etl/steps/data/meadow/ember/2023-12-12/yearly_electricity.py @@ -1,6 +1,5 @@ -"""Load snapshot of Ember's Yearly Electricity Data and create a raw data table. +"""Load snapshot of Ember's Yearly Electricity Data and create a raw data table.""" -""" from etl.helpers import PathFinder, create_dataset # Get naming conventions. diff --git a/etl/steps/data/meadow/ember/2024-05-08/yearly_electricity.py b/etl/steps/data/meadow/ember/2024-05-08/yearly_electricity.py index 11ccaed2eac4..d93a4609ce1f 100644 --- a/etl/steps/data/meadow/ember/2024-05-08/yearly_electricity.py +++ b/etl/steps/data/meadow/ember/2024-05-08/yearly_electricity.py @@ -1,6 +1,5 @@ -"""Load snapshot of Ember's Yearly Electricity Data and create a raw data table. +"""Load snapshot of Ember's Yearly Electricity Data and create a raw data table.""" -""" from etl.helpers import PathFinder, create_dataset # Get naming conventions. diff --git a/etl/steps/data/meadow/emdat/2023-09-20/natural_disasters.py b/etl/steps/data/meadow/emdat/2023-09-20/natural_disasters.py index 5ef3c0573268..720d60180961 100644 --- a/etl/steps/data/meadow/emdat/2023-09-20/natural_disasters.py +++ b/etl/steps/data/meadow/emdat/2023-09-20/natural_disasters.py @@ -1,6 +1,5 @@ -"""Load snapshot of EM-DAT natural disasters data and prepare a table with basic metadata. +"""Load snapshot of EM-DAT natural disasters data and prepare a table with basic metadata.""" -""" import warnings from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/emdat/2024-04-11/natural_disasters.py b/etl/steps/data/meadow/emdat/2024-04-11/natural_disasters.py index f7bf13921d06..5ea3cb543317 100644 --- a/etl/steps/data/meadow/emdat/2024-04-11/natural_disasters.py +++ b/etl/steps/data/meadow/emdat/2024-04-11/natural_disasters.py @@ -1,6 +1,5 @@ -"""Load snapshot of EM-DAT natural disasters data and prepare a table with basic metadata. +"""Load snapshot of EM-DAT natural disasters data and prepare a table with basic metadata.""" -""" from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/ess/2023-08-02/ess_trust.py b/etl/steps/data/meadow/ess/2023-08-02/ess_trust.py index 27b0aba56a1f..04fbafe2b8eb 100644 --- a/etl/steps/data/meadow/ess/2023-08-02/ess_trust.py +++ b/etl/steps/data/meadow/ess/2023-08-02/ess_trust.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - import owid.catalog.processing as pr from owid.catalog import Table from structlog import get_logger diff --git a/etl/steps/data/meadow/excess_mortality/latest/wmd.py b/etl/steps/data/meadow/excess_mortality/latest/wmd.py index 57e31272ad5b..7538e2336484 100644 --- a/etl/steps/data/meadow/excess_mortality/latest/wmd.py +++ b/etl/steps/data/meadow/excess_mortality/latest/wmd.py @@ -1,6 +1,7 @@ """Load a snapshot and create a meadow dataset. In this step we perform sanity checks on the expected input fields and the values that they take.""" + import pandas as pd from owid.catalog import Dataset, Table from structlog import get_logger diff --git a/etl/steps/data/meadow/excess_mortality/latest/xm_karlinsky_kobak.py b/etl/steps/data/meadow/excess_mortality/latest/xm_karlinsky_kobak.py index d8e5b339dcd5..2d7e5b9ae644 100644 --- a/etl/steps/data/meadow/excess_mortality/latest/xm_karlinsky_kobak.py +++ b/etl/steps/data/meadow/excess_mortality/latest/xm_karlinsky_kobak.py @@ -1,6 +1,7 @@ """Load a snapshot and create a meadow dataset. In this step we perform sanity checks on the expected input fields and the values that they take.""" + from pathlib import Path from typing import List, Union diff --git a/etl/steps/data/meadow/faostat/2022-05-17/shared.py b/etl/steps/data/meadow/faostat/2022-05-17/shared.py index f772fa2ba5a7..7fe899b2c0a6 100644 --- a/etl/steps/data/meadow/faostat/2022-05-17/shared.py +++ b/etl/steps/data/meadow/faostat/2022-05-17/shared.py @@ -1,6 +1,4 @@ -"""Shared definitions in FAOSTAT meadow steps. - -""" +"""Shared definitions in FAOSTAT meadow steps.""" import os import tempfile diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_cahd.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_cahd.py index cc99efc2b229..cef3521be9c9 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_cahd.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_cahd.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_cahd dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ef.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ef.py index c1b3ce5eec87..757b5e02430a 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ef.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ef.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_ef dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ei.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ei.py index 8f8c520ac1cd..4b0d4348390b 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ei.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ei.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_ei dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ek.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ek.py index 8affbd5ac708..07c3f4309aa3 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ek.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ek.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_ek dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_el.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_el.py index 7cda6b5ced70..d164df98484a 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_el.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_el.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_el dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_emn.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_emn.py index e0341d5f29b9..ea75d7c0fa2c 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_emn.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_emn.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_emn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ep.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ep.py index de1278faacfb..9c82c265ac22 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ep.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ep.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_ep dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_esb.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_esb.py index d90d2c0538ac..34d158e65e61 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_esb.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_esb.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_esb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_fa.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_fa.py index 29014f1b54a2..3e8f14ecaa74 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_fa.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_fa.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_fa dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_fbs.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_fbs.py index 65cbf54e4e35..4679d59bf798 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_fbs.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_fbs.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_fbs dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_fbsh.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_fbsh.py index ef0b72333570..a0a2333ad846 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_fbsh.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_fbsh.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_fbsh dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_fo.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_fo.py index 9932ebb47182..7cbcc918865f 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_fo.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_fo.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_fo dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_fs.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_fs.py index 74f1892050ea..a76c3fc43da7 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_fs.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_fs.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_fs dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_gn.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_gn.py index 6cc1cdd3414c..da4c69b9e625 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_gn.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_gn.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_gn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ic.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ic.py index 76a7833c6f88..267297ac8d7d 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ic.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ic.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_ic dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_lc.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_lc.py index a18b1892fbfc..81d970ea86b3 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_lc.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_lc.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_lc dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_qcl.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_qcl.py index d66b2edc113a..e0b4ba83df6c 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_qcl.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_qcl.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_qcl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_qi.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_qi.py index 460cc5faca5f..5baac7a230c5 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_qi.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_qi.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_qi dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_qv.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_qv.py index 07e74a4a95b1..746aa1e28185 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_qv.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_qv.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_qv dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_rfb.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_rfb.py index ae439c21964e..6d86069bc622 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_rfb.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_rfb.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_rfb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_rfn.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_rfn.py index bae546a50e54..642ae04efb0d 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_rfn.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_rfn.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_rfn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_rl.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_rl.py index cb95f2263fbb..7057af86a812 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_rl.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_rl.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_rl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_rp.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_rp.py index 010769e5587e..19292b5d51e9 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_rp.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_rp.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_rp dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_rt.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_rt.py index 7254a8063e91..08f4ac56b0e7 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_rt.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_rt.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_rt dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_scl.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_scl.py index e9fc0ab99e4e..6491839aea0c 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_scl.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_scl.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_scl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_sdgb.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_sdgb.py index bde23c34c06c..6c5486c50d9c 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_sdgb.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_sdgb.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_sdgb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_tcl.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_tcl.py index c5299c892af3..9dff4b274a5a 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_tcl.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_tcl.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_tcl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ti.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ti.py index 9cfc9f9af7aa..b1a21e2f48b7 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_ti.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_ti.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_ti dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2023-06-12/faostat_wcad.py b/etl/steps/data/meadow/faostat/2023-06-12/faostat_wcad.py index e3e3d84a0a8b..85f48b139360 100644 --- a/etl/steps/data/meadow/faostat/2023-06-12/faostat_wcad.py +++ b/etl/steps/data/meadow/faostat/2023-06-12/faostat_wcad.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_wcad dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_cahd.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_cahd.py index cc99efc2b229..cef3521be9c9 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_cahd.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_cahd.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_cahd dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_ei.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_ei.py index 8f8c520ac1cd..4b0d4348390b 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_ei.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_ei.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_ei dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_ek.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_ek.py index 8affbd5ac708..07c3f4309aa3 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_ek.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_ek.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_ek dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_emn.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_emn.py index e0341d5f29b9..ea75d7c0fa2c 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_emn.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_emn.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_emn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_esb.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_esb.py index d90d2c0538ac..34d158e65e61 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_esb.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_esb.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_esb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_fa.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_fa.py index 29014f1b54a2..3e8f14ecaa74 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_fa.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_fa.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_fa dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_fbs.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_fbs.py index 65cbf54e4e35..4679d59bf798 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_fbs.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_fbs.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_fbs dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_fbsh.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_fbsh.py index ef0b72333570..a0a2333ad846 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_fbsh.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_fbsh.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_fbsh dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_fo.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_fo.py index 9932ebb47182..7cbcc918865f 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_fo.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_fo.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_fo dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_fs.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_fs.py index 74f1892050ea..a76c3fc43da7 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_fs.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_fs.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_fs dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_ic.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_ic.py index 76a7833c6f88..267297ac8d7d 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_ic.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_ic.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_ic dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_lc.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_lc.py index a18b1892fbfc..81d970ea86b3 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_lc.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_lc.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_lc dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_qcl.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_qcl.py index d66b2edc113a..e0b4ba83df6c 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_qcl.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_qcl.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_qcl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_qi.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_qi.py index 460cc5faca5f..5baac7a230c5 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_qi.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_qi.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_qi dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_qv.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_qv.py index 07e74a4a95b1..746aa1e28185 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_qv.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_qv.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_qv dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_rfb.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_rfb.py index ae439c21964e..6d86069bc622 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_rfb.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_rfb.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_rfb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_rfn.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_rfn.py index bae546a50e54..642ae04efb0d 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_rfn.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_rfn.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_rfn dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_rl.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_rl.py index cb95f2263fbb..7057af86a812 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_rl.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_rl.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_rl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_rp.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_rp.py index 010769e5587e..19292b5d51e9 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_rp.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_rp.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_rp dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_rt.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_rt.py index 7254a8063e91..08f4ac56b0e7 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_rt.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_rt.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_rt dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_scl.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_scl.py index e9fc0ab99e4e..6491839aea0c 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_scl.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_scl.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_scl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_sdgb.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_sdgb.py index bde23c34c06c..6c5486c50d9c 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_sdgb.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_sdgb.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_sdgb dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_tcl.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_tcl.py index c5299c892af3..9dff4b274a5a 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_tcl.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_tcl.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_tcl dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/faostat/2024-03-14/faostat_ti.py b/etl/steps/data/meadow/faostat/2024-03-14/faostat_ti.py index 9cfc9f9af7aa..b1a21e2f48b7 100644 --- a/etl/steps/data/meadow/faostat/2024-03-14/faostat_ti.py +++ b/etl/steps/data/meadow/faostat/2024-03-14/faostat_ti.py @@ -1,2 +1,3 @@ """FAOSTAT meadow step for faostat_ti dataset.""" + from .shared import run # noqa:F401 diff --git a/etl/steps/data/meadow/gapminder/2024-07-08/maternal_mortality.py b/etl/steps/data/meadow/gapminder/2024-07-08/maternal_mortality.py index 6bd017d45c68..07c6be353bfe 100644 --- a/etl/steps/data/meadow/gapminder/2024-07-08/maternal_mortality.py +++ b/etl/steps/data/meadow/gapminder/2024-07-08/maternal_mortality.py @@ -64,9 +64,9 @@ def run(dest_dir: str) -> None: tb.loc[(tb["year"] == "1967") & (tb["Country"] == "Sweden") & (tb["Maternal deaths"] == 39), "year"] = "1957" # wrong entry for US (duplicate 1967 -> should be 1957) - tb.loc[ - (tb["year"] == "1967") & (tb["Country"] == "United States") & (tb["Live Births"] == 4308000), "year" - ] = "1957" + tb.loc[(tb["year"] == "1967") & (tb["Country"] == "United States") & (tb["Live Births"] == 4308000), "year"] = ( + "1957" + ) # wrong entry for Belgium (duplicate 1973 -> should be 1873) tb.loc[(tb["year"] == "1973") & (tb["Country"] == "Belgium") & (tb["Maternal deaths"] == 1283), "year"] = "1873" diff --git a/etl/steps/data/meadow/happiness/2012-03-20/happiness.py b/etl/steps/data/meadow/happiness/2012-03-20/happiness.py index 8fa79c6d2e80..10f3f8313072 100644 --- a/etl/steps/data/meadow/happiness/2012-03-20/happiness.py +++ b/etl/steps/data/meadow/happiness/2012-03-20/happiness.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + from datetime import datetime from typing import cast diff --git a/etl/steps/data/meadow/happiness/2023-03-20/happiness.py b/etl/steps/data/meadow/happiness/2023-03-20/happiness.py index d1196f03f265..f0709af3cd8e 100644 --- a/etl/steps/data/meadow/happiness/2023-03-20/happiness.py +++ b/etl/steps/data/meadow/happiness/2023-03-20/happiness.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + from datetime import datetime import pandas as pd diff --git a/etl/steps/data/meadow/harvard/2023-09-18/colonial_dates_dataset.py b/etl/steps/data/meadow/harvard/2023-09-18/colonial_dates_dataset.py index 8f04fd39fd04..cb15d8baf9a0 100644 --- a/etl/steps/data/meadow/harvard/2023-09-18/colonial_dates_dataset.py +++ b/etl/steps/data/meadow/harvard/2023-09-18/colonial_dates_dataset.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/hmd/2022-12-07/life_tables.py b/etl/steps/data/meadow/hmd/2022-12-07/life_tables.py index 064aa20471f8..d50ea06c9f67 100644 --- a/etl/steps/data/meadow/hmd/2022-12-07/life_tables.py +++ b/etl/steps/data/meadow/hmd/2022-12-07/life_tables.py @@ -28,6 +28,7 @@ ... """ + import os import re import tempfile diff --git a/etl/steps/data/meadow/hmd/2024-11-19/hfd.py b/etl/steps/data/meadow/hmd/2024-11-19/hfd.py index b785f4c433a0..01c6711e216d 100644 --- a/etl/steps/data/meadow/hmd/2024-11-19/hfd.py +++ b/etl/steps/data/meadow/hmd/2024-11-19/hfd.py @@ -215,6 +215,7 @@ 2y totbirthsRRbo """ + from pathlib import Path import owid.catalog.processing as pr diff --git a/etl/steps/data/meadow/igh/2024-07-05/better_data_homelessness.py b/etl/steps/data/meadow/igh/2024-07-05/better_data_homelessness.py index 6d5ff6be7154..8bc3663e5c71 100644 --- a/etl/steps/data/meadow/igh/2024-07-05/better_data_homelessness.py +++ b/etl/steps/data/meadow/igh/2024-07-05/better_data_homelessness.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/ihme_gbd/2024-07-02/gbd_healthy_life_expectancy.py b/etl/steps/data/meadow/ihme_gbd/2024-07-02/gbd_healthy_life_expectancy.py index 3bc912e841ee..7898ad6b4ab6 100644 --- a/etl/steps/data/meadow/ihme_gbd/2024-07-02/gbd_healthy_life_expectancy.py +++ b/etl/steps/data/meadow/ihme_gbd/2024-07-02/gbd_healthy_life_expectancy.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + import zipfile from owid.catalog import Table diff --git a/etl/steps/data/meadow/ihme_gbd/2024-07-02/gbd_life_expectancy.py b/etl/steps/data/meadow/ihme_gbd/2024-07-02/gbd_life_expectancy.py index f584c0f926e0..0dd79d04fe9c 100644 --- a/etl/steps/data/meadow/ihme_gbd/2024-07-02/gbd_life_expectancy.py +++ b/etl/steps/data/meadow/ihme_gbd/2024-07-02/gbd_life_expectancy.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + import zipfile from owid.catalog import Table diff --git a/etl/steps/data/meadow/irena/2023-12-12/renewable_energy_patents.py b/etl/steps/data/meadow/irena/2023-12-12/renewable_energy_patents.py index 44ec7c4668ce..40639318b86e 100644 --- a/etl/steps/data/meadow/irena/2023-12-12/renewable_energy_patents.py +++ b/etl/steps/data/meadow/irena/2023-12-12/renewable_energy_patents.py @@ -1,6 +1,5 @@ -"""Load snapshot of IRENA's Renewable Energy Patents and create a raw data table. +"""Load snapshot of IRENA's Renewable Energy Patents and create a raw data table.""" -""" from etl.helpers import PathFinder, create_dataset # Get naming conventions. diff --git a/etl/steps/data/meadow/language/2024-07-17/ethnologue.py b/etl/steps/data/meadow/language/2024-07-17/ethnologue.py index 1958a9492a39..44ff142e03cc 100644 --- a/etl/steps/data/meadow/language/2024-07-17/ethnologue.py +++ b/etl/steps/data/meadow/language/2024-07-17/ethnologue.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + import zipfile from owid.catalog import processing as pr diff --git a/etl/steps/data/meadow/lis/2024-06-13/luxembourg_income_study.py b/etl/steps/data/meadow/lis/2024-06-13/luxembourg_income_study.py index 7e10a215d88c..4b3daa7a5666 100644 --- a/etl/steps/data/meadow/lis/2024-06-13/luxembourg_income_study.py +++ b/etl/steps/data/meadow/lis/2024-06-13/luxembourg_income_study.py @@ -3,7 +3,6 @@ Country names are converted from iso-2 codes in this step and years are reformated from "YY" to "YYYY" """ - from typing import Dict import owid.catalog.processing as pr diff --git a/etl/steps/data/meadow/neglected_tropical_diseases/2024-05-02/soil_transmitted_helminthiases.py b/etl/steps/data/meadow/neglected_tropical_diseases/2024-05-02/soil_transmitted_helminthiases.py index 1906d22ab591..64ff794a725e 100644 --- a/etl/steps/data/meadow/neglected_tropical_diseases/2024-05-02/soil_transmitted_helminthiases.py +++ b/etl/steps/data/meadow/neglected_tropical_diseases/2024-05-02/soil_transmitted_helminthiases.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - import numpy as np from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/ophi/2022-12-13/multidimensional_poverty_index.py b/etl/steps/data/meadow/ophi/2022-12-13/multidimensional_poverty_index.py index 6f7ebee55783..d3b2ad45c11f 100644 --- a/etl/steps/data/meadow/ophi/2022-12-13/multidimensional_poverty_index.py +++ b/etl/steps/data/meadow/ophi/2022-12-13/multidimensional_poverty_index.py @@ -1,5 +1,4 @@ -"""Load snapshot of Multidimensional Poverty Index data and prepare a table with basic metadata. -""" +"""Load snapshot of Multidimensional Poverty Index data and prepare a table with basic metadata.""" import pandas as pd from owid.catalog import Dataset, Table, TableMeta diff --git a/etl/steps/data/meadow/papers/2023-02-03/riley_2005/__init__.py b/etl/steps/data/meadow/papers/2023-02-03/riley_2005/__init__.py index aa967c89c909..56238b891d4f 100644 --- a/etl/steps/data/meadow/papers/2023-02-03/riley_2005/__init__.py +++ b/etl/steps/data/meadow/papers/2023-02-03/riley_2005/__init__.py @@ -9,6 +9,7 @@ I decided to manually extract the data from the PDF and save it as a CSV and get feedback from authors. """ + import hashlib import pandas as pd diff --git a/etl/steps/data/meadow/papers/2023-07-10/farmer_lafond_2016.py b/etl/steps/data/meadow/papers/2023-07-10/farmer_lafond_2016.py index 64714f531570..f5dd7cba6c53 100644 --- a/etl/steps/data/meadow/papers/2023-07-10/farmer_lafond_2016.py +++ b/etl/steps/data/meadow/papers/2023-07-10/farmer_lafond_2016.py @@ -1,6 +1,4 @@ -"""Load snapshot of Farmer & Lafond (2016) data and create a table. - -""" +"""Load snapshot of Farmer & Lafond (2016) data and create a table.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/papers/2023-07-10/nemet_2009.py b/etl/steps/data/meadow/papers/2023-07-10/nemet_2009.py index 3b8abc454395..94adfdf13c97 100644 --- a/etl/steps/data/meadow/papers/2023-07-10/nemet_2009.py +++ b/etl/steps/data/meadow/papers/2023-07-10/nemet_2009.py @@ -1,6 +1,4 @@ -"""Load snapshot of Nemet (2009) data and create a table. - -""" +"""Load snapshot of Nemet (2009) data and create a table.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/papers/2023-12-12/farmer_lafond_2016.py b/etl/steps/data/meadow/papers/2023-12-12/farmer_lafond_2016.py index 70493c8fb689..0748d357b2ec 100644 --- a/etl/steps/data/meadow/papers/2023-12-12/farmer_lafond_2016.py +++ b/etl/steps/data/meadow/papers/2023-12-12/farmer_lafond_2016.py @@ -1,6 +1,4 @@ -"""Load snapshot of Farmer & Lafond (2016) data and create a table. - -""" +"""Load snapshot of Farmer & Lafond (2016) data and create a table.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/papers/2023-12-12/nemet_2009.py b/etl/steps/data/meadow/papers/2023-12-12/nemet_2009.py index 1c47526d1e11..eccb0b0b68ee 100644 --- a/etl/steps/data/meadow/papers/2023-12-12/nemet_2009.py +++ b/etl/steps/data/meadow/papers/2023-12-12/nemet_2009.py @@ -1,6 +1,4 @@ -"""Load snapshot of Nemet (2009) data and create a table. - -""" +"""Load snapshot of Nemet (2009) data and create a table.""" from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/survey/2023-08-04/latinobarometro_trust.py b/etl/steps/data/meadow/survey/2023-08-04/latinobarometro_trust.py index d2e05040b670..25f0a3746472 100644 --- a/etl/steps/data/meadow/survey/2023-08-04/latinobarometro_trust.py +++ b/etl/steps/data/meadow/survey/2023-08-04/latinobarometro_trust.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/survey/2023-08-07/afrobarometer_trust.py b/etl/steps/data/meadow/survey/2023-08-07/afrobarometer_trust.py index d09af925f1fb..7fb073e1408d 100644 --- a/etl/steps/data/meadow/survey/2023-08-07/afrobarometer_trust.py +++ b/etl/steps/data/meadow/survey/2023-08-07/afrobarometer_trust.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/temp/latest/step.py b/etl/steps/data/meadow/temp/latest/step.py index a77f94f00c62..e6a84f4c918e 100644 --- a/etl/steps/data/meadow/temp/latest/step.py +++ b/etl/steps/data/meadow/temp/latest/step.py @@ -1,4 +1,5 @@ """Dummy file created for consistency.""" + from etl.helpers import create_dataset diff --git a/etl/steps/data/meadow/un/2023-08-02/comtrade_pandemics.py b/etl/steps/data/meadow/un/2023-08-02/comtrade_pandemics.py index c0553dddb86c..67958d66d68c 100644 --- a/etl/steps/data/meadow/un/2023-08-02/comtrade_pandemics.py +++ b/etl/steps/data/meadow/un/2023-08-02/comtrade_pandemics.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - import owid.catalog.processing as pr from etl.helpers import PathFinder, create_dataset diff --git a/etl/steps/data/meadow/un/2024-07-11/un_wpp.py b/etl/steps/data/meadow/un/2024-07-11/un_wpp.py index 7a7356063611..2be7dd0737e0 100644 --- a/etl/steps/data/meadow/un/2024-07-11/un_wpp.py +++ b/etl/steps/data/meadow/un/2024-07-11/un_wpp.py @@ -7,6 +7,7 @@ - Format the tables to have them in long format - Set indices and verify integrity """ + import owid.catalog.processing as pr from owid.catalog import Table from owid.catalog.tables import concat diff --git a/etl/steps/data/meadow/un/2024-07-12/un_wpp.py b/etl/steps/data/meadow/un/2024-07-12/un_wpp.py index 1374b39e23ab..547f11cb86b9 100644 --- a/etl/steps/data/meadow/un/2024-07-12/un_wpp.py +++ b/etl/steps/data/meadow/un/2024-07-12/un_wpp.py @@ -7,6 +7,7 @@ - Format the tables to have them in long format - Set indices and verify integrity """ + from typing import Dict, List, Optional, Tuple import numpy as np diff --git a/etl/steps/data/meadow/un/2024-07-16/migrant_stock.py b/etl/steps/data/meadow/un/2024-07-16/migrant_stock.py index 24dd7ea5ab3c..bf66c27ef2c8 100644 --- a/etl/steps/data/meadow/un/2024-07-16/migrant_stock.py +++ b/etl/steps/data/meadow/un/2024-07-16/migrant_stock.py @@ -1,5 +1,6 @@ """Load a snapshot and create a meadow dataset. -Meadow dataset is already very processed to """ +Meadow dataset is already very processed to""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/un/2024-08-27/un_sdg.py b/etl/steps/data/meadow/un/2024-08-27/un_sdg.py index fa79fcace31f..9878b6ba2bff 100644 --- a/etl/steps/data/meadow/un/2024-08-27/un_sdg.py +++ b/etl/steps/data/meadow/un/2024-08-27/un_sdg.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + import re import pandas as pd diff --git a/etl/steps/data/meadow/un_sdg/2021-09-30/un_sdg.ipynb b/etl/steps/data/meadow/un_sdg/2021-09-30/un_sdg.ipynb index bf07ea15252f..5fb39bd469e9 100644 --- a/etl/steps/data/meadow/un_sdg/2021-09-30/un_sdg.ipynb +++ b/etl/steps/data/meadow/un_sdg/2021-09-30/un_sdg.ipynb @@ -669,9 +669,7 @@ "metadata": {}, "outputs": [], "source": [ - "series = (\n", - " df.SeriesCode.unique()\n", - ") # I think it makes sense to have one table per series code and then drop out the empty columns in each table *but* it would be good to retain a link to the indicators - maybe another table...\n", + "series = df.SeriesCode.unique() # I think it makes sense to have one table per series code and then drop out the empty columns in each table *but* it would be good to retain a link to the indicators - maybe another table...\n", "\n", "df_dict = {elem: pd.DataFrame for elem in series}" ] diff --git a/etl/steps/data/meadow/unicef/2024-07-30/child_migration.py b/etl/steps/data/meadow/unicef/2024-07-30/child_migration.py index 18cc204c639b..9939fdb5b67f 100644 --- a/etl/steps/data/meadow/unicef/2024-07-30/child_migration.py +++ b/etl/steps/data/meadow/unicef/2024-07-30/child_migration.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/wash/2024-01-06/who.py b/etl/steps/data/meadow/wash/2024-01-06/who.py index 2de9833f5f3f..7cad00a4594e 100644 --- a/etl/steps/data/meadow/wash/2024-01-06/who.py +++ b/etl/steps/data/meadow/wash/2024-01-06/who.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + import numpy as np from owid.catalog import Table from owid.catalog import processing as pr diff --git a/etl/steps/data/meadow/wash/2024-02-15/bathing_water.py b/etl/steps/data/meadow/wash/2024-02-15/bathing_water.py index cfb2741ec6ac..ecd6c8e22cc0 100644 --- a/etl/steps/data/meadow/wash/2024-02-15/bathing_water.py +++ b/etl/steps/data/meadow/wash/2024-02-15/bathing_water.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + import zipfile from owid.catalog import processing as pr diff --git a/etl/steps/data/meadow/wb/2022-10-29/wb_gender/__init__.py b/etl/steps/data/meadow/wb/2022-10-29/wb_gender/__init__.py index 38b4fc4d470a..b2af5fda508b 100644 --- a/etl/steps/data/meadow/wb/2022-10-29/wb_gender/__init__.py +++ b/etl/steps/data/meadow/wb/2022-10-29/wb_gender/__init__.py @@ -1,4 +1,5 @@ """WB Gender Meadow step.""" + import re import tempfile from pathlib import Path diff --git a/etl/steps/data/meadow/who/2023-03-09/gho_suicides.py b/etl/steps/data/meadow/who/2023-03-09/gho_suicides.py index 28dc5359eca3..e1b8f381e1b8 100644 --- a/etl/steps/data/meadow/who/2023-03-09/gho_suicides.py +++ b/etl/steps/data/meadow/who/2023-03-09/gho_suicides.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + import json import pandas as pd diff --git a/etl/steps/data/meadow/who/2023-10-13/medical_devices_atlas.py b/etl/steps/data/meadow/who/2023-10-13/medical_devices_atlas.py index 7ea5eb28c94b..0be85a0b5629 100644 --- a/etl/steps/data/meadow/who/2023-10-13/medical_devices_atlas.py +++ b/etl/steps/data/meadow/who/2023-10-13/medical_devices_atlas.py @@ -24,9 +24,9 @@ def run(dest_dir: str) -> None: tb = tb[["Indicator", "Location", "Period", "Value"]] tb = tb.rename(columns={"Location": "country", "Period": "year", "Value": "value"}) - tb.loc[ - tb["year"] == "2017-2019", "year" - ] = "2018" # 2017-2019 is the average of 2017, 2018 and 2019 so we replace it with 2018 to be consistent with the other years + tb.loc[tb["year"] == "2017-2019", "year"] = ( + "2018" # 2017-2019 is the average of 2017, 2018 and 2019 so we replace it with 2018 to be consistent with the other years + ) # Ensure all columns are snake-case, set an appropriate index, and sort conveniently. tb = tb.underscore().set_index(["country", "year", "indicator"], verify_integrity=True).sort_index() diff --git a/etl/steps/data/meadow/who/2023-11-01/who_statins.py b/etl/steps/data/meadow/who/2023-11-01/who_statins.py index a6a1b4c9da3b..8fc29e892170 100644 --- a/etl/steps/data/meadow/who/2023-11-01/who_statins.py +++ b/etl/steps/data/meadow/who/2023-11-01/who_statins.py @@ -1,4 +1,5 @@ """Load a snapshot and create a meadow dataset.""" + from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/who/2024-03-24/self_inflicted_injuries.py b/etl/steps/data/meadow/who/2024-03-24/self_inflicted_injuries.py index 2324e5df760b..f75e75174d3d 100644 --- a/etl/steps/data/meadow/who/2024-03-24/self_inflicted_injuries.py +++ b/etl/steps/data/meadow/who/2024-03-24/self_inflicted_injuries.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/who/2024-04-26/avian_influenza_ah5n1.py b/etl/steps/data/meadow/who/2024-04-26/avian_influenza_ah5n1.py index a4bb6343b251..14779bbd97f2 100644 --- a/etl/steps/data/meadow/who/2024-04-26/avian_influenza_ah5n1.py +++ b/etl/steps/data/meadow/who/2024-04-26/avian_influenza_ah5n1.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/who/latest/avian_influenza_ah5n1.py b/etl/steps/data/meadow/who/latest/avian_influenza_ah5n1.py index a4bb6343b251..14779bbd97f2 100644 --- a/etl/steps/data/meadow/who/latest/avian_influenza_ah5n1.py +++ b/etl/steps/data/meadow/who/latest/avian_influenza_ah5n1.py @@ -1,6 +1,5 @@ """Load a snapshot and create a meadow dataset.""" - from etl.helpers import PathFinder, create_dataset # Get paths and naming conventions for current step. diff --git a/etl/steps/data/meadow/wid/2024-05-24/world_inequality_database.py b/etl/steps/data/meadow/wid/2024-05-24/world_inequality_database.py index 2778c1d89dc1..19cb53daa41b 100644 --- a/etl/steps/data/meadow/wid/2024-05-24/world_inequality_database.py +++ b/etl/steps/data/meadow/wid/2024-05-24/world_inequality_database.py @@ -1,6 +1,5 @@ """Load a snapshot and create the World Inequality Dataset meadow dataset.""" - import owid.catalog.processing as pr from owid.catalog import Table diff --git a/etl/steps/export/explorers/migration/2024-08-05/migration.py b/etl/steps/export/explorers/migration/2024-08-05/migration.py index 1a3e2c41557f..d6bc9c4cf726 100644 --- a/etl/steps/export/explorers/migration/2024-08-05/migration.py +++ b/etl/steps/export/explorers/migration/2024-08-05/migration.py @@ -1,4 +1,5 @@ """Load a grapher dataset and create an explorer dataset with its tsv file.""" + from pathlib import Path import pandas as pd diff --git a/etl/steps/export/github/co2_data/latest/owid_co2.py b/etl/steps/export/github/co2_data/latest/owid_co2.py index 98927151f8e9..27f669b95e41 100644 --- a/etl/steps/export/github/co2_data/latest/owid_co2.py +++ b/etl/steps/export/github/co2_data/latest/owid_co2.py @@ -14,6 +14,7 @@ * The README file. """ + import os import tempfile from pathlib import Path diff --git a/etl/steps/export/github/who/latest/monkeypox.py b/etl/steps/export/github/who/latest/monkeypox.py index f26d8e8868fe..4f11479c212a 100644 --- a/etl/steps/export/github/who/latest/monkeypox.py +++ b/etl/steps/export/github/who/latest/monkeypox.py @@ -1,4 +1,5 @@ """Load a grapher dataset and create an explorer dataset with its tsv file.""" + from apps.owidbot import github_utils as gh from etl import config from etl.helpers import PathFinder diff --git a/etl/steps/export/s3/co2_data/latest/owid_co2.py b/etl/steps/export/s3/co2_data/latest/owid_co2.py index 659737686845..2a66c829220d 100644 --- a/etl/steps/export/s3/co2_data/latest/owid_co2.py +++ b/etl/steps/export/s3/co2_data/latest/owid_co2.py @@ -16,6 +16,7 @@ * https://nyc3.digitaloceanspaces.com/owid-public/data/co2/owid-co2-data.json """ + import json import tempfile from pathlib import Path diff --git a/etl/version_tracker.py b/etl/version_tracker.py index 57f735417482..30d7f31274f8 100644 --- a/etl/version_tracker.py +++ b/etl/version_tracker.py @@ -633,14 +633,14 @@ def _days_since_step_creation(version): ] = UpdateState.ARCHIVABLE.value # There are special steps that, even though they are archivable or unused, we want to keep in the active dag. - steps_active_df.loc[ - steps_active_df["step"].isin(self.ARCHIVABLE_STEPS_TO_KEEP), "update_state" - ] = UpdateState.UP_TO_DATE.value + steps_active_df.loc[steps_active_df["step"].isin(self.ARCHIVABLE_STEPS_TO_KEEP), "update_state"] = ( + UpdateState.UP_TO_DATE.value + ) # All explorers and external steps should be considered up to date. - steps_active_df.loc[ - steps_active_df["channel"].isin(["explorers", "external"]), "update_state" - ] = UpdateState.UP_TO_DATE.value + steps_active_df.loc[steps_active_df["channel"].isin(["explorers", "external"]), "update_state"] = ( + UpdateState.UP_TO_DATE.value + ) # Add update state to archived steps. steps_inactive_df["update_state"] = UpdateState.ARCHIVED.value diff --git a/lib/catalog/owid/catalog/datasets.py b/lib/catalog/owid/catalog/datasets.py index 745563a2d81d..00a7c5d561f7 100644 --- a/lib/catalog/owid/catalog/datasets.py +++ b/lib/catalog/owid/catalog/datasets.py @@ -6,6 +6,7 @@ import json import shutil import warnings +from _hashlib import HASH from dataclasses import dataclass from glob import glob from os import environ @@ -16,7 +17,6 @@ import numpy as np import pandas as pd import yaml -from _hashlib import HASH from owid.repack import to_safe_types diff --git a/lib/catalog/owid/catalog/processing.py b/lib/catalog/owid/catalog/processing.py index 741ecbb383e9..81821ba23089 100755 --- a/lib/catalog/owid/catalog/processing.py +++ b/lib/catalog/owid/catalog/processing.py @@ -1,6 +1,5 @@ -"""Common operations performed on tables and variables. +"""Common operations performed on tables and variables.""" -""" from .tables import ( ExcelFile, concat, diff --git a/lib/catalog/owid/catalog/processing_log.py b/lib/catalog/owid/catalog/processing_log.py index 389c4fe7e0e2..2581285b402e 100644 --- a/lib/catalog/owid/catalog/processing_log.py +++ b/lib/catalog/owid/catalog/processing_log.py @@ -50,12 +50,10 @@ class LogEntry: parents: Tuple[str, ...] = field(default_factory=tuple) comment: Optional[str] = None - def to_dict(self) -> Dict[str, Any]: - ... + def to_dict(self) -> Dict[str, Any]: ... @staticmethod - def from_dict(d: Dict[str, Any]) -> "LogEntry": - ... + def from_dict(d: Dict[str, Any]) -> "LogEntry": ... def clone(self, **kwargs): """Clone the log entry, optionally overriding some attributes.""" diff --git a/lib/catalog/owid/catalog/tables.py b/lib/catalog/owid/catalog/tables.py index 88fa0e1f9e23..0e232680db61 100644 --- a/lib/catalog/owid/catalog/tables.py +++ b/lib/catalog/owid/catalog/tables.py @@ -192,12 +192,10 @@ def read(cls, path: Union[str, Path], **kwargs) -> "Table": return table @overload - def to_csv(self, path: None = None, **kwargs: Any) -> str: - ... + def to_csv(self, path: None = None, **kwargs: Any) -> str: ... @overload - def to_csv(self, path: Any, **kwargs: Any) -> None: - ... + def to_csv(self, path: Any, **kwargs: Any) -> None: ... def to_csv(self, path: Optional[Any] = None, **kwargs: Any) -> Union[None, str]: """ @@ -445,16 +443,13 @@ def rename( *, inplace: Literal[True], **kwargs: Any, - ) -> None: - ... + ) -> None: ... @overload - def rename(self, mapper: Any = None, *, inplace: Literal[False], **kwargs: Any) -> "Table": - ... + def rename(self, mapper: Any = None, *, inplace: Literal[False], **kwargs: Any) -> "Table": ... @overload - def rename(self, *args: Any, **kwargs: Any) -> "Table": - ... + def rename(self, *args: Any, **kwargs: Any) -> "Table": ... def rename(self, *args: Any, **kwargs: Any) -> Optional["Table"]: """Rename columns while keeping their metadata.""" @@ -559,16 +554,13 @@ def set_index( *, inplace: Literal[True], **kwargs: Any, - ) -> None: - ... + ) -> None: ... @overload - def set_index(self, keys: Union[str, List[str]], *, inplace: Literal[False], **kwargs: Any) -> "Table": - ... + def set_index(self, keys: Union[str, List[str]], *, inplace: Literal[False], **kwargs: Any) -> "Table": ... @overload - def set_index(self, keys: Union[str, List[str]], **kwargs: Any) -> "Table": - ... + def set_index(self, keys: Union[str, List[str]], **kwargs: Any) -> "Table": ... def set_index( self, @@ -588,16 +580,13 @@ def set_index( return cast(Table, t) @overload - def reset_index(self, level=None, *, inplace: Literal[True], **kwargs) -> None: - ... + def reset_index(self, level=None, *, inplace: Literal[True], **kwargs) -> None: ... @overload - def reset_index(self, level=None, *, inplace: Literal[False], **kwargs) -> "Table": - ... + def reset_index(self, level=None, *, inplace: Literal[False], **kwargs) -> "Table": ... @overload - def reset_index(self, level=None, *, inplace: bool = False, **kwargs) -> "Table": - ... + def reset_index(self, level=None, *, inplace: bool = False, **kwargs) -> "Table": ... def reset_index(self, level=None, *, inplace: bool = False, **kwargs) -> Optional["Table"]: # type: ignore """Fix type signature of reset_index.""" @@ -617,16 +606,13 @@ def reindex(self, *args, **kwargs) -> "Table": return cast(Table, t) @overload - def drop_duplicates(self, *, inplace: Literal[True], **kwargs) -> None: - ... + def drop_duplicates(self, *, inplace: Literal[True], **kwargs) -> None: ... @overload - def drop_duplicates(self, *, inplace: Literal[False], **kwargs) -> "Table": - ... + def drop_duplicates(self, *, inplace: Literal[False], **kwargs) -> "Table": ... @overload - def drop_duplicates(self, **kwargs) -> "Table": - ... + def drop_duplicates(self, **kwargs) -> "Table": ... def drop_duplicates(self, *args, **kwargs) -> Optional["Table"]: return super().drop_duplicates(*args, **kwargs) @@ -817,16 +803,13 @@ def format( return t @overload - def dropna(self, *, inplace: Literal[True], **kwargs) -> None: - ... + def dropna(self, *, inplace: Literal[True], **kwargs) -> None: ... @overload - def dropna(self, *, inplace: Literal[False], **kwargs) -> "Table": - ... + def dropna(self, *, inplace: Literal[False], **kwargs) -> "Table": ... @overload - def dropna(self, **kwargs) -> "Table": - ... + def dropna(self, **kwargs) -> "Table": ... def dropna(self, *args, **kwargs) -> Optional["Table"]: tb = super().dropna(*args, **kwargs) @@ -1036,7 +1019,7 @@ def fillna(self, value=None, **kwargs) -> "Table": if value is not None: tb = super().fillna(value, **kwargs) - if type(value) == type(self): + if type(value) is type(self): for column in tb.columns: if column in value.columns: tb._fields[column] = variables.combine_variables_metadata( @@ -1072,12 +1055,10 @@ def __init__(self, groupby: pd.core.groupby.DataFrameGroupBy, metadata: TableMet self._fields = fields @overload - def __getattr__(self, name: Literal["count", "size", "sum", "mean", "median"]) -> Callable[[], "Table"]: - ... + def __getattr__(self, name: Literal["count", "size", "sum", "mean", "median"]) -> Callable[[], "Table"]: ... @overload - def __getattr__(self, name: str) -> "VariableGroupBy": - ... + def __getattr__(self, name: str) -> "VariableGroupBy": ... def __getattr__(self, name: str) -> Union[Callable[..., "Table"], "VariableGroupBy"]: # Calling method on the groupby object @@ -1108,12 +1089,10 @@ def func(*args, **kwargs): return VariableGroupBy(getattr(self.groupby, name), name, self._fields[name], self.metadata) @overload - def __getitem__(self, key: str) -> "VariableGroupBy": - ... + def __getitem__(self, key: str) -> "VariableGroupBy": ... @overload - def __getitem__(self, key: list) -> "TableGroupBy": - ... + def __getitem__(self, key: list) -> "TableGroupBy": ... def __getitem__(self, key: Union[str, list]) -> Union["VariableGroupBy", "TableGroupBy"]: if isinstance(key, list): @@ -1159,9 +1138,9 @@ def f(g): df = self.groupby.apply(f, *args, include_groups=include_groups) if not mem: return Table(df) - elif type(mem["table"]) == pd.DataFrame: + elif type(mem["table"]) is pd.DataFrame: return _create_table(df, self.metadata, self._fields) - elif type(mem["table"]) == pd.Series: + elif type(mem["table"]) is pd.Series: if isinstance(df, Table): return _create_table(df, self.metadata, self._fields) else: diff --git a/lib/catalog/owid/catalog/utils.py b/lib/catalog/owid/catalog/utils.py index bd0fe80dc8a5..c0dd0a65c71f 100644 --- a/lib/catalog/owid/catalog/utils.py +++ b/lib/catalog/owid/catalog/utils.py @@ -42,13 +42,11 @@ def pruned_json(cls: T) -> T: @overload -def underscore(name: str, validate: bool = True, camel_to_snake: bool = False) -> str: - ... +def underscore(name: str, validate: bool = True, camel_to_snake: bool = False) -> str: ... @overload -def underscore(name: None, validate: bool = True, camel_to_snake: bool = False) -> None: - ... +def underscore(name: None, validate: bool = True, camel_to_snake: bool = False) -> None: ... def underscore(name: Optional[str], validate: bool = True, camel_to_snake: bool = False) -> Optional[str]: diff --git a/lib/catalog/owid/catalog/variables.py b/lib/catalog/owid/catalog/variables.py index f6e529b567d5..2d54bfc9e8d9 100644 --- a/lib/catalog/owid/catalog/variables.py +++ b/lib/catalog/owid/catalog/variables.py @@ -575,13 +575,11 @@ def combine_variables_metadata( @overload -def copy_metadata(from_variable: Variable, to_variable: Variable, inplace: Literal[False] = False) -> Variable: - ... +def copy_metadata(from_variable: Variable, to_variable: Variable, inplace: Literal[False] = False) -> Variable: ... @overload -def copy_metadata(from_variable: Variable, to_variable: Variable, inplace: Literal[True] = True) -> None: - ... +def copy_metadata(from_variable: Variable, to_variable: Variable, inplace: Literal[True] = True) -> None: ... def copy_metadata(from_variable: Variable, to_variable: Variable, inplace: bool = False) -> Optional[Variable]: diff --git a/lib/catalog/pyproject.toml b/lib/catalog/pyproject.toml index 415ece029fe3..984bad9d971a 100644 --- a/lib/catalog/pyproject.toml +++ b/lib/catalog/pyproject.toml @@ -33,7 +33,7 @@ dev-dependencies = [ "argh>=0.26.2", "pyright==1.1.373", "pandas-stubs==1.2.0.62", - "ruff==0.1.6" + "ruff==0.8.2" ] [tool.uv.sources] diff --git a/lib/catalog/tests/mocking.py b/lib/catalog/tests/mocking.py index cf42a213e5e8..9e0e6c1c9546 100644 --- a/lib/catalog/tests/mocking.py +++ b/lib/catalog/tests/mocking.py @@ -40,19 +40,19 @@ def mock(_type: type) -> Any: if hasattr(_type, "__forward_arg__"): raise ValueError(_type) - if _type == int: + if _type is int: return random.randint(0, 1000) - elif _type == bool: + elif _type is bool: return random.choice([True, False]) - elif _type == float: + elif _type is float: return 10 * random.random() / random.random() - elif _type == dt.date: + elif _type is dt.date: return _random_date() - elif _type == str: + elif _type is str: # some strings in the frictionless standard must be lowercase with no spaces return random.choice(_MOCK_STRINGS).lower() @@ -72,7 +72,7 @@ def mock(_type: type) -> Any: elif getattr(_type, "__name__", None) == "ProcessingLog": return _type([]) - elif _type == Any: + elif _type is Any: return mock(random.choice([str, int, float])) elif getattr(_type, "__name__", None) == "YearDateLatest": diff --git a/lib/catalog/tests/test_meta.py b/lib/catalog/tests/test_meta.py index 4dfaac4947a5..36724ca556e5 100644 --- a/lib/catalog/tests/test_meta.py +++ b/lib/catalog/tests/test_meta.py @@ -20,8 +20,7 @@ class Dog: name: Optional[str] = None age: Optional[int] = None - def to_dict(self) -> Dict[str, Any]: - ... + def to_dict(self) -> Dict[str, Any]: ... assert Dog(name="fred").to_dict() == {"name": "fred"} assert Dog(age=10).to_dict() == {"age": 10} @@ -43,8 +42,7 @@ class Dog: age: Optional[int] = None cat: Optional[Cat] = None - def to_dict(self) -> Dict[str, Any]: - ... + def to_dict(self) -> Dict[str, Any]: ... assert Dog(name="fred", cat=Cat(name="cred")).to_dict() == {"name": "fred", "cat": {"name": "cred"}} diff --git a/lib/catalog/uv.lock b/lib/catalog/uv.lock index 2d2a84f22b5a..89dcc92754bd 100644 --- a/lib/catalog/uv.lock +++ b/lib/catalog/uv.lock @@ -77,6 +77,119 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/c0/2e/ca478472e3a6cc96a23dcaf82af714e2befbf449aec98974bf0ac2c88102/botocore-1.35.20-py3-none-any.whl", hash = "sha256:62412038f960691a299e60492f9ee7e8e75af563f2eca7f3640b3b54b8f5d236", size = 12539792 }, ] +[[package]] +name = "brotli" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2f/c2/f9e977608bdf958650638c3f1e28f85a1b075f075ebbe77db8555463787b/Brotli-1.1.0.tar.gz", hash = "sha256:81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724", size = 7372270 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/3a/dbf4fb970c1019a57b5e492e1e0eae745d32e59ba4d6161ab5422b08eefe/Brotli-1.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e1140c64812cb9b06c922e77f1c26a75ec5e3f0fb2bf92cc8c58720dec276752", size = 873045 }, + { url = "https://files.pythonhosted.org/packages/dd/11/afc14026ea7f44bd6eb9316d800d439d092c8d508752055ce8d03086079a/Brotli-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c8fd5270e906eef71d4a8d19b7c6a43760c6abcfcc10c9101d14eb2357418de9", size = 446218 }, + { url = "https://files.pythonhosted.org/packages/36/83/7545a6e7729db43cb36c4287ae388d6885c85a86dd251768a47015dfde32/Brotli-1.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1ae56aca0402a0f9a3431cddda62ad71666ca9d4dc3a10a142b9dce2e3c0cda3", size = 2903872 }, + { url = "https://files.pythonhosted.org/packages/32/23/35331c4d9391fcc0f29fd9bec2c76e4b4eeab769afbc4b11dd2e1098fb13/Brotli-1.1.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:43ce1b9935bfa1ede40028054d7f48b5469cd02733a365eec8a329ffd342915d", size = 2941254 }, + { url = "https://files.pythonhosted.org/packages/3b/24/1671acb450c902edb64bd765d73603797c6c7280a9ada85a195f6b78c6e5/Brotli-1.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:7c4855522edb2e6ae7fdb58e07c3ba9111e7621a8956f481c68d5d979c93032e", size = 2857293 }, + { url = "https://files.pythonhosted.org/packages/d5/00/40f760cc27007912b327fe15bf6bfd8eaecbe451687f72a8abc587d503b3/Brotli-1.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:38025d9f30cf4634f8309c6874ef871b841eb3c347e90b0851f63d1ded5212da", size = 3002385 }, + { url = "https://files.pythonhosted.org/packages/b8/cb/8aaa83f7a4caa131757668c0fb0c4b6384b09ffa77f2fba9570d87ab587d/Brotli-1.1.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e6a904cb26bfefc2f0a6f240bdf5233be78cd2488900a2f846f3c3ac8489ab80", size = 2911104 }, + { url = "https://files.pythonhosted.org/packages/bc/c4/65456561d89d3c49f46b7fbeb8fe6e449f13bdc8ea7791832c5d476b2faf/Brotli-1.1.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:a37b8f0391212d29b3a91a799c8e4a2855e0576911cdfb2515487e30e322253d", size = 2809981 }, + { url = "https://files.pythonhosted.org/packages/05/1b/cf49528437bae28abce5f6e059f0d0be6fecdcc1d3e33e7c54b3ca498425/Brotli-1.1.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:e84799f09591700a4154154cab9787452925578841a94321d5ee8fb9a9a328f0", size = 2935297 }, + { url = "https://files.pythonhosted.org/packages/81/ff/190d4af610680bf0c5a09eb5d1eac6e99c7c8e216440f9c7cfd42b7adab5/Brotli-1.1.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f66b5337fa213f1da0d9000bc8dc0cb5b896b726eefd9c6046f699b169c41b9e", size = 2930735 }, + { url = "https://files.pythonhosted.org/packages/80/7d/f1abbc0c98f6e09abd3cad63ec34af17abc4c44f308a7a539010f79aae7a/Brotli-1.1.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:5dab0844f2cf82be357a0eb11a9087f70c5430b2c241493fc122bb6f2bb0917c", size = 2933107 }, + { url = "https://files.pythonhosted.org/packages/34/ce/5a5020ba48f2b5a4ad1c0522d095ad5847a0be508e7d7569c8630ce25062/Brotli-1.1.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e4fe605b917c70283db7dfe5ada75e04561479075761a0b3866c081d035b01c1", size = 2845400 }, + { url = "https://files.pythonhosted.org/packages/44/89/fa2c4355ab1eecf3994e5a0a7f5492c6ff81dfcb5f9ba7859bd534bb5c1a/Brotli-1.1.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:1e9a65b5736232e7a7f91ff3d02277f11d339bf34099a56cdab6a8b3410a02b2", size = 3031985 }, + { url = "https://files.pythonhosted.org/packages/af/a4/79196b4a1674143d19dca400866b1a4d1a089040df7b93b88ebae81f3447/Brotli-1.1.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:58d4b711689366d4a03ac7957ab8c28890415e267f9b6589969e74b6e42225ec", size = 2927099 }, + { url = "https://files.pythonhosted.org/packages/e9/54/1c0278556a097f9651e657b873ab08f01b9a9ae4cac128ceb66427d7cd20/Brotli-1.1.0-cp310-cp310-win32.whl", hash = "sha256:be36e3d172dc816333f33520154d708a2657ea63762ec16b62ece02ab5e4daf2", size = 333172 }, + { url = "https://files.pythonhosted.org/packages/f7/65/b785722e941193fd8b571afd9edbec2a9b838ddec4375d8af33a50b8dab9/Brotli-1.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:0c6244521dda65ea562d5a69b9a26120769b7a9fb3db2fe9545935ed6735b128", size = 357255 }, + { url = "https://files.pythonhosted.org/packages/96/12/ad41e7fadd5db55459c4c401842b47f7fee51068f86dd2894dd0dcfc2d2a/Brotli-1.1.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a3daabb76a78f829cafc365531c972016e4aa8d5b4bf60660ad8ecee19df7ccc", size = 873068 }, + { url = "https://files.pythonhosted.org/packages/95/4e/5afab7b2b4b61a84e9c75b17814198ce515343a44e2ed4488fac314cd0a9/Brotli-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c8146669223164fc87a7e3de9f81e9423c67a79d6b3447994dfb9c95da16e2d6", size = 446244 }, + { url = "https://files.pythonhosted.org/packages/9d/e6/f305eb61fb9a8580c525478a4a34c5ae1a9bcb12c3aee619114940bc513d/Brotli-1.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:30924eb4c57903d5a7526b08ef4a584acc22ab1ffa085faceb521521d2de32dd", size = 2906500 }, + { url = "https://files.pythonhosted.org/packages/3e/4f/af6846cfbc1550a3024e5d3775ede1e00474c40882c7bf5b37a43ca35e91/Brotli-1.1.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ceb64bbc6eac5a140ca649003756940f8d6a7c444a68af170b3187623b43bebf", size = 2943950 }, + { url = "https://files.pythonhosted.org/packages/b3/e7/ca2993c7682d8629b62630ebf0d1f3bb3d579e667ce8e7ca03a0a0576a2d/Brotli-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a469274ad18dc0e4d316eefa616d1d0c2ff9da369af19fa6f3daa4f09671fd61", size = 2918527 }, + { url = "https://files.pythonhosted.org/packages/b3/96/da98e7bedc4c51104d29cc61e5f449a502dd3dbc211944546a4cc65500d3/Brotli-1.1.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:524f35912131cc2cabb00edfd8d573b07f2d9f21fa824bd3fb19725a9cf06327", size = 2845489 }, + { url = "https://files.pythonhosted.org/packages/e8/ef/ccbc16947d6ce943a7f57e1a40596c75859eeb6d279c6994eddd69615265/Brotli-1.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:5b3cc074004d968722f51e550b41a27be656ec48f8afaeeb45ebf65b561481dd", size = 2914080 }, + { url = "https://files.pythonhosted.org/packages/80/d6/0bd38d758d1afa62a5524172f0b18626bb2392d717ff94806f741fcd5ee9/Brotli-1.1.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:19c116e796420b0cee3da1ccec3b764ed2952ccfcc298b55a10e5610ad7885f9", size = 2813051 }, + { url = "https://files.pythonhosted.org/packages/14/56/48859dd5d129d7519e001f06dcfbb6e2cf6db92b2702c0c2ce7d97e086c1/Brotli-1.1.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:510b5b1bfbe20e1a7b3baf5fed9e9451873559a976c1a78eebaa3b86c57b4265", size = 2938172 }, + { url = "https://files.pythonhosted.org/packages/3d/77/a236d5f8cd9e9f4348da5acc75ab032ab1ab2c03cc8f430d24eea2672888/Brotli-1.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a1fd8a29719ccce974d523580987b7f8229aeace506952fa9ce1d53a033873c8", size = 2933023 }, + { url = "https://files.pythonhosted.org/packages/f1/87/3b283efc0f5cb35f7f84c0c240b1e1a1003a5e47141a4881bf87c86d0ce2/Brotli-1.1.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c247dd99d39e0338a604f8c2b3bc7061d5c2e9e2ac7ba9cc1be5a69cb6cd832f", size = 2935871 }, + { url = "https://files.pythonhosted.org/packages/f3/eb/2be4cc3e2141dc1a43ad4ca1875a72088229de38c68e842746b342667b2a/Brotli-1.1.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1b2c248cd517c222d89e74669a4adfa5577e06ab68771a529060cf5a156e9757", size = 2847784 }, + { url = "https://files.pythonhosted.org/packages/66/13/b58ddebfd35edde572ccefe6890cf7c493f0c319aad2a5badee134b4d8ec/Brotli-1.1.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:2a24c50840d89ded6c9a8fdc7b6ed3692ed4e86f1c4a4a938e1e92def92933e0", size = 3034905 }, + { url = "https://files.pythonhosted.org/packages/84/9c/bc96b6c7db824998a49ed3b38e441a2cae9234da6fa11f6ed17e8cf4f147/Brotli-1.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f31859074d57b4639318523d6ffdca586ace54271a73ad23ad021acd807eb14b", size = 2929467 }, + { url = "https://files.pythonhosted.org/packages/e7/71/8f161dee223c7ff7fea9d44893fba953ce97cf2c3c33f78ba260a91bcff5/Brotli-1.1.0-cp311-cp311-win32.whl", hash = "sha256:39da8adedf6942d76dc3e46653e52df937a3c4d6d18fdc94a7c29d263b1f5b50", size = 333169 }, + { url = "https://files.pythonhosted.org/packages/02/8a/fece0ee1057643cb2a5bbf59682de13f1725f8482b2c057d4e799d7ade75/Brotli-1.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:aac0411d20e345dc0920bdec5548e438e999ff68d77564d5e9463a7ca9d3e7b1", size = 357253 }, + { url = "https://files.pythonhosted.org/packages/5c/d0/5373ae13b93fe00095a58efcbce837fd470ca39f703a235d2a999baadfbc/Brotli-1.1.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:32d95b80260d79926f5fab3c41701dbb818fde1c9da590e77e571eefd14abe28", size = 815693 }, + { url = "https://files.pythonhosted.org/packages/8e/48/f6e1cdf86751300c288c1459724bfa6917a80e30dbfc326f92cea5d3683a/Brotli-1.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b760c65308ff1e462f65d69c12e4ae085cff3b332d894637f6273a12a482d09f", size = 422489 }, + { url = "https://files.pythonhosted.org/packages/06/88/564958cedce636d0f1bed313381dfc4b4e3d3f6015a63dae6146e1b8c65c/Brotli-1.1.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:316cc9b17edf613ac76b1f1f305d2a748f1b976b033b049a6ecdfd5612c70409", size = 873081 }, + { url = "https://files.pythonhosted.org/packages/58/79/b7026a8bb65da9a6bb7d14329fd2bd48d2b7f86d7329d5cc8ddc6a90526f/Brotli-1.1.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:caf9ee9a5775f3111642d33b86237b05808dafcd6268faa492250e9b78046eb2", size = 446244 }, + { url = "https://files.pythonhosted.org/packages/e5/18/c18c32ecea41b6c0004e15606e274006366fe19436b6adccc1ae7b2e50c2/Brotli-1.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:70051525001750221daa10907c77830bc889cb6d865cc0b813d9db7fefc21451", size = 2906505 }, + { url = "https://files.pythonhosted.org/packages/08/c8/69ec0496b1ada7569b62d85893d928e865df29b90736558d6c98c2031208/Brotli-1.1.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7f4bf76817c14aa98cc6697ac02f3972cb8c3da93e9ef16b9c66573a68014f91", size = 2944152 }, + { url = "https://files.pythonhosted.org/packages/ab/fb/0517cea182219d6768113a38167ef6d4eb157a033178cc938033a552ed6d/Brotli-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0c5516f0aed654134a2fc936325cc2e642f8a0e096d075209672eb321cff408", size = 2919252 }, + { url = "https://files.pythonhosted.org/packages/c7/53/73a3431662e33ae61a5c80b1b9d2d18f58dfa910ae8dd696e57d39f1a2f5/Brotli-1.1.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6c3020404e0b5eefd7c9485ccf8393cfb75ec38ce75586e046573c9dc29967a0", size = 2845955 }, + { url = "https://files.pythonhosted.org/packages/55/ac/bd280708d9c5ebdbf9de01459e625a3e3803cce0784f47d633562cf40e83/Brotli-1.1.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:4ed11165dd45ce798d99a136808a794a748d5dc38511303239d4e2363c0695dc", size = 2914304 }, + { url = "https://files.pythonhosted.org/packages/76/58/5c391b41ecfc4527d2cc3350719b02e87cb424ef8ba2023fb662f9bf743c/Brotli-1.1.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:4093c631e96fdd49e0377a9c167bfd75b6d0bad2ace734c6eb20b348bc3ea180", size = 2814452 }, + { url = "https://files.pythonhosted.org/packages/c7/4e/91b8256dfe99c407f174924b65a01f5305e303f486cc7a2e8a5d43c8bec3/Brotli-1.1.0-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:7e4c4629ddad63006efa0ef968c8e4751c5868ff0b1c5c40f76524e894c50248", size = 2938751 }, + { url = "https://files.pythonhosted.org/packages/5a/a6/e2a39a5d3b412938362bbbeba5af904092bf3f95b867b4a3eb856104074e/Brotli-1.1.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:861bf317735688269936f755fa136a99d1ed526883859f86e41a5d43c61d8966", size = 2933757 }, + { url = "https://files.pythonhosted.org/packages/13/f0/358354786280a509482e0e77c1a5459e439766597d280f28cb097642fc26/Brotli-1.1.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:87a3044c3a35055527ac75e419dfa9f4f3667a1e887ee80360589eb8c90aabb9", size = 2936146 }, + { url = "https://files.pythonhosted.org/packages/80/f7/daf538c1060d3a88266b80ecc1d1c98b79553b3f117a485653f17070ea2a/Brotli-1.1.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:c5529b34c1c9d937168297f2c1fde7ebe9ebdd5e121297ff9c043bdb2ae3d6fb", size = 2848055 }, + { url = "https://files.pythonhosted.org/packages/ad/cf/0eaa0585c4077d3c2d1edf322d8e97aabf317941d3a72d7b3ad8bce004b0/Brotli-1.1.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:ca63e1890ede90b2e4454f9a65135a4d387a4585ff8282bb72964fab893f2111", size = 3035102 }, + { url = "https://files.pythonhosted.org/packages/d8/63/1c1585b2aa554fe6dbce30f0c18bdbc877fa9a1bf5ff17677d9cca0ac122/Brotli-1.1.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e79e6520141d792237c70bcd7a3b122d00f2613769ae0cb61c52e89fd3443839", size = 2930029 }, + { url = "https://files.pythonhosted.org/packages/5f/3b/4e3fd1893eb3bbfef8e5a80d4508bec17a57bb92d586c85c12d28666bb13/Brotli-1.1.0-cp312-cp312-win32.whl", hash = "sha256:5f4d5ea15c9382135076d2fb28dde923352fe02951e66935a9efaac8f10e81b0", size = 333276 }, + { url = "https://files.pythonhosted.org/packages/3d/d5/942051b45a9e883b5b6e98c041698b1eb2012d25e5948c58d6bf85b1bb43/Brotli-1.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:906bc3a79de8c4ae5b86d3d75a8b77e44404b0f4261714306e3ad248d8ab0951", size = 357255 }, + { url = "https://files.pythonhosted.org/packages/0a/9f/fb37bb8ffc52a8da37b1c03c459a8cd55df7a57bdccd8831d500e994a0ca/Brotli-1.1.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8bf32b98b75c13ec7cf774164172683d6e7891088f6316e54425fde1efc276d5", size = 815681 }, + { url = "https://files.pythonhosted.org/packages/06/b3/dbd332a988586fefb0aa49c779f59f47cae76855c2d00f450364bb574cac/Brotli-1.1.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7bc37c4d6b87fb1017ea28c9508b36bbcb0c3d18b4260fcdf08b200c74a6aee8", size = 422475 }, + { url = "https://files.pythonhosted.org/packages/bb/80/6aaddc2f63dbcf2d93c2d204e49c11a9ec93a8c7c63261e2b4bd35198283/Brotli-1.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3c0ef38c7a7014ffac184db9e04debe495d317cc9c6fb10071f7fefd93100a4f", size = 2906173 }, + { url = "https://files.pythonhosted.org/packages/ea/1d/e6ca79c96ff5b641df6097d299347507d39a9604bde8915e76bf026d6c77/Brotli-1.1.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:91d7cc2a76b5567591d12c01f019dd7afce6ba8cba6571187e21e2fc418ae648", size = 2943803 }, + { url = "https://files.pythonhosted.org/packages/ac/a3/d98d2472e0130b7dd3acdbb7f390d478123dbf62b7d32bda5c830a96116d/Brotli-1.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a93dde851926f4f2678e704fadeb39e16c35d8baebd5252c9fd94ce8ce68c4a0", size = 2918946 }, + { url = "https://files.pythonhosted.org/packages/c4/a5/c69e6d272aee3e1423ed005d8915a7eaa0384c7de503da987f2d224d0721/Brotli-1.1.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f0db75f47be8b8abc8d9e31bc7aad0547ca26f24a54e6fd10231d623f183d089", size = 2845707 }, + { url = "https://files.pythonhosted.org/packages/58/9f/4149d38b52725afa39067350696c09526de0125ebfbaab5acc5af28b42ea/Brotli-1.1.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6967ced6730aed543b8673008b5a391c3b1076d834ca438bbd70635c73775368", size = 2936231 }, + { url = "https://files.pythonhosted.org/packages/5a/5a/145de884285611838a16bebfdb060c231c52b8f84dfbe52b852a15780386/Brotli-1.1.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:7eedaa5d036d9336c95915035fb57422054014ebdeb6f3b42eac809928e40d0c", size = 2848157 }, + { url = "https://files.pythonhosted.org/packages/50/ae/408b6bfb8525dadebd3b3dd5b19d631da4f7d46420321db44cd99dcf2f2c/Brotli-1.1.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:d487f5432bf35b60ed625d7e1b448e2dc855422e87469e3f450aa5552b0eb284", size = 3035122 }, + { url = "https://files.pythonhosted.org/packages/af/85/a94e5cfaa0ca449d8f91c3d6f78313ebf919a0dbd55a100c711c6e9655bc/Brotli-1.1.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:832436e59afb93e1836081a20f324cb185836c617659b07b129141a8426973c7", size = 2930206 }, + { url = "https://files.pythonhosted.org/packages/c2/f0/a61d9262cd01351df22e57ad7c34f66794709acab13f34be2675f45bf89d/Brotli-1.1.0-cp313-cp313-win32.whl", hash = "sha256:43395e90523f9c23a3d5bdf004733246fba087f2948f87ab28015f12359ca6a0", size = 333804 }, + { url = "https://files.pythonhosted.org/packages/7e/c1/ec214e9c94000d1c1974ec67ced1c970c148aa6b8d8373066123fc3dbf06/Brotli-1.1.0-cp313-cp313-win_amd64.whl", hash = "sha256:9011560a466d2eb3f5a6e4929cf4a09be405c64154e12df0dd72713f6500e32b", size = 358517 }, + { url = "https://files.pythonhosted.org/packages/1b/aa/aa6e0c9848ee4375514af0b27abf470904992939b7363ae78fc8aca8a9a8/Brotli-1.1.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:5fb2ce4b8045c78ebbc7b8f3c15062e435d47e7393cc57c25115cfd49883747a", size = 873048 }, + { url = "https://files.pythonhosted.org/packages/ae/32/38bba1a8bef9ecb1cda08439fd28d7e9c51aff13b4783a4f1610da90b6c2/Brotli-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7905193081db9bfa73b1219140b3d315831cbff0d8941f22da695832f0dd188f", size = 446207 }, + { url = "https://files.pythonhosted.org/packages/3c/6a/14cc20ddc53efc274601c8195791a27cfb7acc5e5134e0f8c493a8b8821a/Brotli-1.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a77def80806c421b4b0af06f45d65a136e7ac0bdca3c09d9e2ea4e515367c7e9", size = 2903803 }, + { url = "https://files.pythonhosted.org/packages/9a/26/62b2d894d4e82d7a7f4e0bb9007a42bbc765697a5679b43186acd68d7a79/Brotli-1.1.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8dadd1314583ec0bf2d1379f7008ad627cd6336625d6679cf2f8e67081b83acf", size = 2941149 }, + { url = "https://files.pythonhosted.org/packages/a9/ca/00d55bbdd8631236c61777742d8a8454cf6a87eb4125cad675912c68bec7/Brotli-1.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:901032ff242d479a0efa956d853d16875d42157f98951c0230f69e69f9c09bac", size = 2672253 }, + { url = "https://files.pythonhosted.org/packages/e2/e6/4a730f6e5b5d538e92d09bc51bf69119914f29a222f9e1d65ae4abb27a4e/Brotli-1.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:22fc2a8549ffe699bfba2256ab2ed0421a7b8fadff114a3d201794e45a9ff578", size = 2757005 }, + { url = "https://files.pythonhosted.org/packages/cb/6b/8cf297987fe3c1bf1c87f0c0b714af2ce47092b8d307b9f6ecbc65f98968/Brotli-1.1.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ae15b066e5ad21366600ebec29a7ccbc86812ed267e4b28e860b8ca16a2bc474", size = 2910658 }, + { url = "https://files.pythonhosted.org/packages/2c/1f/be9443995821c933aad7159803f84ef4923c6f5b72c2affd001192b310fc/Brotli-1.1.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:949f3b7c29912693cee0afcf09acd6ebc04c57af949d9bf77d6101ebb61e388c", size = 2809728 }, + { url = "https://files.pythonhosted.org/packages/76/2f/213bab6efa902658c80a1247142d42b138a27ccdd6bade49ca9cd74e714a/Brotli-1.1.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:89f4988c7203739d48c6f806f1e87a1d96e0806d44f0fba61dba81392c9e474d", size = 2935043 }, + { url = "https://files.pythonhosted.org/packages/27/89/bbb14fa98e895d1e601491fba54a5feec167d262f0d3d537a3b0d4cd0029/Brotli-1.1.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:de6551e370ef19f8de1807d0a9aa2cdfdce2e85ce88b122fe9f6b2b076837e59", size = 2930639 }, + { url = "https://files.pythonhosted.org/packages/14/87/03a6d6e1866eddf9f58cc57e35befbeb5514da87a416befe820150cae63f/Brotli-1.1.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:0737ddb3068957cf1b054899b0883830bb1fec522ec76b1098f9b6e0f02d9419", size = 2932834 }, + { url = "https://files.pythonhosted.org/packages/a4/d5/e5f85e04f75144d1a89421ba432def6bdffc8f28b04f5b7d540bbd03362c/Brotli-1.1.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:4f3607b129417e111e30637af1b56f24f7a49e64763253bbc275c75fa887d4b2", size = 2845213 }, + { url = "https://files.pythonhosted.org/packages/99/bf/25ef07add7afbb1aacd4460726a1a40370dfd60c0810b6f242a6d3871d7e/Brotli-1.1.0-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:6c6e0c425f22c1c719c42670d561ad682f7bfeeef918edea971a79ac5252437f", size = 3031573 }, + { url = "https://files.pythonhosted.org/packages/55/22/948a97bda5c9dc9968d56b9ed722d9727778db43739cf12ef26ff69be94d/Brotli-1.1.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:494994f807ba0b92092a163a0a283961369a65f6cbe01e8891132b7a320e61eb", size = 2926885 }, + { url = "https://files.pythonhosted.org/packages/31/ba/e53d107399b535ef89deb6977dd8eae468e2dde7b1b74c6cbe2c0e31fda2/Brotli-1.1.0-cp39-cp39-win32.whl", hash = "sha256:f0d8a7a6b5983c2496e364b969f0e526647a06b075d034f3297dc66f3b360c64", size = 333171 }, + { url = "https://files.pythonhosted.org/packages/99/b3/f7b3af539f74b82e1c64d28685a5200c631cc14ae751d37d6ed819655627/Brotli-1.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:cdad5b9014d83ca68c25d2e9444e28e967ef16e80f6b436918c700c117a85467", size = 357258 }, +] + +[[package]] +name = "brotlicffi" +version = "1.1.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/95/9d/70caa61192f570fcf0352766331b735afa931b4c6bc9a348a0925cc13288/brotlicffi-1.1.0.0.tar.gz", hash = "sha256:b77827a689905143f87915310b93b273ab17888fd43ef350d4832c4a71083c13", size = 465192 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/11/7b96009d3dcc2c931e828ce1e157f03824a69fb728d06bfd7b2fc6f93718/brotlicffi-1.1.0.0-cp37-abi3-macosx_10_9_x86_64.whl", hash = "sha256:9b7ae6bd1a3f0df532b6d67ff674099a96d22bc0948955cb338488c31bfb8851", size = 453786 }, + { url = "https://files.pythonhosted.org/packages/d6/e6/a8f46f4a4ee7856fbd6ac0c6fb0dc65ed181ba46cd77875b8d9bbe494d9e/brotlicffi-1.1.0.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:19ffc919fa4fc6ace69286e0a23b3789b4219058313cf9b45625016bf7ff996b", size = 2911165 }, + { url = "https://files.pythonhosted.org/packages/be/20/201559dff14e83ba345a5ec03335607e47467b6633c210607e693aefac40/brotlicffi-1.1.0.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9feb210d932ffe7798ee62e6145d3a757eb6233aa9a4e7db78dd3690d7755814", size = 2927895 }, + { url = "https://files.pythonhosted.org/packages/cd/15/695b1409264143be3c933f708a3f81d53c4a1e1ebbc06f46331decbf6563/brotlicffi-1.1.0.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:84763dbdef5dd5c24b75597a77e1b30c66604725707565188ba54bab4f114820", size = 2851834 }, + { url = "https://files.pythonhosted.org/packages/b4/40/b961a702463b6005baf952794c2e9e0099bde657d0d7e007f923883b907f/brotlicffi-1.1.0.0-cp37-abi3-win32.whl", hash = "sha256:1b12b50e07c3911e1efa3a8971543e7648100713d4e0971b13631cce22c587eb", size = 341731 }, + { url = "https://files.pythonhosted.org/packages/1c/fa/5408a03c041114ceab628ce21766a4ea882aa6f6f0a800e04ee3a30ec6b9/brotlicffi-1.1.0.0-cp37-abi3-win_amd64.whl", hash = "sha256:994a4f0681bb6c6c3b0925530a1926b7a189d878e6e5e38fae8efa47c5d9c613", size = 366783 }, + { url = "https://files.pythonhosted.org/packages/e5/3b/bd4f3d2bcf2306ae66b0346f5b42af1962480b200096ffc7abc3bd130eca/brotlicffi-1.1.0.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:2e4aeb0bd2540cb91b069dbdd54d458da8c4334ceaf2d25df2f4af576d6766ca", size = 397397 }, + { url = "https://files.pythonhosted.org/packages/54/10/1fd57864449360852c535c2381ee7120ba8f390aa3869df967c44ca7eba1/brotlicffi-1.1.0.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4b7b0033b0d37bb33009fb2fef73310e432e76f688af76c156b3594389d81391", size = 379698 }, + { url = "https://files.pythonhosted.org/packages/e5/95/15aa422aa6450e6556e54a5fd1650ff59f470aed77ac739aa90ab63dc611/brotlicffi-1.1.0.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:54a07bb2374a1eba8ebb52b6fafffa2afd3c4df85ddd38fcc0511f2bb387c2a8", size = 378635 }, + { url = "https://files.pythonhosted.org/packages/6c/a7/f254e13b2cb43337d6d99a4ec10394c134e41bfda8a2eff15b75627f4a3d/brotlicffi-1.1.0.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7901a7dc4b88f1c1475de59ae9be59799db1007b7d059817948d8e4f12e24e35", size = 385719 }, + { url = "https://files.pythonhosted.org/packages/72/a9/0971251c4427c14b2a827dba3d910d4d3330dabf23d4278bf6d06a978847/brotlicffi-1.1.0.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:ce01c7316aebc7fce59da734286148b1d1b9455f89cf2c8a4dfce7d41db55c2d", size = 361760 }, + { url = "https://files.pythonhosted.org/packages/35/9b/e0b577351e1d9d5890e1a56900c4ceaaef783b807145cd229446a43cf437/brotlicffi-1.1.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:1a807d760763e398bbf2c6394ae9da5815901aa93ee0a37bca5efe78d4ee3171", size = 397392 }, + { url = "https://files.pythonhosted.org/packages/4f/7f/a16534d28386f74781db8b4544a764cf955abae336379a76f50e745bb0ee/brotlicffi-1.1.0.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fa8ca0623b26c94fccc3a1fdd895be1743b838f3917300506d04aa3346fd2a14", size = 379695 }, + { url = "https://files.pythonhosted.org/packages/50/2a/699388b5e489726991132441b55aff0691dd73c49105ef220408a5ab98d6/brotlicffi-1.1.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3de0cf28a53a3238b252aca9fed1593e9d36c1d116748013339f0949bfc84112", size = 378629 }, + { url = "https://files.pythonhosted.org/packages/4a/3f/58254e7fbe6011bf043e4dcade0e16995a9f82b731734fad97220d201f42/brotlicffi-1.1.0.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6be5ec0e88a4925c91f3dea2bb0013b3a2accda6f77238f76a34a1ea532a1cb0", size = 385712 }, + { url = "https://files.pythonhosted.org/packages/40/16/2a29a625a6f74d13726387f83484dfaaf6fcdaafaadfbe26a0412ae268cc/brotlicffi-1.1.0.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:d9eb71bb1085d996244439154387266fd23d6ad37161f6f52f1cd41dd95a3808", size = 361747 }, +] + [[package]] name = "cachetools" version = "5.5.0" @@ -546,6 +659,54 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442 }, ] +[[package]] +name = "inflate64" +version = "1.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/8c/99/18f9940d4a3f2cabc4396a587ddf1bd93236bdb372d9e78e2b0365e40990/inflate64-1.0.0.tar.gz", hash = "sha256:3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d", size = 895853 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/71/cf/06af80e81dd4bbb7e883291cf1726035d526f066a37c4ed4d4cd88a7a49d/inflate64-1.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a90c0bdf4a7ecddd8a64cc977181810036e35807f56b0bcacee9abb0fcfd18dc", size = 59418 }, + { url = "https://files.pythonhosted.org/packages/c9/4b/6f18918220b1a8e935121cece1dc917e62fa593fc637a621470f9b9a601a/inflate64-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:57fe7c14aebf1c5a74fc3b70d355be1280a011521a76aa3895486e62454f4242", size = 36231 }, + { url = "https://files.pythonhosted.org/packages/aa/f4/f4b5dbd78dd5af66b6ca32778ebaa9c14d67b68ea84e96592ccf40786a41/inflate64-1.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d90730165f471d61a1a694a5e354f3ffa938227e8dcecb62d5d728e8069cee94", size = 35738 }, + { url = "https://files.pythonhosted.org/packages/10/23/26289a700550767cf5eb7550f78ad826529706287393f224bbaee3c1b1e2/inflate64-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:543f400201f5c101141af3c79c82059e1aa6ef4f1584a7f1fa035fb2e465097f", size = 92855 }, + { url = "https://files.pythonhosted.org/packages/b8/f4/e387a50f5027194eac4f9712d57b97e3e1a012402eaae98bcf1ebe8a97d1/inflate64-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6ceca14f7ec19fb44b047f56c50efb7521b389d222bba2b0a10286a0caeb03fa", size = 93141 }, + { url = "https://files.pythonhosted.org/packages/33/c8/e516aecd9ed0dc75d8df041ed4ef80f2e2be39d0e516c7269b7f274e760a/inflate64-1.0.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:b559937a42f0c175b4d2dfc7eb53b97bdc87efa9add15ed5549c6abc1e89d02f", size = 95262 }, + { url = "https://files.pythonhosted.org/packages/0b/aa/ed3ab5f8c13afc432fb382edf97cede7a6f9be73ecf98bfe64b686c8d223/inflate64-1.0.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5ff8bd2a562343fcbc4eea26fdc368904a3b5f6bb8262344274d3d74a1de15bb", size = 95912 }, + { url = "https://files.pythonhosted.org/packages/e0/64/5637c4f67ed15518c0765b85b528ed79536caaf8ba167a9f7173e334d4a8/inflate64-1.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:0fe481f31695d35a433c3044ac8fd5d9f5069aaad03a0c04b570eb258ce655aa", size = 35166 }, + { url = "https://files.pythonhosted.org/packages/af/92/701b3c76b1cf244026c3e78dff8487955cf6960c1d9f350e2820a0d1a5d9/inflate64-1.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:35a45f6979ad5874d4d4898c2fc770b136e61b96b850118fdaec5a5af1b9123a", size = 59450 }, + { url = "https://files.pythonhosted.org/packages/bb/1d/af0253fafc27cadd29e3b111ebb3011b8c913a3554b403c90c7595f5933e/inflate64-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:022ca1cc928e7365a05f7371ff06af143c6c667144965e2cf9a9236a2ae1c291", size = 36267 }, + { url = "https://files.pythonhosted.org/packages/b6/22/7949030be11f4754bd6ed7067e9bebdf614013b89ccd4638330a85821b51/inflate64-1.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:46792ecf3565d64fd2c519b0a780c03a57e195613c9954ef94e739a057b3fd06", size = 35740 }, + { url = "https://files.pythonhosted.org/packages/e4/87/c6ce0093a345c04811f6171a367665dec17dcc4617ca150dd37e9ae7bd33/inflate64-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3a70ea2e456c15f7aa7c74b8ab8f20b4f8940ec657604c9f0a9de3342f280fff", size = 95896 }, + { url = "https://files.pythonhosted.org/packages/62/d6/fe113b12773cad2c093d381c2b1629f9cfa240c9ad86a7f9f9079e7a51b5/inflate64-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3e243ea9bd36a035059f2365bd6d156ff59717fbafb0255cb0c75bf151bf6904", size = 96007 }, + { url = "https://files.pythonhosted.org/packages/f0/a6/9165bee4b7fc5af949fec12a2cea7ad73bf9ee97dfb96a0276274c48e709/inflate64-1.0.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:4dc392dec1cd11cacda3d2637214ca45e38202e8a4f31d4a4e566d6e90625fc4", size = 98297 }, + { url = "https://files.pythonhosted.org/packages/ee/72/0aeb360101eeed32696fc6c623bc1780fac895a9fc2e93b582cb1e22ca54/inflate64-1.0.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8b402a50eda7ee75f342fc346d33a41bca58edc222a4b17f9be0db1daed459fa", size = 98858 }, + { url = "https://files.pythonhosted.org/packages/94/4a/8301ad59b57d9de504b0fdce22bf980dfb231753e6d7aed12af938f7f9fd/inflate64-1.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:f5924499dc8800928c0ee4580fa8eb4ffa880b2cce4431537d0390e503a9c9ee", size = 35167 }, + { url = "https://files.pythonhosted.org/packages/18/82/47021b8919c1dc276d0502296f15ffac1cd648b94b35cadb14cb812b6199/inflate64-1.0.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0c644bf7208e20825ca3bbb5fb1f7f495cfcb49eb01a5f67338796d44a42f2bf", size = 59509 }, + { url = "https://files.pythonhosted.org/packages/e0/c9/00701be8e48dc9c9b9488001d9c66d6cb6f6bb0c48af9abf33a69726d130/inflate64-1.0.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:9964a4eaf26a9d36f82a1d9b12c28e35800dd3d99eb340453ed12ac90c2976a8", size = 36305 }, + { url = "https://files.pythonhosted.org/packages/25/c0/11dea5e298b2e7d61f0fbd1005553e8796e35536751980b676547fcc57ef/inflate64-1.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2cccded63865640d03253897be7232b2bbac295fe43914c61f86a57aa23bb61d", size = 35756 }, + { url = "https://files.pythonhosted.org/packages/86/ba/4debdaaafdc21853621caf463a498a754ee4352893454c596dbd65294e9f/inflate64-1.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d491f104fb3701926ebd82b8c9250dfba0ddcab584504e26f1e4adb26730378d", size = 96127 }, + { url = "https://files.pythonhosted.org/packages/89/81/8f559c199ec13d0b70d0dc46811490b2976873c96c564941583777e9b343/inflate64-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5ebad4a6cd2a2c1d81be0b09d4006479f3b258803c49a9224ef8ca0b649072fa", size = 96903 }, + { url = "https://files.pythonhosted.org/packages/46/41/39ac4c7e17d0690578b716a0ff34e00600616994795b0645fd61fc600c0f/inflate64-1.0.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:6823b2c0cff3a8159140f3b17ec64fb8ec0e663b45a6593618ecdde8aeecb5b2", size = 98855 }, + { url = "https://files.pythonhosted.org/packages/44/dd/be5d69492c180f94a6af8a15564ce365bdcb84bd1a6fb32949d6913959aa/inflate64-1.0.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:228d504239d27958e71fc77e3119a6ac4528127df38468a0c95a5bd3927204b8", size = 99884 }, + { url = "https://files.pythonhosted.org/packages/8c/0d/a5266bd4f2cdb7fad1eae3ffe4dcc16f9769323660a0a6cfbe9cc1d2cf03/inflate64-1.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:ae2572e06bcfe15e3bbf77d4e4a6d6c55e2a70d6abceaaf60c5c3653ddb96dfd", size = 35334 }, + { url = "https://files.pythonhosted.org/packages/04/1c/47f9c93df339c381f3f3e7b983d7abf0756f8bd227bf9fb5a2e8b09ea9e5/inflate64-1.0.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:bf2981b95c1f26242bb084d9a07f3feb0cfe3d6d0a8d90f42389803bc1252c4a", size = 59410 }, + { url = "https://files.pythonhosted.org/packages/b9/28/bde1595cae0379c521ae74f698f7da1345d990d2df7558df59470ced639b/inflate64-1.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9373ccf0661cc72ac84a0ad622634144da5ce7d57c9572ed0723d67a149feed2", size = 36230 }, + { url = "https://files.pythonhosted.org/packages/13/64/4350547de7c8a3ac27c1a0ab5807ac2fcbcde121c44190f87da1039421eb/inflate64-1.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e4650c6f65011ec57cf5cd96b92d5b7c6f59e502930c86eb8227c93cf02dc270", size = 35739 }, + { url = "https://files.pythonhosted.org/packages/1a/d6/b55e43c3503d7780aabe3d1d5493c983a99947dff228d9b622d49c58af68/inflate64-1.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a475e8822f1a74c873e60b8f270773757ade024097ca39e43402d47c049c67d4", size = 92655 }, + { url = "https://files.pythonhosted.org/packages/c0/c0/417e5183543445818930b3fe181d718e519d26a227b5b77871d8f0c8502d/inflate64-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d4367480733ac8daf368f6fc704b7c9db85521ee745eb5bd443f4b97d2051acc", size = 92966 }, + { url = "https://files.pythonhosted.org/packages/6d/8e/ada659c83abb78222c666bb8d35b4791cca25a8a4a750f4bc457402d2430/inflate64-1.0.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:6c5775c91f94f5eced9160fb0af12a09f3e030194f91a6a46e706a79350bd056", size = 95075 }, + { url = "https://files.pythonhosted.org/packages/7f/15/59c0e45e091599a05a098374166ff74d3da5f9c0ffa72e8c78b7f0fcaa2b/inflate64-1.0.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:d76d205b844d78ce04768060084ef20e64dcc63a3e9166674f857acaf4d140ed", size = 95751 }, + { url = "https://files.pythonhosted.org/packages/80/21/a90d085b9ea67729d5cef57566c69fd4dec8205c22415cde4be62b7adc64/inflate64-1.0.0-cp39-cp39-win_amd64.whl", hash = "sha256:92f0dc6af0e8e97324981178dc442956cbff1247a56d1e201af8d865244653f8", size = 35164 }, + { url = "https://files.pythonhosted.org/packages/53/91/43238dd8a7e5bab71abae872c09931db4b31aebf672afccb305f79aacb3e/inflate64-1.0.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:f79542478e49e471e8b23556700e6f688a40dc93e9a746f77a546c13251b59b1", size = 34648 }, + { url = "https://files.pythonhosted.org/packages/ef/6f/ce090934a80c1fd0b5b07c125ed6eb2845f11a78af344d69c0f051dcab97/inflate64-1.0.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9a270be6b10cde01258c0097a663a307c62d12c78eb8f62f8e29f205335942c9", size = 36473 }, + { url = "https://files.pythonhosted.org/packages/b4/fe/2cd4bf78696213b807860002c182dd1751ba52c1559143b1b8daa7904733/inflate64-1.0.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1616a87ff04f583e9558cc247ec0b72a30d540ee0c17cc77823be175c0ec92f0", size = 36478 }, + { url = "https://files.pythonhosted.org/packages/43/dd/e62444c0ef7d1228b622e6d3dacf9ea237d8807a78619a83832a3b4a5adf/inflate64-1.0.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:137ca6b315f0157a786c3a755a09395ca69aed8bcf42ad3437cb349f5ebc86d2", size = 35630 }, + { url = "https://files.pythonhosted.org/packages/2b/1e/0e346cb5eced6f2f30bb110e6d7c7ee7ab70ad1ff44b743d4cf314f60f7d/inflate64-1.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:dd6d3e7d47df43210a995fd1f5989602b64de3f2a17cf4cbff553518b3577fd4", size = 34644 }, + { url = "https://files.pythonhosted.org/packages/d4/f7/7ac502391ea56af23661a707e9c94efc01376a27c1b06f7a0cfb553c0f17/inflate64-1.0.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f033b2879696b855200cde5ca4e293132c7499df790acb2c0dacb336d5e83b1", size = 36467 }, + { url = "https://files.pythonhosted.org/packages/09/ea/7c3e7c856f42bee178a9fea816e259b02bd4198873cf07b5a839b96d9696/inflate64-1.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5f816d1c8a0593375c289e285c96deaee9c2d8742cb0edbd26ee05588a9ae657", size = 36475 }, + { url = "https://files.pythonhosted.org/packages/ae/b1/954207a9bd259a57c8c71ba0a26739a32f0d6227529abc9412751f3a87d2/inflate64-1.0.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:1facd35319b6a391ee4c3d709c7c650bcada8cd7141d86cd8c2257287f45e6e6", size = 35626 }, +] + [[package]] name = "iniconfig" version = "2.0.0" @@ -672,6 +833,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/f0/74/c95adcdf032956d9ef6c89a9b8a5152bf73915f8c633f3e3d88d06bd699c/mistune-3.0.2-py3-none-any.whl", hash = "sha256:71481854c30fdbc938963d3605b72501f5c10a9320ecd412c121c163a1c7d205", size = 47958 }, ] +[[package]] +name = "multivolumefile" +version = "0.2.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/50/f0/a7786212b5a4cb9ba05ae84a2bbd11d1d0279523aea0424b6d981d652a14/multivolumefile-0.2.3.tar.gz", hash = "sha256:a0648d0aafbc96e59198d5c17e9acad7eb531abea51035d08ce8060dcad709d6", size = 77984 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/22/31/ec5f46fd4c83185b806aa9c736e228cb780f13990a9cf4da0beb70025fcc/multivolumefile-0.2.3-py3-none-any.whl", hash = "sha256:237f4353b60af1703087cf7725755a1f6fcaeeea48421e1896940cd1c920d678", size = 17037 }, +] + [[package]] name = "mypy-extensions" version = "1.0.0" @@ -808,7 +978,7 @@ dev = [ { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=6.2.5" }, { name = "pytest-cov", specifier = ">=2.12.1" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, { name = "watchdog", specifier = ">=2.1.5" }, ] @@ -823,6 +993,7 @@ dependencies = [ { name = "gdown" }, { name = "gsheets" }, { name = "pandas" }, + { name = "py7zr" }, { name = "pyarrow" }, { name = "pydrive2" }, { name = "structlog" }, @@ -837,6 +1008,7 @@ requires-dist = [ { name = "gdown", specifier = ">=4.5.2" }, { name = "gsheets", specifier = ">=0.6.1" }, { name = "pandas", specifier = ">=2.2.1" }, + { name = "py7zr", specifier = ">=0.22.0" }, { name = "pyarrow", specifier = ">=10.0.1" }, { name = "pydrive2", specifier = ">=1.15.0" }, { name = "structlog", specifier = ">=21.5.0" }, @@ -855,7 +1027,7 @@ dev = [ { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=6.2.5" }, { name = "pytest-cov", specifier = ">=2.12.1" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, { name = "sphinx", specifier = "==4.5.0" }, { name = "watchdog", specifier = ">=2.1.5" }, ] @@ -882,7 +1054,7 @@ dev = [ { name = "ipdb", specifier = ">=0.13.13" }, { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=7.2.0" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, ] [[package]] @@ -1028,6 +1200,23 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/51/3d/71fae0078424ba8ea70b222b6fa56ef771a9918ab91cee806c2abc9d57fa/protobuf-5.28.1-py3-none-any.whl", hash = "sha256:c529535e5c0effcf417682563719e5d8ac8d2b93de07a56108b4c2d436d7a29a", size = 169572 }, ] +[[package]] +name = "psutil" +version = "6.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/26/10/2a30b13c61e7cf937f4adf90710776b7918ed0a9c434e2c38224732af310/psutil-6.1.0.tar.gz", hash = "sha256:353815f59a7f64cdaca1c0307ee13558a0512f6db064e92fe833784f08539c7a", size = 508565 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/da/2b/f4dea5d993d9cd22ad958eea828a41d5d225556123d372f02547c29c4f97/psutil-6.1.0-cp27-none-win32.whl", hash = "sha256:9118f27452b70bb1d9ab3198c1f626c2499384935aaf55388211ad982611407e", size = 246648 }, + { url = "https://files.pythonhosted.org/packages/9f/14/4aa97a7f2e0ac33a050d990ab31686d651ae4ef8c86661fef067f00437b9/psutil-6.1.0-cp27-none-win_amd64.whl", hash = "sha256:a8506f6119cff7015678e2bce904a4da21025cc70ad283a53b099e7620061d85", size = 249905 }, + { url = "https://files.pythonhosted.org/packages/01/9e/8be43078a171381953cfee33c07c0d628594b5dbfc5157847b85022c2c1b/psutil-6.1.0-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:6e2dcd475ce8b80522e51d923d10c7871e45f20918e027ab682f94f1c6351688", size = 247762 }, + { url = "https://files.pythonhosted.org/packages/1d/cb/313e80644ea407f04f6602a9e23096540d9dc1878755f3952ea8d3d104be/psutil-6.1.0-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:0895b8414afafc526712c498bd9de2b063deaac4021a3b3c34566283464aff8e", size = 248777 }, + { url = "https://files.pythonhosted.org/packages/65/8e/bcbe2025c587b5d703369b6a75b65d41d1367553da6e3f788aff91eaf5bd/psutil-6.1.0-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9dcbfce5d89f1d1f2546a2090f4fcf87c7f669d1d90aacb7d7582addece9fb38", size = 284259 }, + { url = "https://files.pythonhosted.org/packages/58/4d/8245e6f76a93c98aab285a43ea71ff1b171bcd90c9d238bf81f7021fb233/psutil-6.1.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:498c6979f9c6637ebc3a73b3f87f9eb1ec24e1ce53a7c5173b8508981614a90b", size = 287255 }, + { url = "https://files.pythonhosted.org/packages/27/c2/d034856ac47e3b3cdfa9720d0e113902e615f4190d5d1bdb8df4b2015fb2/psutil-6.1.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d905186d647b16755a800e7263d43df08b790d709d575105d419f8b6ef65423a", size = 288804 }, + { url = "https://files.pythonhosted.org/packages/ea/55/5389ed243c878725feffc0d6a3bc5ef6764312b6fc7c081faaa2cfa7ef37/psutil-6.1.0-cp37-abi3-win32.whl", hash = "sha256:1ad45a1f5d0b608253b11508f80940985d1d0c8f6111b5cb637533a0e6ddc13e", size = 250386 }, + { url = "https://files.pythonhosted.org/packages/11/91/87fa6f060e649b1e1a7b19a4f5869709fbf750b7c8c262ee776ec32f3028/psutil-6.1.0-cp37-abi3-win_amd64.whl", hash = "sha256:a8fb3752b491d246034fa4d279ff076501588ce8cbcdbb62c32fd7a377d996be", size = 254228 }, +] + [[package]] name = "ptyprocess" version = "0.7.0" @@ -1046,6 +1235,27 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/8e/37/efad0257dc6e593a18957422533ff0f87ede7c9c6ea010a2177d738fb82f/pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0", size = 11842 }, ] +[[package]] +name = "py7zr" +version = "0.22.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "brotli", marker = "platform_python_implementation == 'CPython'" }, + { name = "brotlicffi", marker = "platform_python_implementation == 'PyPy'" }, + { name = "inflate64" }, + { name = "multivolumefile" }, + { name = "psutil", marker = "sys_platform != 'cygwin'" }, + { name = "pybcj" }, + { name = "pycryptodomex" }, + { name = "pyppmd" }, + { name = "pyzstd" }, + { name = "texttable" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/26/c3/0e05c711c16af0b9c47f3f77323303b338b9a871ba020d95d2b8dd6605ae/py7zr-0.22.0.tar.gz", hash = "sha256:c6c7aea5913535184003b73938490f9a4d8418598e533f9ca991d3b8e45a139e", size = 4992926 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d0/59/dd1750002c0f46099281116f8165247bc62dc85edad41cdd26e7b26de19d/py7zr-0.22.0-py3-none-any.whl", hash = "sha256:993b951b313500697d71113da2681386589b7b74f12e48ba13cc12beca79d078", size = 67906 }, +] + [[package]] name = "pyarrow" version = "17.0.0" @@ -1106,6 +1316,46 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/77/89/bc88a6711935ba795a679ea6ebee07e128050d6382eaa35a0a47c8032bdc/pyasn1_modules-0.4.1-py3-none-any.whl", hash = "sha256:49bfa96b45a292b711e986f222502c1c9a5e1f4e568fc30e2574a6c7d07838fd", size = 181537 }, ] +[[package]] +name = "pybcj" +version = "1.0.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/37/d2/22e808b9d25ce3b43f5c8a9e22d873d403485ba55d84a4d6d5d044881762/pybcj-1.0.2.tar.gz", hash = "sha256:c7f5bef7f47723c53420e377bc64d2553843bee8bcac5f0ad076ab1524780018", size = 2111002 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/98/93/4735636b5905b7597068a2c7a10a8df0f668f28659207c274d64a4468b97/pybcj-1.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7bff28d97e47047d69a4ac6bf59adda738cf1d00adde8819117fdb65d966bdbc", size = 32556 }, + { url = "https://files.pythonhosted.org/packages/a6/37/443cd704397b6df54ff0822032e4815aca4e9badabc5ce1faac34235a40c/pybcj-1.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:198e0b4768b4025eb3309273d7e81dc53834b9a50092be6e0d9b3983cfd35c35", size = 23751 }, + { url = "https://files.pythonhosted.org/packages/9a/aa/5a19ed8661e979a4d3237a11706f9a16a474a2227fdd99ccb284be100a98/pybcj-1.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fa26415b4a118ea790de9d38f244312f2510a9bb5c65e560184d241a6f391a2d", size = 23980 }, + { url = "https://files.pythonhosted.org/packages/fe/5f/638ce03948905d267c8c0ccab81b8b4943a0324f63d8bdb0a0e2a85d4503/pybcj-1.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fabb2be57e4ca28ea36c13146cdf97d73abd27c51741923fc6ba1e8cd33e255c", size = 50155 }, + { url = "https://files.pythonhosted.org/packages/09/70/8b6a6cc2a5721f67f629bdc17875c0d603d57f360a19b099a7b4de19383d/pybcj-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:75d6d613bae6f27678d5e44e89d61018779726aa6aa950c516d33a04b8af8c59", size = 49729 }, + { url = "https://files.pythonhosted.org/packages/89/06/2e41e34da0bb2adb3644cbf4366c344e5804a10f1153da7b3a23333f7db8/pybcj-1.0.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:3ffae79ef8a1ea81ea2748ad7b7ad9b882aa88ddf65ce90f9e944df639eccc61", size = 54310 }, + { url = "https://files.pythonhosted.org/packages/b5/0f/de9e76c305d4dcd9d428a90ccac030f06c780bc30549fc449a944a6321bc/pybcj-1.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bdb4d8ff5cba3e0bd1adee7d20dbb2b4d80cb31ac04d6ea1cd06cfc02d2ecd0d", size = 53679 }, + { url = "https://files.pythonhosted.org/packages/1a/41/a807ff6b77ec8e49c749ed1d0db5649fbb1150c6fb5fb391115f4f1d743a/pybcj-1.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:a29be917fbc99eca204b08407e0971e0205bfdad4b74ec915930675f352b669d", size = 24690 }, + { url = "https://files.pythonhosted.org/packages/27/0a/20bf70a7eb7c6b2668ff2af798254033c32a09d6c58ec9a87cd6aa843df5/pybcj-1.0.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a2562ebe5a0abec4da0229f8abb5e90ee97b178f19762eb925c1159be36828b3", size = 32581 }, + { url = "https://files.pythonhosted.org/packages/a9/b6/43977fe4296d2778c6dc67b596bb6a851eaea80f3dd4ff454e5fca8142c2/pybcj-1.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:af19bc61ded933001cd68f004ae2042bf1a78eb498a3c685ebd655fa1be90dbe", size = 23767 }, + { url = "https://files.pythonhosted.org/packages/89/c7/a61010f59406b8a45bb4865faa4b61d6b177dcfac04247fb56c7538d997d/pybcj-1.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f3f4a447800850aba7724a2274ea0a4800724520c1caf38f7d0dabf2f89a5e15", size = 23976 }, + { url = "https://files.pythonhosted.org/packages/10/7a/78848edbb6f12d9b86e375fc46135d9a204ededbf96682b05cb4b4fbd942/pybcj-1.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce1c8af7a4761d2b1b531864d84113948daa0c4245775c63bd9874cb955f4662", size = 51246 }, + { url = "https://files.pythonhosted.org/packages/9e/13/af86c86cdfb293e82dd0b6c4bbdf08645cd8993456ee3fb911c3eeed1b22/pybcj-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8007371f6f2b462f5aa05d5c2135d0a1bcf5b7bdd9bd15d86c730f588d10b7d3", size = 50754 }, + { url = "https://files.pythonhosted.org/packages/39/52/88600aa374b100612a1d82fca4b03eb4315e0084a05ee314ba1b771f7190/pybcj-1.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:1079ca63ff8da5c936b76863690e0bd2489e8d4e0a3a340e032095dae805dd91", size = 55334 }, + { url = "https://files.pythonhosted.org/packages/56/67/3cf9747ef5b53e16a844217c6c9840be6289d05ec785500da2cc55cc25f2/pybcj-1.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e9a785eb26884429d9b9f6326e68c3638828c83bf6d42d2463c97ad5385caff2", size = 54714 }, + { url = "https://files.pythonhosted.org/packages/78/81/a71197903b503f54b85f4d352f909e701e9d26953577bd34d3fbe0520d5d/pybcj-1.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:9ea46e2d45469d13b7f25b08efcdb140220bab1ac5a850db0954591715b8caaa", size = 24693 }, + { url = "https://files.pythonhosted.org/packages/83/60/a3b43836895654aa93b5a8422adc3717359db98da9147abfabffef79f1e7/pybcj-1.0.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:21b5f2460629167340403d359289a173e0729ce8e84e3ce99462009d5d5e01a4", size = 32677 }, + { url = "https://files.pythonhosted.org/packages/50/b9/96c8d9577b0f5a701e4497408e6a331a08eb902aca8dfd4c5bb1eaab4779/pybcj-1.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:2940fb85730b9869254559c491cd83cf777e56c76a8a60df60e4be4f2a4248d7", size = 23813 }, + { url = "https://files.pythonhosted.org/packages/b7/1a/c80132feb084ec4098c0315a132799bddda8878113b5f956e21c4377f5f1/pybcj-1.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f40f3243139d675f43793a4e35c410c370f7b91ccae74e70c8b2f4877869f90e", size = 24019 }, + { url = "https://files.pythonhosted.org/packages/b1/94/62c3bf8a60b4787b46e21f43277d9cb8b6037c8ee183450f035a19a2bc4b/pybcj-1.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9c2b3e60b65c7ac73e44335934e1e122da8d56db87840984601b3c5dc0ae4c19", size = 51927 }, + { url = "https://files.pythonhosted.org/packages/8b/9e/4ebd092251ef8d15408388be508617d5949cbba4baa2a6cfbb7e0a9b62c0/pybcj-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:746550dc7b5af4d04bb5fa4d065f18d39c925bcb5dee30db75747cd9a58bb6e8", size = 51665 }, + { url = "https://files.pythonhosted.org/packages/24/ea/da4637563468854bd361a69cd883946015f54fa119a5d9c655d26f151954/pybcj-1.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:8ce9b62b6aaa5b08773be8a919ecc4e865396c969f982b685eeca6e80c82abb7", size = 56041 }, + { url = "https://files.pythonhosted.org/packages/cf/b2/9b9e670818af925ed9a0168a5c021ccfcc089637d0e6651d16fd05896425/pybcj-1.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:493eab2b1f6f546730a6de0c5ceb75ce16f3767154e8ae30e2b70d41b928b7d2", size = 55606 }, + { url = "https://files.pythonhosted.org/packages/72/e9/d6b1bdf3a5aca8f3981145a5228ad51d72e2477a55927604a4768765e915/pybcj-1.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:ef55b96b7f2ed823e0b924de902065ec42ade856366c287dbb073fabd6b90ec1", size = 24719 }, + { url = "https://files.pythonhosted.org/packages/6e/18/ca43a186a570b3f6820a24f3ad726d0f0322f0b08f5550a92f99741a2e58/pybcj-1.0.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:fdb7cd8271471a5979d84915c1ee57eea7e0a69c893225fc418db66883b0e2a7", size = 32548 }, + { url = "https://files.pythonhosted.org/packages/f1/10/ee383b3450f7f13fbe234668fcf143b9a1e916e0cb84f5267ff3a5c6ad60/pybcj-1.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e96ae14062bdcddc3197300e6ee4efa6fbc6749be917db934eac66d0daaecb68", size = 23743 }, + { url = "https://files.pythonhosted.org/packages/1f/90/2d2851d694a7dc3640c6309af0e534cab145e7463bc408114db7eaa20115/pybcj-1.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a54ebdc8423ba99d75372708a882fcfc3b14d9d52cf195295ad53e5a47dab37f", size = 23971 }, + { url = "https://files.pythonhosted.org/packages/9a/29/8326dbfea26d643d5a95f836103ac278eb297143d881188d94b987e3a520/pybcj-1.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3602be737c6e9553c45ae89e6b0e556f64f34dabf27d5260317d1824d31b79d3", size = 49937 }, + { url = "https://files.pythonhosted.org/packages/ac/b2/26fa2cba6bc488380515929757cafbdbf01f30184a1aa11ef7ee35bb21a2/pybcj-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:63dd2ca52a48841f561bfec0fa3f208d375b0a8dcd3d7b236459e683ae29221d", size = 49517 }, + { url = "https://files.pythonhosted.org/packages/58/7b/d5e39a73202eb7b67793a4313ae5a85bdbf1470899dc2d3119c6a2414e9b/pybcj-1.0.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:8204a714029784b1a08a3d790430d80b423b68615c5b1e67aabca5bd5419b77d", size = 54141 }, + { url = "https://files.pythonhosted.org/packages/8e/f0/5abc858fe9d07338e485e86b2d82d1f1a0aa36c2af5271156c1140d04d15/pybcj-1.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:fde2376b180ae2620c102fbc3ef06638d306feae83964aaa5051ecbdda54845a", size = 53499 }, + { url = "https://files.pythonhosted.org/packages/9f/ac/4bad26429aab693235035f813dc60ff00ff5164acbbb98c4e26f190a21cd/pybcj-1.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:3b8d7810fb587adbffba025330cf212d9bbed8f29559656d05cb6609673f306a", size = 24686 }, +] + [[package]] name = "pycparser" version = "2.22" @@ -1115,6 +1365,34 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl", hash = "sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc", size = 117552 }, ] +[[package]] +name = "pycryptodomex" +version = "3.21.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/11/dc/e66551683ade663b5f07d7b3bc46434bf703491dbd22ee12d1f979ca828f/pycryptodomex-3.21.0.tar.gz", hash = "sha256:222d0bd05381dd25c32dd6065c071ebf084212ab79bab4599ba9e6a3e0009e6c", size = 4818543 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/22/5e/99f217d9881eead69607a2248dd7bbdf610837d7f5ad53f45a6cb71bbbfb/pycryptodomex-3.21.0-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:34325b84c8b380675fd2320d0649cdcbc9cf1e0d1526edbe8fce43ed858cdc7e", size = 2499490 }, + { url = "https://files.pythonhosted.org/packages/ce/8f/4d0e2a859a6470289d64e39b419f01d2494dfa2e4995342d50f6c2834237/pycryptodomex-3.21.0-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:103c133d6cd832ae7266feb0a65b69e3a5e4dbbd6f3a3ae3211a557fd653f516", size = 1638037 }, + { url = "https://files.pythonhosted.org/packages/0c/9e/6e748c1fa814c956d356f93cf7192b19487ca56fc9e2a0bcde2bbc057601/pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77ac2ea80bcb4b4e1c6a596734c775a1615d23e31794967416afc14852a639d3", size = 2172279 }, + { url = "https://files.pythonhosted.org/packages/46/3f/f5bef92b11750af9e3516d4e69736eeeff20a2818d34611508bef5a7b381/pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9aa0cf13a1a1128b3e964dc667e5fe5c6235f7d7cfb0277213f0e2a783837cc2", size = 2258130 }, + { url = "https://files.pythonhosted.org/packages/de/4d/f0c65afd64ce435fd0547187ce6f99dfb37cdde16b05b57bca9f5c06966e/pycryptodomex-3.21.0-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:46eb1f0c8d309da63a2064c28de54e5e614ad17b7e2f88df0faef58ce192fc7b", size = 2297719 }, + { url = "https://files.pythonhosted.org/packages/1c/6a/2a1a101b0345ee70376ba93df8de6c8c01aac8341fda02970800873456a7/pycryptodomex-3.21.0-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:cc7e111e66c274b0df5f4efa679eb31e23c7545d702333dfd2df10ab02c2a2ce", size = 2164079 }, + { url = "https://files.pythonhosted.org/packages/3d/00/90a15f16c234815b660303c2d7266b41b401ea2605f3a90373e9d425e39f/pycryptodomex-3.21.0-cp36-abi3-musllinux_1_2_i686.whl", hash = "sha256:770d630a5c46605ec83393feaa73a9635a60e55b112e1fb0c3cea84c2897aa0a", size = 2333060 }, + { url = "https://files.pythonhosted.org/packages/61/74/49f5d20c514ccc631b940cc9dfec45dcce418dc84a98463a2e2ebec33904/pycryptodomex-3.21.0-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:52e23a0a6e61691134aa8c8beba89de420602541afaae70f66e16060fdcd677e", size = 2257982 }, + { url = "https://files.pythonhosted.org/packages/92/4b/d33ef74e2cc0025a259936661bb53432c5bbbadc561c5f2e023bcd73ce4c/pycryptodomex-3.21.0-cp36-abi3-win32.whl", hash = "sha256:a3d77919e6ff56d89aada1bd009b727b874d464cb0e2e3f00a49f7d2e709d76e", size = 1779052 }, + { url = "https://files.pythonhosted.org/packages/5b/be/7c991840af1184009fc86267160948350d1bf875f153c97bb471ad944e40/pycryptodomex-3.21.0-cp36-abi3-win_amd64.whl", hash = "sha256:b0e9765f93fe4890f39875e6c90c96cb341767833cfa767f41b490b506fa9ec0", size = 1816307 }, + { url = "https://files.pythonhosted.org/packages/af/ac/24125ad36778914a36f08d61ba5338cb9159382c638d9761ee19c8de822c/pycryptodomex-3.21.0-pp27-pypy_73-manylinux2010_x86_64.whl", hash = "sha256:feaecdce4e5c0045e7a287de0c4351284391fe170729aa9182f6bd967631b3a8", size = 1694999 }, + { url = "https://files.pythonhosted.org/packages/93/73/be7a54a5903508070e5508925ba94493a1f326cfeecfff750e3eb250ea28/pycryptodomex-3.21.0-pp27-pypy_73-win32.whl", hash = "sha256:365aa5a66d52fd1f9e0530ea97f392c48c409c2f01ff8b9a39c73ed6f527d36c", size = 1769437 }, + { url = "https://files.pythonhosted.org/packages/e5/9f/39a6187f3986841fa6a9f35c6fdca5030ef73ff708b45a993813a51d7d10/pycryptodomex-3.21.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:3efddfc50ac0ca143364042324046800c126a1d63816d532f2e19e6f2d8c0c31", size = 1619607 }, + { url = "https://files.pythonhosted.org/packages/f8/70/60bb08e9e9841b18d4669fb69d84b64ce900aacd7eb0ebebd4c7b9bdecd3/pycryptodomex-3.21.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0df2608682db8279a9ebbaf05a72f62a321433522ed0e499bc486a6889b96bf3", size = 1653571 }, + { url = "https://files.pythonhosted.org/packages/c9/6f/191b73509291c5ff0dddec9cc54797b1d73303c12b2e4017b24678e57099/pycryptodomex-3.21.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5823d03e904ea3e53aebd6799d6b8ec63b7675b5d2f4a4bd5e3adcb512d03b37", size = 1691548 }, + { url = "https://files.pythonhosted.org/packages/2d/c7/a0d3356f3074ac548afefa515ff46f3bea011deca607faf1c09b26dd5330/pycryptodomex-3.21.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:27e84eeff24250ffec32722334749ac2a57a5fd60332cd6a0680090e7c42877e", size = 1792099 }, + { url = "https://files.pythonhosted.org/packages/55/ee/9349856ee02826899fdc489016756865158217909a82dcc74cc4d55d33af/pycryptodomex-3.21.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:8ef436cdeea794015263853311f84c1ff0341b98fc7908e8a70595a68cefd971", size = 1619490 }, + { url = "https://files.pythonhosted.org/packages/07/93/e68fac121fcf761fd7a85a27f024c9238217e4d943c861a856ca354f412e/pycryptodomex-3.21.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a1058e6dfe827f4209c5cae466e67610bcd0d66f2f037465daa2a29d92d952b", size = 1653481 }, + { url = "https://files.pythonhosted.org/packages/b8/47/8a39243d09fd294c339c59834ba3c92715584f3ed0d92b6bacb26f803ce0/pycryptodomex-3.21.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9ba09a5b407cbb3bcb325221e346a140605714b5e880741dc9a1e9ecf1688d42", size = 1691442 }, + { url = "https://files.pythonhosted.org/packages/21/1c/f8860c558b44776573acd719c1e86fec14d42f29cf248eaba9c770151d14/pycryptodomex-3.21.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:8a9d8342cf22b74a746e3c6c9453cb0cfbb55943410e3a2619bd9164b48dc9d9", size = 1791966 }, +] + [[package]] name = "pydrive2" version = "1.20.0" @@ -1160,6 +1438,68 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/e5/0c/0e3c05b1c87bb6a1c76d281b0f35e78d2d80ac91b5f8f524cebf77f51049/pyparsing-3.1.4-py3-none-any.whl", hash = "sha256:a6a7ee4235a3f944aa1fa2249307708f893fe5717dc603503c6c7969c070fb7c", size = 104100 }, ] +[[package]] +name = "pyppmd" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/39/c8/9039c7503577de08a3f4c81e7619583efdc16030da6d1a25268d3dca49c8/pyppmd-1.1.0.tar.gz", hash = "sha256:1d38ce2e4b7eb84b53bc8a52380b94f66ba6c39328b8800b30c2b5bf31693973", size = 1348949 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6e/10/b19621035862e2ae12a1ba14c5b5c0a0befb27906bc00691642d7bdbdce6/pyppmd-1.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:c5cd428715413fe55abf79dc9fc54924ba7e518053e1fc0cbdf80d0d99cf1442", size = 75756 }, + { url = "https://files.pythonhosted.org/packages/85/4a/a7c172cd431c4e1ddf9be349dc4bcfea81c2a236d2fe51bbfdcd697af55a/pyppmd-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0e96cc43f44b7658be2ea764e7fa99c94cb89164dbb7cdf209178effc2168319", size = 47347 }, + { url = "https://files.pythonhosted.org/packages/0d/32/f7357e0412e977ede4d63ba8bf55d014e5ea5b311818b2b0a1fee6d91baa/pyppmd-1.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:dd20142869094bceef5ab0b160f4fff790ad1f612313a1e3393a51fc3ba5d57e", size = 46640 }, + { url = "https://files.pythonhosted.org/packages/b5/8e/1f416819f0aab17de47b15b72d0e9b05e2bf795c6e28d9f403ac01398b74/pyppmd-1.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a4f9b51e45c11e805e74ea6f6355e98a6423b5bbd92f45aceee24761bdc3d3b8", size = 135666 }, + { url = "https://files.pythonhosted.org/packages/73/ac/7d07d3ac6874f235554de392de08e6a369001db43cd6a619af4fbe02fb55/pyppmd-1.1.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:459f85e928fb968d0e34fb6191fd8c4e710012d7d884fa2b317b2e11faac7c59", size = 132892 }, + { url = "https://files.pythonhosted.org/packages/09/76/61db4268a439cfba8736b14130d928d199633fab2360a2c5043332a427d2/pyppmd-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f73cf2aaf60477eef17f5497d14b6099d8be9748390ad2b83d1c88214d050c05", size = 138901 }, + { url = "https://files.pythonhosted.org/packages/8b/9c/546729489ae07c0d7c2bfe37c69ae1cd3ce35a18ab000480ea4e8f12754f/pyppmd-1.1.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:2ea3ae0e92c0b5345cd3a4e145e01bbd79c2d95355481ea5d833b5c0cb202a2d", size = 139725 }, + { url = "https://files.pythonhosted.org/packages/f7/db/4e734e97541554a389e7adb2a2a5c86ad8ae35c4dafe817b12fdc317de1a/pyppmd-1.1.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:775172c740133c0162a01c1a5443d0e312246881cdd6834421b644d89a634b91", size = 131598 }, + { url = "https://files.pythonhosted.org/packages/b1/8f/530e47290e07d2fdedfd345fc72af08226ccdd4cc913c2b895a8396c17b6/pyppmd-1.1.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:14421030f1d46f69829698bdd960698a3b3df0925e3c470e82cfcdd4446b7bc1", size = 142767 }, + { url = "https://files.pythonhosted.org/packages/a5/f9/16e0adfef500b171a96ed3c95f4a4d999f99cc79de3e415146808b19c2fb/pyppmd-1.1.0-cp310-cp310-win32.whl", hash = "sha256:b691264f9962532aca3bba5be848b6370e596d0a2ca722c86df388be08d0568a", size = 41283 }, + { url = "https://files.pythonhosted.org/packages/37/8d/c4846ab632e13ead87189f31bcc51fc825c75078d162a4a9dc8aed0a5b97/pyppmd-1.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:216b0d969a3f06e35fbfef979706d987d105fcb1e37b0b1324f01ee143719c4a", size = 46078 }, + { url = "https://files.pythonhosted.org/packages/27/0e/9db5d7c6ca3159aa0f07c0f1d5c59079176e7c57740a61aca62a39661178/pyppmd-1.1.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:1f8c51044ee4df1b004b10bf6b3c92f95ea86cfe1111210d303dca44a56e4282", size = 75781 }, + { url = "https://files.pythonhosted.org/packages/f0/1b/4894b5c71feee76d3dfccf4383b59841f9bfd27aecf912b6542a2ab1e073/pyppmd-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ac25b3a13d1ac9b8f0bde46952e10848adc79d932f2b548a6491ef8825ae0045", size = 47370 }, + { url = "https://files.pythonhosted.org/packages/50/98/57b2c281e546f682279bd4a2577045d1f6d527c8fa2151a990b2a9bc48c2/pyppmd-1.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c8d3003eebe6aabe22ba744a38a146ed58a25633420d5da882b049342b7c8036", size = 46633 }, + { url = "https://files.pythonhosted.org/packages/06/72/b7e37aa69b7a105bcc119bc171437fbcb104aef2568b68ec8ed21a3fcdd1/pyppmd-1.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7c520656bc12100aa6388df27dd7ac738577f38bf43f4a4bea78e1861e579ea5", size = 138233 }, + { url = "https://files.pythonhosted.org/packages/60/73/4f53a3c7730e1cba3f210b35ed6779e0fe302739196f43452664e079c0b5/pyppmd-1.1.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c2a3e807028159a705951f5cb5d005f94caed11d0984e59cc50506de543e22d", size = 135486 }, + { url = "https://files.pythonhosted.org/packages/31/7c/956ebf1f07506bb59e6f13ef068d91f1bec828758d399b455b175b668f6c/pyppmd-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec8a2447e69444703e2b273247bfcd4b540ec601780eff07da16344c62d2993d", size = 141183 }, + { url = "https://files.pythonhosted.org/packages/73/b4/4863499e012c555f4619dbebc5b83d79818e0161d9b6fb8b1e709fb1d6c7/pyppmd-1.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b9e0c8053e69cad6a92a0889b3324f567afc75475b4f54727de553ac4fc85780", size = 141752 }, + { url = "https://files.pythonhosted.org/packages/b4/cc/44e175222b31f86d0192d1d0d2c46c4bf0e933c9a06a65ff39596ad05666/pyppmd-1.1.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:5938d256e8d2a2853dc3af8bb58ae6b4a775c46fc891dbe1826a0b3ceb624031", size = 133921 }, + { url = "https://files.pythonhosted.org/packages/f1/d9/2f2e222d43ab274909e8dcd16d25cd4cc0245a8d59f93f8d6397cd4dc49f/pyppmd-1.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:1ce5822d8bea920856232ccfb3c26b56b28b6846ea1b0eb3d5cb9592a026649e", size = 145191 }, + { url = "https://files.pythonhosted.org/packages/6d/e7/1214571442624e2314ed1ed5ba0081358335fc760fb455c3d8df83b118c6/pyppmd-1.1.0-cp311-cp311-win32.whl", hash = "sha256:2a9e894750f2a52b03e3bc0d7cf004d96c3475a59b1af7e797d808d7d29c9ffe", size = 41286 }, + { url = "https://files.pythonhosted.org/packages/8e/7f/d3cc8443bd2b56bc54ea205dcf73d70ef8d4342096ff33fc8719956f45e9/pyppmd-1.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:969555c72e72fe2b4dd944127521a8f2211caddb5df452bbc2506b5adfac539e", size = 46087 }, + { url = "https://files.pythonhosted.org/packages/bf/0b/4c8e3a92c4366a9aa2d801ab4bd7ba72bd1d214da890dd91ab4d73e52878/pyppmd-1.1.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:9d6ef8fd818884e914bc209f7961c9400a4da50d178bba25efcef89f09ec9169", size = 76116 }, + { url = "https://files.pythonhosted.org/packages/e1/0b/45fdf5a28c810ed4d3c0cb05ae5346e2972cdbfe89f374b263e07c5b820d/pyppmd-1.1.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:95f28e2ecf3a9656bd7e766aaa1162b6872b575627f18715f8b046e8617c124a", size = 47633 }, + { url = "https://files.pythonhosted.org/packages/56/a4/4aa1d36d98f3786c8b12ac96ac8234d7dc3c2a9e8f5174a5698f424099ec/pyppmd-1.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:37f3557ea65ee417abcdf5f49d35df00bb9f6f252639cae57aeefcd0dd596133", size = 46704 }, + { url = "https://files.pythonhosted.org/packages/d9/70/a49389a6666f670db5ecc7caa37030c9a9abfeea455c387172584551a271/pyppmd-1.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6e84b25d088d7727d50218f57f92127cdb839acd6ec3de670b6680a4cf0b2d2a", size = 139145 }, + { url = "https://files.pythonhosted.org/packages/30/4c/f08cdf618744a3cce0da106ecf6e427b24d27b0bb1484afc40b88ca23a39/pyppmd-1.1.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:99ed42891986dac8c2ecf52bddfb777900233d867aa18849dbba6f3335600466", size = 136618 }, + { url = "https://files.pythonhosted.org/packages/bb/e0/afc0fb971c893e9e72cc8d70df93c50b3f3ebb12b4bdb21f869b775faf7e/pyppmd-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c6fe69b82634488ada75ba07efb90cd5866fa3d64a2c12932b6e8ae207a14e5f", size = 142757 }, + { url = "https://files.pythonhosted.org/packages/26/b2/793e92c7a66de0b0b8d777c3c4df3ee5a5bec7fbaf0b69ab7374cefefa43/pyppmd-1.1.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:60981ffde1fe6ade750b690b35318c41a1160a8505597fda2c39a74409671217", size = 142749 }, + { url = "https://files.pythonhosted.org/packages/5e/6e/a1bf750bc7ed025a06600c65917d02e3c6dea7dfa728746c7251d4910d37/pyppmd-1.1.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:46e8240315476f57aac23d71e6de003e122b65feba7c68f4cc46a089a82a7cd4", size = 135033 }, + { url = "https://files.pythonhosted.org/packages/1e/ee/4a12a4b1990f1fabb77f9ef94d2cd6c795690eec79ad135b8236dc59dbd2/pyppmd-1.1.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:c0308e2e76ecb4c878a18c2d7a7c61dbca89b4ef138f65d5f5ead139154dcdea", size = 146510 }, + { url = "https://files.pythonhosted.org/packages/04/cd/a6571420345315f5340ac10897726303ae07260cb025dc4a60371d1e8b97/pyppmd-1.1.0-cp312-cp312-win32.whl", hash = "sha256:b4fa4c27dc1314d019d921f2aa19e17f99250557e7569eeb70e180558f46af74", size = 41332 }, + { url = "https://files.pythonhosted.org/packages/c0/a4/af77129d671d6adcc6c82e1b0f03f0ad0b70c44ac70ed4c72b5c8952553b/pyppmd-1.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:c269d21e15f4175df27cf00296476097af76941f948734c642d7fb6e85b9b3b9", size = 46193 }, + { url = "https://files.pythonhosted.org/packages/b4/10/144f811290a36d6cf5b5c8ae9b68533abe4bea160285be73435d55c361e1/pyppmd-1.1.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:2aeea1bf585c6b8771fa43a6abd704da92f8a46a6d0020953af15d7f3c82e48c", size = 75760 }, + { url = "https://files.pythonhosted.org/packages/dc/2b/242b6ba7938e77f14dadc0e5d638288b5588f0aff5e5d2c0428726606e5e/pyppmd-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7759bdb137694d4ab0cfa5ff2c75c212d90714c7da93544694f68001a0c38e12", size = 47339 }, + { url = "https://files.pythonhosted.org/packages/ec/80/91a13a5d0da916e7243f66839941976b2729bac1d3ca1737c20f1d59b216/pyppmd-1.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:db64a4fe956a2e700a737a1d019f526e6ccece217c163b28b354a43464cc495b", size = 46636 }, + { url = "https://files.pythonhosted.org/packages/aa/18/f6126af21186eee49f9aa090c36acc9d2bccef4c7d077d23b2f24dfb804c/pyppmd-1.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3f788ae8f5a9e79cd777b7969d3401b2a2b87f47abe306c2a03baca30595e9bd", size = 135484 }, + { url = "https://files.pythonhosted.org/packages/03/55/ebfeb5d1085f8a2bd03f498aa7e6ef9635380bf1f88badd1f3b944198ada/pyppmd-1.1.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:324a178935c140210fca2043c688b77e79281da8172d2379a06e094f41735851", size = 132741 }, + { url = "https://files.pythonhosted.org/packages/df/92/f0a7a6e372c4bd659b5528ff179676522aa72bd8c7a071e757a490ff988e/pyppmd-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:363030bbcb7902fb9eeb59ffc262581ca5dd7790ba950328242fd2491c54d99b", size = 138761 }, + { url = "https://files.pythonhosted.org/packages/43/32/0f32a70ef3fbe287dc53fd86408e9c2f60515ab356bd728bde9fcebcb598/pyppmd-1.1.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:31b882584f86440b0ff7906385c9f9d9853e5799197abaafdae2245f87d03f01", size = 139568 }, + { url = "https://files.pythonhosted.org/packages/fd/02/730882ea61653af4ef22b3621e9a03e85e61c90884fb47df4495706439f5/pyppmd-1.1.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:b991b4501492ec3380b605fe30bee0b61480d305e98519d81c2a658b2de01593", size = 131441 }, + { url = "https://files.pythonhosted.org/packages/9e/cd/624b6582766b8e60c4356ebcfe73504c81d1395f36d0d409ff081be56e3d/pyppmd-1.1.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:b6108044d943b826f97a9e79201242f61392d6c1fadba463b2069c4e6bc961e1", size = 142558 }, + { url = "https://files.pythonhosted.org/packages/65/46/1908b1ef3ba6f1450bc1a3e45a6b39cfe4b33456a312d1add0041ba1bbe4/pyppmd-1.1.0-cp39-cp39-win32.whl", hash = "sha256:c45ce2968b7762d2cacf622b0a8f260295c6444e0883fd21a21017e3eaef16ed", size = 41284 }, + { url = "https://files.pythonhosted.org/packages/63/29/081b03f989deb7ce2f70461dac12ecc422e9abef6b7b7a1933945c96b06f/pyppmd-1.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:f5289f32ab4ec5f96a95da51309abd1769f928b0bff62047b3bc25c878c16ccb", size = 46071 }, + { url = "https://files.pythonhosted.org/packages/6a/e2/1d5fbd6dde1234b635000072c8d1d87c7ed3acf01a3c4aa8082504d58bc5/pyppmd-1.1.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:ad5da9f7592158e6b6b51d7cd15e536d8b23afbb4d22cba4e5744c7e0a3548b1", size = 41505 }, + { url = "https://files.pythonhosted.org/packages/24/66/9215c5dda61b3aa3259902a586dacd198b4b0793ab99228734091b5e7fa7/pyppmd-1.1.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bc6543e7d12ef0a1466d291d655e3d6bca59c7336dbb53b62ccdd407822fb52b", size = 44814 }, + { url = "https://files.pythonhosted.org/packages/1a/87/cc2aa429688f238ae30f26b8334194a21e25643d3257c9e5b14cccdc578e/pyppmd-1.1.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a5e4008a45910e3c8c227f6f240de67eb14454c015dc3d8060fc41e230f395d3", size = 43629 }, + { url = "https://files.pythonhosted.org/packages/9f/96/cd3f64f6bdce091ffb6d2c1c23dc91e8b94e312a5d08cd648625555fb69e/pyppmd-1.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9301fa39d1fb0ed09a10b4c5d7f0074113e96a1ead16ba7310bedf95f7ef660c", size = 43911 }, + { url = "https://files.pythonhosted.org/packages/e6/ab/02ab90e2dddf2dd55e30e64fa0509627c6e0c86b26503a6df95ae55b1e45/pyppmd-1.1.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:59521a3c6028da0cb5780ba16880047b00163432a6b975da2f6123adfc1b0be8", size = 42427 }, + { url = "https://files.pythonhosted.org/packages/fa/0e/05db05c0da6a9bbb1f32de107b9f92e95ca9cb407c2082c7a0bee0a8868b/pyppmd-1.1.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:cce8cd2d4ceebe2dbf41db6dfebe4c2e621314b3af8a2df2cba5eb5fa277f122", size = 41500 }, + { url = "https://files.pythonhosted.org/packages/ba/89/48b01bcab274c59548897de336b807777b8e4abbd0465ed37c04152d13e2/pyppmd-1.1.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:62e57927dbcb91fb6290a41cd83743b91b9d85858efb16a0dd34fac208ee1c6b", size = 44810 }, + { url = "https://files.pythonhosted.org/packages/a9/e4/bf4aa2305eda1bdf530d8127e07dd324ae923e664db3aa7bf153f1d749ec/pyppmd-1.1.0-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:435317949a6f35e54cdf08e0af6916ace427351e7664ac1593980114668f0aaa", size = 43625 }, + { url = "https://files.pythonhosted.org/packages/fc/be/33478c13fad90049c35034d9f7de658353f82fc2cd91c57efd904b71ebb7/pyppmd-1.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f66b0d0e32b8fb8707f1d2552f13edfc2917e8ed0bdf4d62e2ce190d2c70834", size = 43909 }, + { url = "https://files.pythonhosted.org/packages/60/34/922d8ca6879f08d17f9771e6ef65e9491c2ebbd48934997a3ff01285e55e/pyppmd-1.1.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:650a663a591e06fb8096c213f4070b158981c8c3bf9c166ce7e4c360873f2750", size = 42422 }, +] + [[package]] name = "pyright" version = "1.1.373" @@ -1285,6 +1625,96 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/19/87/5124b1c1f2412bb95c59ec481eaf936cd32f0fe2a7b16b97b81c4c017a6a/PyYAML-6.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:39693e1f8320ae4f43943590b49779ffb98acb81f788220ea932a6b6c51004d8", size = 162312 }, ] +[[package]] +name = "pyzstd" +version = "0.16.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/62/14/878fee4072cecb1cc6e061c7d0d933e481389c27de939538c9cc3f18894a/pyzstd-0.16.2.tar.gz", hash = "sha256:179c1a2ea1565abf09c5f2fd72f9ce7c54b2764cf7369e05c0bfd8f1f67f63d2", size = 789505 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3d/a9/efad061c5a982f859ba8bf5de565d73567f87ad8bba3364fe28e9a8672b6/pyzstd-0.16.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:637376c8f8cbd0afe1cab613f8c75fd502bd1016bf79d10760a2d5a00905fe62", size = 372191 }, + { url = "https://files.pythonhosted.org/packages/b6/36/eb6dcfacb273ca13dfa20d296f27ffd0a6c53677965f868625edf764b71e/pyzstd-0.16.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3e7a7118cbcfa90ca2ddbf9890c7cb582052a9a8cf2b7e2c1bbaf544bee0f16a", size = 295083 }, + { url = "https://files.pythonhosted.org/packages/fb/76/a7862487402123f221439808ed50915e00cfc8e1df7365af366610176347/pyzstd-0.16.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a74cb1ba05876179525144511eed3bd5a509b0ab2b10632c1215a85db0834dfd", size = 390166 }, + { url = "https://files.pythonhosted.org/packages/b8/52/1e1ab63026d67f18b9841285576d59bb799b838a5de4f852ad9e054674a1/pyzstd-0.16.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7c084dde218ffbf112e507e72cbf626b8f58ce9eb23eec129809e31037984662", size = 472043 }, + { url = "https://files.pythonhosted.org/packages/0d/24/14c8948b9d16d399ff80504bc404bb091b0eb5339f6fbdad0481da751c09/pyzstd-0.16.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d4646459ebd3d7a59ddbe9312f020bcf7cdd1f059a2ea07051258f7af87a0b31", size = 415258 }, + { url = "https://files.pythonhosted.org/packages/6b/3e/e4c7f449af9d19975ff5d333a58330317cf8b05fe4754106c694a29e7c25/pyzstd-0.16.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:14bfc2833cc16d7657fc93259edeeaa793286e5031b86ca5dc861ba49b435fce", size = 413680 }, + { url = "https://files.pythonhosted.org/packages/10/09/8918853028cf593c141456b9a42d68420beec3f16a8cc4f1aa5d0b8b0c84/pyzstd-0.16.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f27d488f19e5bf27d1e8aa1ae72c6c0a910f1e1ffbdf3c763d02ab781295dd27", size = 412630 }, + { url = "https://files.pythonhosted.org/packages/47/20/5a4c899530571e0e8ecdcb9dc7e3fc38491d4b342fbd7d8413805c88013b/pyzstd-0.16.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:91e134ca968ff7dcfa8b7d433318f01d309b74ee87e0d2bcadc117c08e1c80db", size = 404980 }, + { url = "https://files.pythonhosted.org/packages/0a/1d/aeeeebb702d3500a01b5b1029ba1716aea3afa75e8aacb904806b3f1afe5/pyzstd-0.16.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:6b5f64cd3963c58b8f886eb6139bb8d164b42a74f8a1bb95d49b4804f4592d61", size = 418000 }, + { url = "https://files.pythonhosted.org/packages/fc/0c/66ca36d24ad97af40a8fe8de9e3f316a5f4fd2fb3cab8634a2f7da5571c8/pyzstd-0.16.2-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:0b4a8266871b9e0407f9fd8e8d077c3558cf124d174e6357b523d14f76971009", size = 485576 }, + { url = "https://files.pythonhosted.org/packages/39/66/6c1de1347de94aa85f60e854cccae0948bda2eda2351e4d47c8bb0a7cf18/pyzstd-0.16.2-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:1bb19f7acac30727354c25125922aa59f44d82e0e6a751df17d0d93ff6a73853", size = 564542 }, + { url = "https://files.pythonhosted.org/packages/6d/46/75365a3ab279d58e69d410ce0a21527e689fa651837227e23dee294d096f/pyzstd-0.16.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:3008325b7368e794d66d4d98f2ee1d867ef5afd09fd388646ae02b25343c420d", size = 430619 }, + { url = "https://files.pythonhosted.org/packages/0d/62/17bf81d42acbd39bffdea559b6fbd7ec331cd74bc52f249e536fefe5480d/pyzstd-0.16.2-cp310-cp310-win32.whl", hash = "sha256:66f2d5c0bbf5bf32c577aa006197b3525b80b59804450e2c32fbcc2d16e850fd", size = 218224 }, + { url = "https://files.pythonhosted.org/packages/f7/b6/281245890df08a567186c6e262c43d68581291cca107c8d7304c37708e46/pyzstd-0.16.2-cp310-cp310-win_amd64.whl", hash = "sha256:5fe5f5459ebe1161095baa7a86d04ab625b35148f6c425df0347ed6c90a2fd58", size = 245012 }, + { url = "https://files.pythonhosted.org/packages/10/5a/19d7aec81853f6dc53eabad388227e3beecfaca4788af23b8807a0ea2112/pyzstd-0.16.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1c1bdbe7f01c7f37d5cd07be70e32a84010d7dfd6677920c0de04cf7d245b60d", size = 372192 }, + { url = "https://files.pythonhosted.org/packages/29/35/2eb025e6a0fff49b5de8bea20e82e4d7d5456e634bf3809123fbe5e5f194/pyzstd-0.16.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1882a3ceaaf9adc12212d587d150ec5e58cfa9a765463d803d739abbd3ac0f7a", size = 295084 }, + { url = "https://files.pythonhosted.org/packages/04/1f/03785d7ff1ce73b9347533f798cb27afa57768e66012f97b18b7b7303158/pyzstd-0.16.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ea46a8b9d60f6a6eba29facba54c0f0d70328586f7ef0da6f57edf7e43db0303", size = 390167 }, + { url = "https://files.pythonhosted.org/packages/b7/59/e307622115a2df30075efbd28933dc0ad8f2007c5ba5a3eb49c956de3d56/pyzstd-0.16.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d7865bc06589cdcecdede0deefe3da07809d5b7ad9044c224d7b2a0867256957", size = 472038 }, + { url = "https://files.pythonhosted.org/packages/97/21/870fda5454240089e9c37625320580d392b03beaeae4889c67c0a21c4d34/pyzstd-0.16.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:52f938a65b409c02eb825e8c77fc5ea54508b8fc44b5ce226db03011691ae8cc", size = 415217 }, + { url = "https://files.pythonhosted.org/packages/3c/35/b33faeeb9c96fddd08bf7871c9f5c4638c32ad79227155922fd4a63190c5/pyzstd-0.16.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e97620d3f53a0282947304189deef7ca7f7d0d6dfe15033469dc1c33e779d5e5", size = 413714 }, + { url = "https://files.pythonhosted.org/packages/aa/a3/b9058dd43eb52025a2ca78946dcb9ef9d8984acac172a698bcf12712217c/pyzstd-0.16.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c7c40e9983d017108670dc8df68ceef14c7c1cf2d19239213274783041d0e64c", size = 412568 }, + { url = "https://files.pythonhosted.org/packages/12/31/fe7d462c912f2040775bfa2af4327f9fcebb16e8fa9c3bfa058bc1306722/pyzstd-0.16.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7cd4b3b2c6161066e4bde6af1cf78ed3acf5d731884dd13fdf31f1db10830080", size = 404988 }, + { url = "https://files.pythonhosted.org/packages/48/4c/582aca0e5210436499bce1639a8d15da3f76f8d5827da1aa3eeb2c4e271c/pyzstd-0.16.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:454f31fd84175bb203c8c424f2255a343fa9bd103461a38d1bf50487c3b89508", size = 417961 }, + { url = "https://files.pythonhosted.org/packages/39/e9/54f53641ff10b4ea18d3ba159b03bd07e6ae5a5b7ae01f1329b0c35b8ca2/pyzstd-0.16.2-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:5ef754a93743f08fb0386ce3596780bfba829311b49c8f4107af1a4bcc16935d", size = 485587 }, + { url = "https://files.pythonhosted.org/packages/ce/65/25243b3fea9e52a20bfece1b12e3d3ee3125f17b1735aab08cb9a7a760b4/pyzstd-0.16.2-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:be81081db9166e10846934f0e3576a263cbe18d81eca06e6a5c23533f8ce0dc6", size = 564543 }, + { url = "https://files.pythonhosted.org/packages/3b/3c/324b8ddca55b4b073b413cea3e0587af3c8153ccf7d6d63ed294831f2095/pyzstd-0.16.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:738bcb2fa1e5f1868986f5030955e64de53157fa1141d01f3a4daf07a1aaf644", size = 430628 }, + { url = "https://files.pythonhosted.org/packages/db/a1/aca18925e23bceb833fc742ebaf87aa9d1ba8b178f0332bd108fc8966482/pyzstd-0.16.2-cp311-cp311-win32.whl", hash = "sha256:0ea214c9b97046867d1657d55979021028d583704b30c481a9c165191b08d707", size = 218215 }, + { url = "https://files.pythonhosted.org/packages/c0/7f/0f5d1d1891e6c6e14d846d2881a06ab7e5e97cabeb5e1e9e53debec4091a/pyzstd-0.16.2-cp311-cp311-win_amd64.whl", hash = "sha256:c17c0fc02f0e75b0c7cd21f8eaf4c6ce4112333b447d93da1773a5f705b2c178", size = 245055 }, + { url = "https://files.pythonhosted.org/packages/28/15/20046759d138733e7150afa6aa15f322022d7587968e2dbd5b36fbf8aa86/pyzstd-0.16.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d4081fd841a9efe9ded7290ee7502dbf042c4158b90edfadea3b8a072c8ec4e1", size = 373230 }, + { url = "https://files.pythonhosted.org/packages/51/8d/55b536edaecf19d2f8dbd8fbaefd184f2f9cc6b71d241caa6d86bed96813/pyzstd-0.16.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fd3fa45d2aeb65367dd702806b2e779d13f1a3fa2d13d5ec777cfd09de6822de", size = 295699 }, + { url = "https://files.pythonhosted.org/packages/11/14/086e7f690154c6f3d9bdb46da26a4cd3c9e0b284346ce10943711ca48c32/pyzstd-0.16.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8b5f0d2c07994a5180d8259d51df6227a57098774bb0618423d7eb4a7303467", size = 390556 }, + { url = "https://files.pythonhosted.org/packages/90/d2/c6d854705d6fa0ad876209b4ba796ab31d85b710d1459029f2cb41085a8d/pyzstd-0.16.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:60c9d25b15c7ae06ed5d516d096a0d8254f9bed4368b370a09cccf191eaab5cb", size = 472928 }, + { url = "https://files.pythonhosted.org/packages/aa/38/f97dd871e446adc834349caa605dbaf5bac86763a255f62c809cc2459c85/pyzstd-0.16.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:29acf31ce37254f6cad08deb24b9d9ba954f426fa08f8fae4ab4fdc51a03f4ae", size = 416057 }, + { url = "https://files.pythonhosted.org/packages/53/be/0c5ad7bf29dc890f6a3303760b9802aeeafa4e3ffb598de625f501986bfe/pyzstd-0.16.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ec77612a17697a9f7cf6634ffcee616eba9b997712fdd896e77fd19ab3a0618", size = 414613 }, + { url = "https://files.pythonhosted.org/packages/1f/1a/d3a1edcd59e2f62a35ac6257d2b86a2c872ae9a8e925380620a8db0d9a9a/pyzstd-0.16.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:313ea4974be93be12c9a640ab40f0fc50a023178aae004a8901507b74f190173", size = 413236 }, + { url = "https://files.pythonhosted.org/packages/f2/8d/912430c2310466c14a89a5a529b72eddef7e73fa733806dbe0b030cf3495/pyzstd-0.16.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e91acdefc8c2c6c3b8d5b1b5fe837dce4e591ecb7c0a2a50186f552e57d11203", size = 405536 }, + { url = "https://files.pythonhosted.org/packages/9e/83/4edb419a13b9d1e1debc01e88084eba93a5f7c10ef198da11f6782857c73/pyzstd-0.16.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:929bd91a403539e72b5b5cb97f725ac4acafe692ccf52f075e20cd9bf6e5493d", size = 419145 }, + { url = "https://files.pythonhosted.org/packages/8f/e9/62a169eddc37aefac480ee3b3318c221f6731e1e342dafd9e05b7fdaa7c5/pyzstd-0.16.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:740837a379aa32d110911ebcbbc524f9a9b145355737527543a884bd8777ca4f", size = 487157 }, + { url = "https://files.pythonhosted.org/packages/57/9d/5949f2a0144d1f99fab7914f854b582d2784c73139cc190e603e4d6b7b37/pyzstd-0.16.2-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:adfc0e80dd157e6d1e0b0112c8ecc4b58a7a23760bd9623d74122ef637cfbdb6", size = 565918 }, + { url = "https://files.pythonhosted.org/packages/de/ce/647b9c7602ac477c9e62cf9399810f72bb5dba8f508e7cdf8be1d260e6f9/pyzstd-0.16.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:79b183beae1c080ad3dca39019e49b7785391947f9aab68893ad85d27828c6e7", size = 431373 }, + { url = "https://files.pythonhosted.org/packages/8b/fb/4141e3d4549eea26e5a59ec723eade271980816cb2ed7613df855baa672f/pyzstd-0.16.2-cp312-cp312-win32.whl", hash = "sha256:b8d00631a3c466bc313847fab2a01f6b73b3165de0886fb03210e08567ae3a89", size = 218541 }, + { url = "https://files.pythonhosted.org/packages/51/b9/e1373b179129c2095d70bd1df02a51d388f4c7e4ecb62acb4e5e9570269b/pyzstd-0.16.2-cp312-cp312-win_amd64.whl", hash = "sha256:c0d43764e9a60607f35d8cb3e60df772a678935ab0e02e2804d4147377f4942c", size = 245320 }, + { url = "https://files.pythonhosted.org/packages/66/10/cc7c764c7673f1af1728abdcf58e58f88ef5d44ab4500677a2b7b4c01e7d/pyzstd-0.16.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:3ae9ae7ad730562810912d7ecaf1fff5eaf4c726f4b4dfe04784ed5f06d7b91f", size = 373223 }, + { url = "https://files.pythonhosted.org/packages/3f/a7/bcaf7d635ee929dd4d08ae1c35101892db56a11542471eecfbf46b9dd988/pyzstd-0.16.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2ce8d3c213f76a564420f3d0137066ac007ce9fb4e156b989835caef12b367a7", size = 295701 }, + { url = "https://files.pythonhosted.org/packages/93/49/a604113a2f3135b29371a894c0faad22d7ea3f7b58f38d77baad8a817483/pyzstd-0.16.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c2c14dac23c865e2d78cebd9087e148674b7154f633afd4709b4cd1520b99a61", size = 392395 }, + { url = "https://files.pythonhosted.org/packages/b0/38/886ecf3ebb13a4b6e3ee85f448f54eef37a5ae2b453bd9d5d9edc909e119/pyzstd-0.16.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4527969d66a943e36ef374eda847e918077de032d58b5df84d98ffd717b6fa77", size = 474523 }, + { url = "https://files.pythonhosted.org/packages/14/98/121da6ac072c00090c218b4888ef00ead15979f09a657d9a5ff770d6bb17/pyzstd-0.16.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd8256149b88e657e99f31e6d4b114c8ff2935951f1d8bb8e1fe501b224999c0", size = 417974 }, + { url = "https://files.pythonhosted.org/packages/b6/ba/56652a67c0bcfaceb2945e5f07d5aa21af86e07cf33d1ae47bb3529a56c3/pyzstd-0.16.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5bd1f1822d65c9054bf36d35307bf8ed4aa2d2d6827431761a813628ff671b1d", size = 414587 }, + { url = "https://files.pythonhosted.org/packages/cc/30/cab6f45101f0113ced609ef65482aedd276e0f022d9f25a327d4284142f5/pyzstd-0.16.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6f6733f4d373ec9ad2c1976cf06f973a3324c1f9abe236d114d6bb91165a397d", size = 415071 }, + { url = "https://files.pythonhosted.org/packages/6d/44/2187fc8a46662926943aeb16d639dd4f3d06267c7e8abb2c6f97700ab11c/pyzstd-0.16.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7bec165ab6524663f00b69bfefd13a46a69fed3015754abaf81b103ec73d92c6", size = 407835 }, + { url = "https://files.pythonhosted.org/packages/de/d5/6edca97d5453cba820d2ad5630e6ec1fcfad66f69af5ad7d6c688ea301be/pyzstd-0.16.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:e4460fa6949aac6528a1ad0de8871079600b12b3ef4db49316306786a3598321", size = 421755 }, + { url = "https://files.pythonhosted.org/packages/54/c1/1a0339e014ed97f4e6fd9166b0409ceda8f32e28e8ecda70fd7bb0915566/pyzstd-0.16.2-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:75df79ea0315c97d88337953a17daa44023dbf6389f8151903d371513f503e3c", size = 489174 }, + { url = "https://files.pythonhosted.org/packages/07/01/c65f2c9f0b902b33efcb0bdf3cbd07fc828fda6ff6333189eb71cf7acc60/pyzstd-0.16.2-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:93e1d45f4a196afb6f18682c79bdd5399277ead105b67f30b35c04c207966071", size = 573025 }, + { url = "https://files.pythonhosted.org/packages/a7/54/7ab9cc54171b7f8bb97cfd1c1aa7fcb706a4babeb629732529d8111bc4e6/pyzstd-0.16.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:075e18b871f38a503b5d23e40a661adfc750bd4bd0bb8b208c1e290f3ceb8fa2", size = 429582 }, + { url = "https://files.pythonhosted.org/packages/6c/a5/f9c950bb378dd1335bc4cc56444ec2ab40b1dab085c5798c5d16a9bf9d0b/pyzstd-0.16.2-cp313-cp313-win32.whl", hash = "sha256:9e4295eb299f8d87e3487852bca033d30332033272a801ca8130e934475e07a9", size = 218544 }, + { url = "https://files.pythonhosted.org/packages/9a/df/a15b9a8a59cd9908ae2b70bce2cb4ac3e2d7da11414ee0d0ceb46e4d0439/pyzstd-0.16.2-cp313-cp313-win_amd64.whl", hash = "sha256:18deedc70f858f4cf574e59f305d2a0678e54db2751a33dba9f481f91bc71c28", size = 245313 }, + { url = "https://files.pythonhosted.org/packages/e0/38/43002103a545bc953e532973596e905550e9626973c1b282e04e01038ac6/pyzstd-0.16.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a9892b707ef52f599098b1e9528df0e7849c5ec01d3e8035fb0e67de4b464839", size = 372192 }, + { url = "https://files.pythonhosted.org/packages/61/be/28dfeba9dbad8ed19d6aefa0d6623d1ee97e83c6c1e97910439428655f28/pyzstd-0.16.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4fbd647864341f3c174c4a6d7f20e6ea6b4be9d840fb900dc0faf0849561badc", size = 295080 }, + { url = "https://files.pythonhosted.org/packages/63/c2/c7e5244f2dde72df3fb2b7b952e8d01bac20cd78dc0d585d0a060ca565b0/pyzstd-0.16.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:20ac2c15656cc6194c4fed1cb0e8159f9394d4ea1d58be755448743d2ec6c9c4", size = 390165 }, + { url = "https://files.pythonhosted.org/packages/ff/30/52560cb88179fa3ff7536429c0d7b83aeecea86ecb2d180a4afc991502e5/pyzstd-0.16.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b239fb9a20c1be3374b9a2bd183ba624fd22ad7a3f67738c0d80cda68b4ae1d3", size = 472040 }, + { url = "https://files.pythonhosted.org/packages/69/a7/ab1e19626da5a8ff58493d6928d9d0da4931034e7a124949bf1a1705daaf/pyzstd-0.16.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cc52400412cdae2635e0978b8d6bcc0028cc638fdab2fd301f6d157675d26896", size = 415255 }, + { url = "https://files.pythonhosted.org/packages/28/0d/bf7c9388fe43c7051a2ced4645e58a493a35c62e68307b5aaf0fb129b008/pyzstd-0.16.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b766a6aeb8dbb6c46e622e7a1aebfa9ab03838528273796941005a5ce7257b1", size = 413679 }, + { url = "https://files.pythonhosted.org/packages/58/2a/1e0738740a8bd2b1f4a74be86297c5776936b66b3a5340d8e4ae84c5844f/pyzstd-0.16.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:abd4b8676052f9d59579242bf3cfe5fd02532b6a9a93ab7737c118ae3b8509dc", size = 412623 }, + { url = "https://files.pythonhosted.org/packages/23/d5/7cbfbebbb3ffccb0626fc2fab622fb5a10cf66c2c60481f51e46a92eb2c5/pyzstd-0.16.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:1c6c0a677aac7c0e3d2d2605d4d68ffa9893fdeeb2e071040eb7c8750969d463", size = 404981 }, + { url = "https://files.pythonhosted.org/packages/a7/b0/6ac198c753cc135357630e856f40f5998c2d28609713ae2830c679e8248c/pyzstd-0.16.2-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:15f9c2d612e7e2023d68d321d1b479846751f792af89141931d44e82ae391394", size = 417997 }, + { url = "https://files.pythonhosted.org/packages/c6/8f/0e5685efbf24ae62e135549e37947ca7919616b81108584112e25dd1a55a/pyzstd-0.16.2-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:11740bff847aad23beef4085a1bb767d101895881fe891f0a911aa27d43c372c", size = 485576 }, + { url = "https://files.pythonhosted.org/packages/30/d6/bf2f05752082967ac748d7c2d7c5a71097ac6fc1b902b5d34764cd0c12f7/pyzstd-0.16.2-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:b9067483ebe860e4130a03ee665b3d7be4ec1608b208e645d5e7eb3492379464", size = 564538 }, + { url = "https://files.pythonhosted.org/packages/d8/97/1081cc3cbf5eeb6cf4e385226e9989fdebb61f8e48baa210eb774145e667/pyzstd-0.16.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:988f0ba19b14c2fe0afefc444ac1edfb2f497b7d7c3212b2f587504cc2ec804e", size = 430615 }, + { url = "https://files.pythonhosted.org/packages/e0/a7/2a82fbb248b951434306dd77e969fb99305968904c9a7494574d696b1392/pyzstd-0.16.2-cp39-cp39-win32.whl", hash = "sha256:8855acb1c3e3829030b9e9e9973b19e2d70f33efb14ad5c474b4d086864c959c", size = 218215 }, + { url = "https://files.pythonhosted.org/packages/9d/bf/e529ff84b87c8f978ab35906921ac54841270562e65bcb5d0dd9d3240204/pyzstd-0.16.2-cp39-cp39-win_amd64.whl", hash = "sha256:018e88378df5e76f5e1d8cf4416576603b6bc4a103cbc66bb593eaac54c758de", size = 245047 }, + { url = "https://files.pythonhosted.org/packages/f9/ad/c09fb722c12a82b826c97efc50a919e229bfbaf644f5a140adcd71941473/pyzstd-0.16.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:4b631117b97a42ff6dfd0ffc885a92fff462d7c34766b28383c57b996f863338", size = 364187 }, + { url = "https://files.pythonhosted.org/packages/57/f9/93175fe72f85fb675fe04abca296fe583112a25d0ec7faa026288d9463c2/pyzstd-0.16.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:56493a3fbe1b651a02102dd0902b0aa2377a732ff3544fb6fb3f114ca18db52f", size = 279825 }, + { url = "https://files.pythonhosted.org/packages/8a/de/0b40acf76d7ed1f7975877535e004de85ec2e869632754b5d4d389258b8a/pyzstd-0.16.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f1eae9bdba4a1e5d3181331f403114ff5b8ce0f4b569f48eba2b9beb2deef1e4", size = 321313 }, + { url = "https://files.pythonhosted.org/packages/41/5e/00102bacd1a7c957c88098f3ae2cdac17842ac0f94d2e685ff5b75a05730/pyzstd-0.16.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e1be6972391c8aeecc7e61feb96ffc8e77a401bcba6ed994e7171330c45a1948", size = 344376 }, + { url = "https://files.pythonhosted.org/packages/a3/95/27a7da3dbd4460cd9432bdc22d9d5f8ec77c86275d069020fa74ea280f7f/pyzstd-0.16.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:761439d687e3a5687c2ff5c6a1190e1601362a4a3e8c6c82ff89719d51d73e19", size = 328591 }, + { url = "https://files.pythonhosted.org/packages/c2/03/8f4d5fd45f6bfad66d67cdf583492a9f52a21049f60e6b36a7e9f8aa7adc/pyzstd-0.16.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:f5fbdb8cf31b60b2dc586fecb9b73e2f172c21a0b320ed275f7b8d8a866d9003", size = 240786 }, + { url = "https://files.pythonhosted.org/packages/91/f6/bd63e2587e0ec40abd9f92278a442bc28b7ff109e418d1240ee2eb6536aa/pyzstd-0.16.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:183f26e34f9becf0f2db38be9c0bfb136753d228bcb47c06c69175901bea7776", size = 364180 }, + { url = "https://files.pythonhosted.org/packages/ac/13/d4c68ad926e79d734f57b26d49447908e8dab7f5c066d3a013b0d0cfa2be/pyzstd-0.16.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:88318b64b5205a67748148d6d244097fa6cf61fcea02ad3435511b9e7155ae16", size = 279816 }, + { url = "https://files.pythonhosted.org/packages/b2/ba/76f0b75ec9e9fc3914496e036f99f345d5e0a99cb7070341f9becdaba2b8/pyzstd-0.16.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:73142aa2571b6480136a1865ebda8257e09eabbc8bcd54b222202f6fa4febe1e", size = 321308 }, + { url = "https://files.pythonhosted.org/packages/a6/ea/9fe52bd777f33f007287f1a37bada7af5cf33d64904360c17bb64fefca21/pyzstd-0.16.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1d3f8877c29a97f1b1bba16f3d3ab01ad10ad3da7bad317aecf36aaf8848b37c", size = 344368 }, + { url = "https://files.pythonhosted.org/packages/cc/c0/509077f73fc8e156ceeefb41d4b7e04aceb71b2339084fcd62d0ad3bfd75/pyzstd-0.16.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d1f25754562473ac7de856b8331ebd5964f5d85601045627a5f0bb0e4e899990", size = 328585 }, + { url = "https://files.pythonhosted.org/packages/14/74/a854ada61bf4c3c2ad239ec2bd1ff73cc0d718ccbcc56e3ced94e878fd50/pyzstd-0.16.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:6ce17e84310080c55c02827ad9bb17893c00a845c8386a328b346f814aabd2c1", size = 240783 }, +] + [[package]] name = "rdata" version = "0.9" @@ -1443,26 +1873,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.1.6" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/25/4c/2f786388acd82c295eedc4afeede7ef4b29cf27277151d8d13be906bac70/ruff-0.1.6.tar.gz", hash = "sha256:1b09f29b16c6ead5ea6b097ef2764b42372aebe363722f1605ecbcd2b9207184", size = 1719627 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b6/75/5054ec93ec0d5db26e218cb2814ddaa085ba1f29fad0ec56dd8107a97688/ruff-0.1.6-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:88b8cdf6abf98130991cbc9f6438f35f6e8d41a02622cc5ee130a02a0ed28703", size = 11628468 }, - { url = "https://files.pythonhosted.org/packages/a2/91/8b2920f6026c069ae0802fc3c44f7337e04bf2a198ce94bfab360073477a/ruff-0.1.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:5c549ed437680b6105a1299d2cd30e4964211606eeb48a0ff7a93ef70b902248", size = 5990066 }, - { url = "https://files.pythonhosted.org/packages/df/1e/03ef0cc5c7d03e50d4f954218551d6001f1f70e6f391cdb678efb5c6e6ab/ruff-0.1.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1cf5f701062e294f2167e66d11b092bba7af6a057668ed618a9253e1e90cfd76", size = 5929313 }, - { url = "https://files.pythonhosted.org/packages/92/7c/38fd1b9cb624f5725a6a08c81bf7e823c64b28622ffcb4369c56dc0a16d0/ruff-0.1.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:05991ee20d4ac4bb78385360c684e4b417edd971030ab12a4fbd075ff535050e", size = 5627943 }, - { url = "https://files.pythonhosted.org/packages/c7/c3/98e3d0eb92e5a2ec10f76c71067640b6f21def23c3b1ff8f08ab6348255e/ruff-0.1.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:87455a0c1f739b3c069e2f4c43b66479a54dea0276dd5d4d67b091265f6fd1dc", size = 6074206 }, - { url = "https://files.pythonhosted.org/packages/e8/33/62fb966eb70d9bb45ddf5023d40e26946a5e5127d99956b84c8a9a76b153/ruff-0.1.6-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:683aa5bdda5a48cb8266fcde8eea2a6af4e5700a392c56ea5fb5f0d4bfdc0240", size = 6743205 }, - { url = "https://files.pythonhosted.org/packages/c7/f1/60d43182f98113156a1b21a17f30541dda9f5ffcfeedc2b54dc030a2c413/ruff-0.1.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:137852105586dcbf80c1717facb6781555c4e99f520c9c827bd414fac67ddfb6", size = 6600581 }, - { url = "https://files.pythonhosted.org/packages/09/92/36850598e84f75cfe8edd252dbf40442b4cc226ed2c76206a9b3cbfb9986/ruff-0.1.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd98138a98d48a1c36c394fd6b84cd943ac92a08278aa8ac8c0fdefcf7138f35", size = 7708098 }, - { url = "https://files.pythonhosted.org/packages/3b/2f/8ef67614631622aa3ea79b27e01ac86d7f90a988520454e3a84cb2fd890f/ruff-0.1.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a0cd909d25f227ac5c36d4e7e681577275fb74ba3b11d288aff7ec47e3ae745", size = 6295145 }, - { url = "https://files.pythonhosted.org/packages/3c/4b/af366db98d15efe83fd3e3aae7319d3897e3475fc53a2f1b0287c8255422/ruff-0.1.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e8fd1c62a47aa88a02707b5dd20c5ff20d035d634aa74826b42a1da77861b5ff", size = 5878111 }, - { url = "https://files.pythonhosted.org/packages/bf/af/25b794e750f1d74a83ce6b16625e3306beeb2161c517b9d883958de05526/ruff-0.1.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:fd89b45d374935829134a082617954120d7a1470a9f0ec0e7f3ead983edc48cc", size = 5629339 }, - { url = "https://files.pythonhosted.org/packages/81/b0/92c4cb6bceb19ebd27cedd1f45b337f7fd5397e6b760094831266be59661/ruff-0.1.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:491262006e92f825b145cd1e52948073c56560243b55fb3b4ecb142f6f0e9543", size = 5959772 }, - { url = "https://files.pythonhosted.org/packages/11/02/3a7e3101d88b113f326e0fdf3f566fba2600fc4b1fd828d56027d293e22d/ruff-0.1.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:ea284789861b8b5ca9d5443591a92a397ac183d4351882ab52f6296b4fdd5462", size = 6356759 }, - { url = "https://files.pythonhosted.org/packages/fc/93/8a4b3523c4564168aab720d8361b4bf12173b099509caaac93168b72927a/ruff-0.1.6-py3-none-win32.whl", hash = "sha256:1610e14750826dfc207ccbcdd7331b6bd285607d4181df9c1c6ae26646d6848a", size = 5835632 }, - { url = "https://files.pythonhosted.org/packages/40/e3/55ae013087bd892dd61c25895a119ffec2f9b9f7c3d1fd0cea5f5f7bd74a/ruff-0.1.6-py3-none-win_amd64.whl", hash = "sha256:4558b3e178145491e9bc3b2ee3c4b42f19d19384eaa5c59d10acf6e8f8b57e33", size = 6226075 }, - { url = "https://files.pythonhosted.org/packages/21/f7/fdce733e594e1b274fc9232256be6a4e03e8d2cb9e354c783801191e2f4d/ruff-0.1.6-py3-none-win_arm64.whl", hash = "sha256:03910e81df0d8db0e30050725a5802441c2022ea3ae4fe0609b76081731accbc", size = 5965823 }, +version = "0.8.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5e/2b/01245f4f3a727d60bebeacd7ee6d22586c7f62380a2597ddb22c2f45d018/ruff-0.8.2.tar.gz", hash = "sha256:b84f4f414dda8ac7f75075c1fa0b905ac0ff25361f42e6d5da681a465e0f78e5", size = 3349020 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/91/29/366be70216dba1731a00a41f2f030822b0c96c7c4f3b2c0cdce15cbace74/ruff-0.8.2-py3-none-linux_armv6l.whl", hash = "sha256:c49ab4da37e7c457105aadfd2725e24305ff9bc908487a9bf8d548c6dad8bb3d", size = 10530649 }, + { url = "https://files.pythonhosted.org/packages/63/82/a733956540bb388f00df5a3e6a02467b16c0e529132625fe44ce4c5fb9c7/ruff-0.8.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ec016beb69ac16be416c435828be702ee694c0d722505f9c1f35e1b9c0cc1bf5", size = 10274069 }, + { url = "https://files.pythonhosted.org/packages/3d/12/0b3aa14d1d71546c988a28e1b412981c1b80c8a1072e977a2f30c595cc4a/ruff-0.8.2-py3-none-macosx_11_0_arm64.whl", hash = "sha256:f05cdf8d050b30e2ba55c9b09330b51f9f97d36d4673213679b965d25a785f3c", size = 9909400 }, + { url = "https://files.pythonhosted.org/packages/23/08/f9f08cefb7921784c891c4151cce6ed357ff49e84b84978440cffbc87408/ruff-0.8.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:60f578c11feb1d3d257b2fb043ddb47501ab4816e7e221fbb0077f0d5d4e7b6f", size = 10766782 }, + { url = "https://files.pythonhosted.org/packages/e4/71/bf50c321ec179aa420c8ec40adac5ae9cc408d4d37283a485b19a2331ceb/ruff-0.8.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:cbd5cf9b0ae8f30eebc7b360171bd50f59ab29d39f06a670b3e4501a36ba5897", size = 10286316 }, + { url = "https://files.pythonhosted.org/packages/f2/83/c82688a2a6117539aea0ce63fdf6c08e60fe0202779361223bcd7f40bd74/ruff-0.8.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b402ddee3d777683de60ff76da801fa7e5e8a71038f57ee53e903afbcefdaa58", size = 11338270 }, + { url = "https://files.pythonhosted.org/packages/7f/d7/bc6a45e5a22e627640388e703160afb1d77c572b1d0fda8b4349f334fc66/ruff-0.8.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:705832cd7d85605cb7858d8a13d75993c8f3ef1397b0831289109e953d833d29", size = 12058579 }, + { url = "https://files.pythonhosted.org/packages/da/3b/64150c93946ec851e6f1707ff586bb460ca671581380c919698d6a9267dc/ruff-0.8.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:32096b41aaf7a5cc095fa45b4167b890e4c8d3fd217603f3634c92a541de7248", size = 11615172 }, + { url = "https://files.pythonhosted.org/packages/e4/9e/cf12b697ea83cfe92ec4509ae414dc4c9b38179cc681a497031f0d0d9a8e/ruff-0.8.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e769083da9439508833cfc7c23e351e1809e67f47c50248250ce1ac52c21fb93", size = 12882398 }, + { url = "https://files.pythonhosted.org/packages/a9/27/96d10863accf76a9c97baceac30b0a52d917eb985a8ac058bd4636aeede0/ruff-0.8.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fe716592ae8a376c2673fdfc1f5c0c193a6d0411f90a496863c99cd9e2ae25d", size = 11176094 }, + { url = "https://files.pythonhosted.org/packages/eb/10/cd2fd77d4a4e7f03c29351be0f53278a393186b540b99df68beb5304fddd/ruff-0.8.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:81c148825277e737493242b44c5388a300584d73d5774defa9245aaef55448b0", size = 10771884 }, + { url = "https://files.pythonhosted.org/packages/71/5d/beabb2ff18870fc4add05fa3a69a4cb1b1d2d6f83f3cf3ae5ab0d52f455d/ruff-0.8.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d261d7850c8367704874847d95febc698a950bf061c9475d4a8b7689adc4f7fa", size = 10382535 }, + { url = "https://files.pythonhosted.org/packages/ae/29/6b3fdf3ad3e35b28d87c25a9ff4c8222ad72485ab783936b2b267250d7a7/ruff-0.8.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1ca4e3a87496dc07d2427b7dd7ffa88a1e597c28dad65ae6433ecb9f2e4f022f", size = 10886995 }, + { url = "https://files.pythonhosted.org/packages/e9/dc/859d889b4d9356a1a2cdbc1e4a0dda94052bc5b5300098647e51a58c430b/ruff-0.8.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:729850feed82ef2440aa27946ab39c18cb4a8889c1128a6d589ffa028ddcfc22", size = 11220750 }, + { url = "https://files.pythonhosted.org/packages/0b/08/e8f519f61f1d624264bfd6b8829e4c5f31c3c61193bc3cff1f19dbe7626a/ruff-0.8.2-py3-none-win32.whl", hash = "sha256:ac42caaa0411d6a7d9594363294416e0e48fc1279e1b0e948391695db2b3d5b1", size = 8729396 }, + { url = "https://files.pythonhosted.org/packages/f8/d4/ba1c7ab72aba37a2b71fe48ab95b80546dbad7a7f35ea28cf66fc5cea5f6/ruff-0.8.2-py3-none-win_amd64.whl", hash = "sha256:2aae99ec70abf43372612a838d97bfe77d45146254568d94926e8ed5bbb409ea", size = 9594729 }, + { url = "https://files.pythonhosted.org/packages/23/34/db20e12d3db11b8a2a8874258f0f6d96a9a4d631659d54575840557164c8/ruff-0.8.2-py3-none-win_arm64.whl", hash = "sha256:fb88e2a506b70cfbc2de6fae6681c4f944f7dd5f2fe87233a7233d888bad73e8", size = 9035131 }, ] [[package]] @@ -1518,6 +1949,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/bf/65/813fc133609ebcb1299be6a42e5aea99d6344afb35ccb43f67e7daaa3b92/structlog-24.4.0-py3-none-any.whl", hash = "sha256:597f61e80a91cc0749a9fd2a098ed76715a1c8a01f73e336b746504d1aad7610", size = 67180 }, ] +[[package]] +name = "texttable" +version = "1.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1c/dc/0aff23d6036a4d3bf4f1d8c8204c5c79c4437e25e0ae94ffe4bbb55ee3c2/texttable-1.7.0.tar.gz", hash = "sha256:2d2068fb55115807d3ac77a4ca68fa48803e84ebb0ee2340f858107a36522638", size = 12831 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/24/99/4772b8e00a136f3e01236de33b0efda31ee7077203ba5967fcc76da94d65/texttable-1.7.0-py2.py3-none-any.whl", hash = "sha256:72227d592c82b3d7f672731ae73e4d1f88cd8e2ef5b075a7a7f01a23a3743917", size = 10768 }, +] + [[package]] name = "tomli" version = "2.0.1" diff --git a/lib/datautils/owid/datautils/decorators.py b/lib/datautils/owid/datautils/decorators.py index da5924a15da8..f4046dd5f817 100644 --- a/lib/datautils/owid/datautils/decorators.py +++ b/lib/datautils/owid/datautils/decorators.py @@ -1,6 +1,5 @@ """Library decorators.""" - import functools import tempfile from typing import Any, Callable, Optional diff --git a/lib/datautils/owid/datautils/format/__init__.py b/lib/datautils/owid/datautils/format/__init__.py index 6144721b3dee..2b5a43862e3a 100644 --- a/lib/datautils/owid/datautils/format/__init__.py +++ b/lib/datautils/owid/datautils/format/__init__.py @@ -1,4 +1,5 @@ """Utils for the processing of different data formats.""" + from owid.datautils.format.numbers import format_number __all__ = [ diff --git a/lib/datautils/owid/datautils/format/numbers.py b/lib/datautils/owid/datautils/format/numbers.py index 3fd1d40d8ec1..95b796263c55 100644 --- a/lib/datautils/owid/datautils/format/numbers.py +++ b/lib/datautils/owid/datautils/format/numbers.py @@ -1,4 +1,5 @@ """Numeric formatting.""" + import re from typing import Any, Dict, Set, Union diff --git a/lib/datautils/owid/datautils/google/__init__.py b/lib/datautils/owid/datautils/google/__init__.py index 10c831281f24..132a37db6121 100644 --- a/lib/datautils/owid/datautils/google/__init__.py +++ b/lib/datautils/owid/datautils/google/__init__.py @@ -1,4 +1,5 @@ """Google utils.""" + from owid.datautils.google.api import GoogleApi __all__ = [ diff --git a/lib/datautils/owid/datautils/google/api.py b/lib/datautils/owid/datautils/google/api.py index 981b5e65a2aa..4dd29996afcf 100644 --- a/lib/datautils/owid/datautils/google/api.py +++ b/lib/datautils/owid/datautils/google/api.py @@ -1,4 +1,5 @@ """Google API class.""" + from typing import Any, Optional import gdown diff --git a/lib/datautils/owid/datautils/google/config.py b/lib/datautils/owid/datautils/google/config.py index 72c02cfb1e33..cb0ad9accb5f 100644 --- a/lib/datautils/owid/datautils/google/config.py +++ b/lib/datautils/owid/datautils/google/config.py @@ -1,4 +1,5 @@ """Google configuration functions.""" + import os from pathlib import Path from shutil import copyfile diff --git a/lib/datautils/owid/datautils/google/sheets.py b/lib/datautils/owid/datautils/google/sheets.py index b966d2a16764..1050016ae537 100644 --- a/lib/datautils/owid/datautils/google/sheets.py +++ b/lib/datautils/owid/datautils/google/sheets.py @@ -1,4 +1,5 @@ """Google Sheet utils.""" + import os from typing import Any, Optional, Union diff --git a/lib/datautils/owid/datautils/io/__init__.py b/lib/datautils/owid/datautils/io/__init__.py index 60776d35c21a..f50921da7396 100644 --- a/lib/datautils/owid/datautils/io/__init__.py +++ b/lib/datautils/owid/datautils/io/__init__.py @@ -1,4 +1,5 @@ """Input/Output methods.""" + from owid.datautils.io.archive import decompress_file from owid.datautils.io.df import from_file as df_from_file from owid.datautils.io.df import to_file as df_to_file diff --git a/lib/datautils/owid/datautils/io/df.py b/lib/datautils/owid/datautils/io/df.py index ffad5923a185..3b3251ee59ed 100644 --- a/lib/datautils/owid/datautils/io/df.py +++ b/lib/datautils/owid/datautils/io/df.py @@ -1,4 +1,5 @@ """DataFrame io operations.""" + import inspect from pathlib import Path from typing import Any, List, Optional, Union diff --git a/lib/datautils/pyproject.toml b/lib/datautils/pyproject.toml index 09895036ef09..111eb2639ef3 100644 --- a/lib/datautils/pyproject.toml +++ b/lib/datautils/pyproject.toml @@ -41,7 +41,7 @@ dev-dependencies = [ "openpyxl>=3.0.10", "lxml>=4.9.1", "pyright==1.1.373", - "ruff==0.1.6" + "ruff==0.8.2" ] [tool.ruff] diff --git a/lib/datautils/tests/google/test_config.py b/lib/datautils/tests/google/test_config.py index b1404869ea0f..20a53d99964d 100644 --- a/lib/datautils/tests/google/test_config.py +++ b/lib/datautils/tests/google/test_config.py @@ -29,16 +29,21 @@ def test_google_config_is_init_true(mock_check): def test_check_google_config_1(): """All files are created""" with tempfile.TemporaryDirectory() as config_dir: - with mock.patch("owid.datautils.google.config.CONFIG_DIR", config_dir), mock.patch( - "owid.datautils.google.config.CLIENT_SECRETS_PATH", - Path(config_dir) / "google_client_secrets.json", - ) as secrets_dir, mock.patch( - "owid.datautils.google.config.SETTINGS_PATH", - Path(config_dir) / "google_settings.yaml", - ) as settings_dir, mock.patch( - "owid.datautils.google.config.CREDENTIALS_PATH", - Path(config_dir) / "google_credentials.json", - ) as creds_dir: + with ( + mock.patch("owid.datautils.google.config.CONFIG_DIR", config_dir), + mock.patch( + "owid.datautils.google.config.CLIENT_SECRETS_PATH", + Path(config_dir) / "google_client_secrets.json", + ) as secrets_dir, + mock.patch( + "owid.datautils.google.config.SETTINGS_PATH", + Path(config_dir) / "google_settings.yaml", + ) as settings_dir, + mock.patch( + "owid.datautils.google.config.CREDENTIALS_PATH", + Path(config_dir) / "google_credentials.json", + ) as creds_dir, + ): with open(secrets_dir, "w") as f: f.write("This is test") with open(settings_dir, "w") as f: @@ -59,16 +64,21 @@ def test_check_google_config_2(): def test_check_google_config_3(): """Folder created, files not created""" with raises(FileNotFoundError), tempfile.TemporaryDirectory() as config_dir: - with mock.patch("owid.datautils.google.config.CONFIG_DIR", config_dir), mock.patch( - "owid.datautils.google.config.CLIENT_SECRETS_PATH", - Path(config_dir) / "google_client_secrets.json", - ) as _, mock.patch( - "owid.datautils.google.config.SETTINGS_PATH", - Path(config_dir) / "google_settings.yaml", - ) as _, mock.patch( - "owid.datautils.google.config.CREDENTIALS_PATH", - Path(config_dir) / "google_credentials.json", - ) as _: + with ( + mock.patch("owid.datautils.google.config.CONFIG_DIR", config_dir), + mock.patch( + "owid.datautils.google.config.CLIENT_SECRETS_PATH", + Path(config_dir) / "google_client_secrets.json", + ) as _, + mock.patch( + "owid.datautils.google.config.SETTINGS_PATH", + Path(config_dir) / "google_settings.yaml", + ) as _, + mock.patch( + "owid.datautils.google.config.CREDENTIALS_PATH", + Path(config_dir) / "google_credentials.json", + ) as _, + ): _check_google_config() @@ -85,15 +95,20 @@ def test_google_config_init_1(mocker_google_1, mocker_google_2): config_dir = next(tempfile._get_candidate_names()) # type: ignore defult_tmp_dir = tempfile._get_default_tempdir() # type: ignore config_dir = os.path.join(defult_tmp_dir, config_dir) - with mock.patch("owid.datautils.google.config.CONFIG_DIR", config_dir), mock.patch( - "owid.datautils.google.config.CLIENT_SECRETS_PATH", - Path(config_dir) / "google_client_secrets.json", - ) as _, mock.patch( - "owid.datautils.google.config.SETTINGS_PATH", - Path(config_dir) / "google_settings.yaml", - ) as _, mock.patch( - "owid.datautils.google.config.CREDENTIALS_PATH", - Path(config_dir) / "google_credentials.json", - ) as _: + with ( + mock.patch("owid.datautils.google.config.CONFIG_DIR", config_dir), + mock.patch( + "owid.datautils.google.config.CLIENT_SECRETS_PATH", + Path(config_dir) / "google_client_secrets.json", + ) as _, + mock.patch( + "owid.datautils.google.config.SETTINGS_PATH", + Path(config_dir) / "google_settings.yaml", + ) as _, + mock.patch( + "owid.datautils.google.config.CREDENTIALS_PATH", + Path(config_dir) / "google_credentials.json", + ) as _, + ): with tempfile.NamedTemporaryFile() as secrets_dir_og: google_config_init(str(secrets_dir_og.name)) diff --git a/lib/datautils/tests/io/test_df.py b/lib/datautils/tests/io/test_df.py index 7e8f29bf280e..6c3929dcb97a 100644 --- a/lib/datautils/tests/io/test_df.py +++ b/lib/datautils/tests/io/test_df.py @@ -1,6 +1,5 @@ -"""Test functions in owid.datautils.io.local module. +"""Test functions in owid.datautils.io.local module.""" -""" import tempfile from pathlib import Path from typing import Any diff --git a/lib/datautils/tests/io/test_json.py b/lib/datautils/tests/io/test_json.py index cca6a3f4a5b0..c78540b40fcd 100644 --- a/lib/datautils/tests/io/test_json.py +++ b/lib/datautils/tests/io/test_json.py @@ -1,6 +1,4 @@ -"""Test functions in owid.datautils.io.local module. - -""" +"""Test functions in owid.datautils.io.local module.""" from unittest.mock import mock_open, patch diff --git a/lib/datautils/tests/test_dataframes.py b/lib/datautils/tests/test_dataframes.py index d6b81a51c7b8..a9cdb3eb9d8d 100644 --- a/lib/datautils/tests/test_dataframes.py +++ b/lib/datautils/tests/test_dataframes.py @@ -1,6 +1,4 @@ -"""Test functions in owid.datautils.dataframes module. - -""" +"""Test functions in owid.datautils.dataframes module.""" import tempfile from pathlib import Path diff --git a/lib/datautils/tests/test_web.py b/lib/datautils/tests/test_web.py index b274fd32cc6c..cd66c55caae6 100644 --- a/lib/datautils/tests/test_web.py +++ b/lib/datautils/tests/test_web.py @@ -1,7 +1,4 @@ -"""Test functions in owid.datautils.web module. - -""" - +"""Test functions in owid.datautils.web module.""" from unittest import mock diff --git a/lib/datautils/uv.lock b/lib/datautils/uv.lock index 925361724162..fc38bb8d16bf 100644 --- a/lib/datautils/uv.lock +++ b/lib/datautils/uv.lock @@ -1304,7 +1304,7 @@ dev = [ { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=6.2.5" }, { name = "pytest-cov", specifier = ">=2.12.1" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, { name = "sphinx", specifier = "==4.5.0" }, { name = "watchdog", specifier = ">=2.1.5" }, ] @@ -1445,6 +1445,8 @@ version = "6.0.0" source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/18/c7/8c6872f7372eb6a6b2e4708b88419fb46b857f7a2e1892966b851cc79fc9/psutil-6.0.0.tar.gz", hash = "sha256:8faae4f310b6d969fa26ca0545338b21f73c6b15db7c4a8d934a5482faa818f2", size = 508067 } wheels = [ + { url = "https://files.pythonhosted.org/packages/c5/66/78c9c3020f573c58101dc43a44f6855d01bbbd747e24da2f0c4491200ea3/psutil-6.0.0-cp27-none-win32.whl", hash = "sha256:02b69001f44cc73c1c5279d02b30a817e339ceb258ad75997325e0e6169d8b35", size = 249766 }, + { url = "https://files.pythonhosted.org/packages/e1/3f/2403aa9558bea4d3854b0e5e567bc3dd8e9fbc1fc4453c0aa9aafeb75467/psutil-6.0.0-cp27-none-win_amd64.whl", hash = "sha256:21f1fb635deccd510f69f485b87433460a603919b45e2a324ad65b0cc74f8fb1", size = 253024 }, { url = "https://files.pythonhosted.org/packages/0b/37/f8da2fbd29690b3557cca414c1949f92162981920699cd62095a984983bf/psutil-6.0.0-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:c588a7e9b1173b6e866756dde596fd4cad94f9399daf99ad8c3258b3cb2b47a0", size = 250961 }, { url = "https://files.pythonhosted.org/packages/35/56/72f86175e81c656a01c4401cd3b1c923f891b31fbcebe98985894176d7c9/psutil-6.0.0-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ed2440ada7ef7d0d608f20ad89a04ec47d2d3ab7190896cd62ca5fc4fe08bf0", size = 287478 }, { url = "https://files.pythonhosted.org/packages/19/74/f59e7e0d392bc1070e9a70e2f9190d652487ac115bb16e2eff6b22ad1d24/psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fd9a97c8e94059b0ef54a7d4baf13b405011176c3b6ff257c247cae0d560ecd", size = 290455 }, @@ -2093,26 +2095,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.1.6" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/25/4c/2f786388acd82c295eedc4afeede7ef4b29cf27277151d8d13be906bac70/ruff-0.1.6.tar.gz", hash = "sha256:1b09f29b16c6ead5ea6b097ef2764b42372aebe363722f1605ecbcd2b9207184", size = 1719627 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b6/75/5054ec93ec0d5db26e218cb2814ddaa085ba1f29fad0ec56dd8107a97688/ruff-0.1.6-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:88b8cdf6abf98130991cbc9f6438f35f6e8d41a02622cc5ee130a02a0ed28703", size = 11628468 }, - { url = "https://files.pythonhosted.org/packages/a2/91/8b2920f6026c069ae0802fc3c44f7337e04bf2a198ce94bfab360073477a/ruff-0.1.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:5c549ed437680b6105a1299d2cd30e4964211606eeb48a0ff7a93ef70b902248", size = 5990066 }, - { url = "https://files.pythonhosted.org/packages/df/1e/03ef0cc5c7d03e50d4f954218551d6001f1f70e6f391cdb678efb5c6e6ab/ruff-0.1.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1cf5f701062e294f2167e66d11b092bba7af6a057668ed618a9253e1e90cfd76", size = 5929313 }, - { url = "https://files.pythonhosted.org/packages/92/7c/38fd1b9cb624f5725a6a08c81bf7e823c64b28622ffcb4369c56dc0a16d0/ruff-0.1.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:05991ee20d4ac4bb78385360c684e4b417edd971030ab12a4fbd075ff535050e", size = 5627943 }, - { url = "https://files.pythonhosted.org/packages/c7/c3/98e3d0eb92e5a2ec10f76c71067640b6f21def23c3b1ff8f08ab6348255e/ruff-0.1.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:87455a0c1f739b3c069e2f4c43b66479a54dea0276dd5d4d67b091265f6fd1dc", size = 6074206 }, - { url = "https://files.pythonhosted.org/packages/e8/33/62fb966eb70d9bb45ddf5023d40e26946a5e5127d99956b84c8a9a76b153/ruff-0.1.6-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:683aa5bdda5a48cb8266fcde8eea2a6af4e5700a392c56ea5fb5f0d4bfdc0240", size = 6743205 }, - { url = "https://files.pythonhosted.org/packages/c7/f1/60d43182f98113156a1b21a17f30541dda9f5ffcfeedc2b54dc030a2c413/ruff-0.1.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:137852105586dcbf80c1717facb6781555c4e99f520c9c827bd414fac67ddfb6", size = 6600581 }, - { url = "https://files.pythonhosted.org/packages/09/92/36850598e84f75cfe8edd252dbf40442b4cc226ed2c76206a9b3cbfb9986/ruff-0.1.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd98138a98d48a1c36c394fd6b84cd943ac92a08278aa8ac8c0fdefcf7138f35", size = 7708098 }, - { url = "https://files.pythonhosted.org/packages/3b/2f/8ef67614631622aa3ea79b27e01ac86d7f90a988520454e3a84cb2fd890f/ruff-0.1.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a0cd909d25f227ac5c36d4e7e681577275fb74ba3b11d288aff7ec47e3ae745", size = 6295145 }, - { url = "https://files.pythonhosted.org/packages/3c/4b/af366db98d15efe83fd3e3aae7319d3897e3475fc53a2f1b0287c8255422/ruff-0.1.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e8fd1c62a47aa88a02707b5dd20c5ff20d035d634aa74826b42a1da77861b5ff", size = 5878111 }, - { url = "https://files.pythonhosted.org/packages/bf/af/25b794e750f1d74a83ce6b16625e3306beeb2161c517b9d883958de05526/ruff-0.1.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:fd89b45d374935829134a082617954120d7a1470a9f0ec0e7f3ead983edc48cc", size = 5629339 }, - { url = "https://files.pythonhosted.org/packages/81/b0/92c4cb6bceb19ebd27cedd1f45b337f7fd5397e6b760094831266be59661/ruff-0.1.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:491262006e92f825b145cd1e52948073c56560243b55fb3b4ecb142f6f0e9543", size = 5959772 }, - { url = "https://files.pythonhosted.org/packages/11/02/3a7e3101d88b113f326e0fdf3f566fba2600fc4b1fd828d56027d293e22d/ruff-0.1.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:ea284789861b8b5ca9d5443591a92a397ac183d4351882ab52f6296b4fdd5462", size = 6356759 }, - { url = "https://files.pythonhosted.org/packages/fc/93/8a4b3523c4564168aab720d8361b4bf12173b099509caaac93168b72927a/ruff-0.1.6-py3-none-win32.whl", hash = "sha256:1610e14750826dfc207ccbcdd7331b6bd285607d4181df9c1c6ae26646d6848a", size = 5835632 }, - { url = "https://files.pythonhosted.org/packages/40/e3/55ae013087bd892dd61c25895a119ffec2f9b9f7c3d1fd0cea5f5f7bd74a/ruff-0.1.6-py3-none-win_amd64.whl", hash = "sha256:4558b3e178145491e9bc3b2ee3c4b42f19d19384eaa5c59d10acf6e8f8b57e33", size = 6226075 }, - { url = "https://files.pythonhosted.org/packages/21/f7/fdce733e594e1b274fc9232256be6a4e03e8d2cb9e354c783801191e2f4d/ruff-0.1.6-py3-none-win_arm64.whl", hash = "sha256:03910e81df0d8db0e30050725a5802441c2022ea3ae4fe0609b76081731accbc", size = 5965823 }, +version = "0.8.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5e/2b/01245f4f3a727d60bebeacd7ee6d22586c7f62380a2597ddb22c2f45d018/ruff-0.8.2.tar.gz", hash = "sha256:b84f4f414dda8ac7f75075c1fa0b905ac0ff25361f42e6d5da681a465e0f78e5", size = 3349020 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/91/29/366be70216dba1731a00a41f2f030822b0c96c7c4f3b2c0cdce15cbace74/ruff-0.8.2-py3-none-linux_armv6l.whl", hash = "sha256:c49ab4da37e7c457105aadfd2725e24305ff9bc908487a9bf8d548c6dad8bb3d", size = 10530649 }, + { url = "https://files.pythonhosted.org/packages/63/82/a733956540bb388f00df5a3e6a02467b16c0e529132625fe44ce4c5fb9c7/ruff-0.8.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ec016beb69ac16be416c435828be702ee694c0d722505f9c1f35e1b9c0cc1bf5", size = 10274069 }, + { url = "https://files.pythonhosted.org/packages/3d/12/0b3aa14d1d71546c988a28e1b412981c1b80c8a1072e977a2f30c595cc4a/ruff-0.8.2-py3-none-macosx_11_0_arm64.whl", hash = "sha256:f05cdf8d050b30e2ba55c9b09330b51f9f97d36d4673213679b965d25a785f3c", size = 9909400 }, + { url = "https://files.pythonhosted.org/packages/23/08/f9f08cefb7921784c891c4151cce6ed357ff49e84b84978440cffbc87408/ruff-0.8.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:60f578c11feb1d3d257b2fb043ddb47501ab4816e7e221fbb0077f0d5d4e7b6f", size = 10766782 }, + { url = "https://files.pythonhosted.org/packages/e4/71/bf50c321ec179aa420c8ec40adac5ae9cc408d4d37283a485b19a2331ceb/ruff-0.8.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:cbd5cf9b0ae8f30eebc7b360171bd50f59ab29d39f06a670b3e4501a36ba5897", size = 10286316 }, + { url = "https://files.pythonhosted.org/packages/f2/83/c82688a2a6117539aea0ce63fdf6c08e60fe0202779361223bcd7f40bd74/ruff-0.8.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b402ddee3d777683de60ff76da801fa7e5e8a71038f57ee53e903afbcefdaa58", size = 11338270 }, + { url = "https://files.pythonhosted.org/packages/7f/d7/bc6a45e5a22e627640388e703160afb1d77c572b1d0fda8b4349f334fc66/ruff-0.8.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:705832cd7d85605cb7858d8a13d75993c8f3ef1397b0831289109e953d833d29", size = 12058579 }, + { url = "https://files.pythonhosted.org/packages/da/3b/64150c93946ec851e6f1707ff586bb460ca671581380c919698d6a9267dc/ruff-0.8.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:32096b41aaf7a5cc095fa45b4167b890e4c8d3fd217603f3634c92a541de7248", size = 11615172 }, + { url = "https://files.pythonhosted.org/packages/e4/9e/cf12b697ea83cfe92ec4509ae414dc4c9b38179cc681a497031f0d0d9a8e/ruff-0.8.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e769083da9439508833cfc7c23e351e1809e67f47c50248250ce1ac52c21fb93", size = 12882398 }, + { url = "https://files.pythonhosted.org/packages/a9/27/96d10863accf76a9c97baceac30b0a52d917eb985a8ac058bd4636aeede0/ruff-0.8.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fe716592ae8a376c2673fdfc1f5c0c193a6d0411f90a496863c99cd9e2ae25d", size = 11176094 }, + { url = "https://files.pythonhosted.org/packages/eb/10/cd2fd77d4a4e7f03c29351be0f53278a393186b540b99df68beb5304fddd/ruff-0.8.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:81c148825277e737493242b44c5388a300584d73d5774defa9245aaef55448b0", size = 10771884 }, + { url = "https://files.pythonhosted.org/packages/71/5d/beabb2ff18870fc4add05fa3a69a4cb1b1d2d6f83f3cf3ae5ab0d52f455d/ruff-0.8.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d261d7850c8367704874847d95febc698a950bf061c9475d4a8b7689adc4f7fa", size = 10382535 }, + { url = "https://files.pythonhosted.org/packages/ae/29/6b3fdf3ad3e35b28d87c25a9ff4c8222ad72485ab783936b2b267250d7a7/ruff-0.8.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1ca4e3a87496dc07d2427b7dd7ffa88a1e597c28dad65ae6433ecb9f2e4f022f", size = 10886995 }, + { url = "https://files.pythonhosted.org/packages/e9/dc/859d889b4d9356a1a2cdbc1e4a0dda94052bc5b5300098647e51a58c430b/ruff-0.8.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:729850feed82ef2440aa27946ab39c18cb4a8889c1128a6d589ffa028ddcfc22", size = 11220750 }, + { url = "https://files.pythonhosted.org/packages/0b/08/e8f519f61f1d624264bfd6b8829e4c5f31c3c61193bc3cff1f19dbe7626a/ruff-0.8.2-py3-none-win32.whl", hash = "sha256:ac42caaa0411d6a7d9594363294416e0e48fc1279e1b0e948391695db2b3d5b1", size = 8729396 }, + { url = "https://files.pythonhosted.org/packages/f8/d4/ba1c7ab72aba37a2b71fe48ab95b80546dbad7a7f35ea28cf66fc5cea5f6/ruff-0.8.2-py3-none-win_amd64.whl", hash = "sha256:2aae99ec70abf43372612a838d97bfe77d45146254568d94926e8ed5bbb409ea", size = 9594729 }, + { url = "https://files.pythonhosted.org/packages/23/34/db20e12d3db11b8a2a8874258f0f6d96a9a4d631659d54575840557164c8/ruff-0.8.2-py3-none-win_arm64.whl", hash = "sha256:fb88e2a506b70cfbc2de6fae6681c4f944f7dd5f2fe87233a7233d888bad73e8", size = 9035131 }, ] [[package]] diff --git a/lib/repack/owid/repack/__init__.py b/lib/repack/owid/repack/__init__.py index 270b5b1cb51f..4772c91c012e 100644 --- a/lib/repack/owid/repack/__init__.py +++ b/lib/repack/owid/repack/__init__.py @@ -174,7 +174,7 @@ def _safe_dtype(dtype: Any) -> str: return "boolean" elif isinstance(dtype, pd.CategoricalDtype): return "string[pyarrow]" - elif dtype == object: + elif dtype == "object": return "string[pyarrow]" else: return dtype diff --git a/lib/repack/pyproject.toml b/lib/repack/pyproject.toml index fea1f71e18ca..1c54e179ebe2 100644 --- a/lib/repack/pyproject.toml +++ b/lib/repack/pyproject.toml @@ -18,7 +18,7 @@ dependencies = [ dev-dependencies = [ "pytest>=7.2.0", "pyright==1.1.373", - "ruff==0.1.6", + "ruff==0.8.2", "ipdb>=0.13.13", ] diff --git a/lib/repack/uv.lock b/lib/repack/uv.lock index 1e54dea67bf5..a8132080e4e5 100644 --- a/lib/repack/uv.lock +++ b/lib/repack/uv.lock @@ -205,7 +205,7 @@ dev = [ { name = "ipdb", specifier = ">=0.13.13" }, { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=7.2.0" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, ] [[package]] @@ -432,26 +432,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.1.6" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/25/4c/2f786388acd82c295eedc4afeede7ef4b29cf27277151d8d13be906bac70/ruff-0.1.6.tar.gz", hash = "sha256:1b09f29b16c6ead5ea6b097ef2764b42372aebe363722f1605ecbcd2b9207184", size = 1719627 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b6/75/5054ec93ec0d5db26e218cb2814ddaa085ba1f29fad0ec56dd8107a97688/ruff-0.1.6-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:88b8cdf6abf98130991cbc9f6438f35f6e8d41a02622cc5ee130a02a0ed28703", size = 11628468 }, - { url = "https://files.pythonhosted.org/packages/a2/91/8b2920f6026c069ae0802fc3c44f7337e04bf2a198ce94bfab360073477a/ruff-0.1.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:5c549ed437680b6105a1299d2cd30e4964211606eeb48a0ff7a93ef70b902248", size = 5990066 }, - { url = "https://files.pythonhosted.org/packages/df/1e/03ef0cc5c7d03e50d4f954218551d6001f1f70e6f391cdb678efb5c6e6ab/ruff-0.1.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1cf5f701062e294f2167e66d11b092bba7af6a057668ed618a9253e1e90cfd76", size = 5929313 }, - { url = "https://files.pythonhosted.org/packages/92/7c/38fd1b9cb624f5725a6a08c81bf7e823c64b28622ffcb4369c56dc0a16d0/ruff-0.1.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:05991ee20d4ac4bb78385360c684e4b417edd971030ab12a4fbd075ff535050e", size = 5627943 }, - { url = "https://files.pythonhosted.org/packages/c7/c3/98e3d0eb92e5a2ec10f76c71067640b6f21def23c3b1ff8f08ab6348255e/ruff-0.1.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:87455a0c1f739b3c069e2f4c43b66479a54dea0276dd5d4d67b091265f6fd1dc", size = 6074206 }, - { url = "https://files.pythonhosted.org/packages/e8/33/62fb966eb70d9bb45ddf5023d40e26946a5e5127d99956b84c8a9a76b153/ruff-0.1.6-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:683aa5bdda5a48cb8266fcde8eea2a6af4e5700a392c56ea5fb5f0d4bfdc0240", size = 6743205 }, - { url = "https://files.pythonhosted.org/packages/c7/f1/60d43182f98113156a1b21a17f30541dda9f5ffcfeedc2b54dc030a2c413/ruff-0.1.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:137852105586dcbf80c1717facb6781555c4e99f520c9c827bd414fac67ddfb6", size = 6600581 }, - { url = "https://files.pythonhosted.org/packages/09/92/36850598e84f75cfe8edd252dbf40442b4cc226ed2c76206a9b3cbfb9986/ruff-0.1.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd98138a98d48a1c36c394fd6b84cd943ac92a08278aa8ac8c0fdefcf7138f35", size = 7708098 }, - { url = "https://files.pythonhosted.org/packages/3b/2f/8ef67614631622aa3ea79b27e01ac86d7f90a988520454e3a84cb2fd890f/ruff-0.1.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a0cd909d25f227ac5c36d4e7e681577275fb74ba3b11d288aff7ec47e3ae745", size = 6295145 }, - { url = "https://files.pythonhosted.org/packages/3c/4b/af366db98d15efe83fd3e3aae7319d3897e3475fc53a2f1b0287c8255422/ruff-0.1.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e8fd1c62a47aa88a02707b5dd20c5ff20d035d634aa74826b42a1da77861b5ff", size = 5878111 }, - { url = "https://files.pythonhosted.org/packages/bf/af/25b794e750f1d74a83ce6b16625e3306beeb2161c517b9d883958de05526/ruff-0.1.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:fd89b45d374935829134a082617954120d7a1470a9f0ec0e7f3ead983edc48cc", size = 5629339 }, - { url = "https://files.pythonhosted.org/packages/81/b0/92c4cb6bceb19ebd27cedd1f45b337f7fd5397e6b760094831266be59661/ruff-0.1.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:491262006e92f825b145cd1e52948073c56560243b55fb3b4ecb142f6f0e9543", size = 5959772 }, - { url = "https://files.pythonhosted.org/packages/11/02/3a7e3101d88b113f326e0fdf3f566fba2600fc4b1fd828d56027d293e22d/ruff-0.1.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:ea284789861b8b5ca9d5443591a92a397ac183d4351882ab52f6296b4fdd5462", size = 6356759 }, - { url = "https://files.pythonhosted.org/packages/fc/93/8a4b3523c4564168aab720d8361b4bf12173b099509caaac93168b72927a/ruff-0.1.6-py3-none-win32.whl", hash = "sha256:1610e14750826dfc207ccbcdd7331b6bd285607d4181df9c1c6ae26646d6848a", size = 5835632 }, - { url = "https://files.pythonhosted.org/packages/40/e3/55ae013087bd892dd61c25895a119ffec2f9b9f7c3d1fd0cea5f5f7bd74a/ruff-0.1.6-py3-none-win_amd64.whl", hash = "sha256:4558b3e178145491e9bc3b2ee3c4b42f19d19384eaa5c59d10acf6e8f8b57e33", size = 6226075 }, - { url = "https://files.pythonhosted.org/packages/21/f7/fdce733e594e1b274fc9232256be6a4e03e8d2cb9e354c783801191e2f4d/ruff-0.1.6-py3-none-win_arm64.whl", hash = "sha256:03910e81df0d8db0e30050725a5802441c2022ea3ae4fe0609b76081731accbc", size = 5965823 }, +version = "0.8.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5e/2b/01245f4f3a727d60bebeacd7ee6d22586c7f62380a2597ddb22c2f45d018/ruff-0.8.2.tar.gz", hash = "sha256:b84f4f414dda8ac7f75075c1fa0b905ac0ff25361f42e6d5da681a465e0f78e5", size = 3349020 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/91/29/366be70216dba1731a00a41f2f030822b0c96c7c4f3b2c0cdce15cbace74/ruff-0.8.2-py3-none-linux_armv6l.whl", hash = "sha256:c49ab4da37e7c457105aadfd2725e24305ff9bc908487a9bf8d548c6dad8bb3d", size = 10530649 }, + { url = "https://files.pythonhosted.org/packages/63/82/a733956540bb388f00df5a3e6a02467b16c0e529132625fe44ce4c5fb9c7/ruff-0.8.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ec016beb69ac16be416c435828be702ee694c0d722505f9c1f35e1b9c0cc1bf5", size = 10274069 }, + { url = "https://files.pythonhosted.org/packages/3d/12/0b3aa14d1d71546c988a28e1b412981c1b80c8a1072e977a2f30c595cc4a/ruff-0.8.2-py3-none-macosx_11_0_arm64.whl", hash = "sha256:f05cdf8d050b30e2ba55c9b09330b51f9f97d36d4673213679b965d25a785f3c", size = 9909400 }, + { url = "https://files.pythonhosted.org/packages/23/08/f9f08cefb7921784c891c4151cce6ed357ff49e84b84978440cffbc87408/ruff-0.8.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:60f578c11feb1d3d257b2fb043ddb47501ab4816e7e221fbb0077f0d5d4e7b6f", size = 10766782 }, + { url = "https://files.pythonhosted.org/packages/e4/71/bf50c321ec179aa420c8ec40adac5ae9cc408d4d37283a485b19a2331ceb/ruff-0.8.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:cbd5cf9b0ae8f30eebc7b360171bd50f59ab29d39f06a670b3e4501a36ba5897", size = 10286316 }, + { url = "https://files.pythonhosted.org/packages/f2/83/c82688a2a6117539aea0ce63fdf6c08e60fe0202779361223bcd7f40bd74/ruff-0.8.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b402ddee3d777683de60ff76da801fa7e5e8a71038f57ee53e903afbcefdaa58", size = 11338270 }, + { url = "https://files.pythonhosted.org/packages/7f/d7/bc6a45e5a22e627640388e703160afb1d77c572b1d0fda8b4349f334fc66/ruff-0.8.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:705832cd7d85605cb7858d8a13d75993c8f3ef1397b0831289109e953d833d29", size = 12058579 }, + { url = "https://files.pythonhosted.org/packages/da/3b/64150c93946ec851e6f1707ff586bb460ca671581380c919698d6a9267dc/ruff-0.8.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:32096b41aaf7a5cc095fa45b4167b890e4c8d3fd217603f3634c92a541de7248", size = 11615172 }, + { url = "https://files.pythonhosted.org/packages/e4/9e/cf12b697ea83cfe92ec4509ae414dc4c9b38179cc681a497031f0d0d9a8e/ruff-0.8.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e769083da9439508833cfc7c23e351e1809e67f47c50248250ce1ac52c21fb93", size = 12882398 }, + { url = "https://files.pythonhosted.org/packages/a9/27/96d10863accf76a9c97baceac30b0a52d917eb985a8ac058bd4636aeede0/ruff-0.8.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fe716592ae8a376c2673fdfc1f5c0c193a6d0411f90a496863c99cd9e2ae25d", size = 11176094 }, + { url = "https://files.pythonhosted.org/packages/eb/10/cd2fd77d4a4e7f03c29351be0f53278a393186b540b99df68beb5304fddd/ruff-0.8.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:81c148825277e737493242b44c5388a300584d73d5774defa9245aaef55448b0", size = 10771884 }, + { url = "https://files.pythonhosted.org/packages/71/5d/beabb2ff18870fc4add05fa3a69a4cb1b1d2d6f83f3cf3ae5ab0d52f455d/ruff-0.8.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d261d7850c8367704874847d95febc698a950bf061c9475d4a8b7689adc4f7fa", size = 10382535 }, + { url = "https://files.pythonhosted.org/packages/ae/29/6b3fdf3ad3e35b28d87c25a9ff4c8222ad72485ab783936b2b267250d7a7/ruff-0.8.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1ca4e3a87496dc07d2427b7dd7ffa88a1e597c28dad65ae6433ecb9f2e4f022f", size = 10886995 }, + { url = "https://files.pythonhosted.org/packages/e9/dc/859d889b4d9356a1a2cdbc1e4a0dda94052bc5b5300098647e51a58c430b/ruff-0.8.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:729850feed82ef2440aa27946ab39c18cb4a8889c1128a6d589ffa028ddcfc22", size = 11220750 }, + { url = "https://files.pythonhosted.org/packages/0b/08/e8f519f61f1d624264bfd6b8829e4c5f31c3c61193bc3cff1f19dbe7626a/ruff-0.8.2-py3-none-win32.whl", hash = "sha256:ac42caaa0411d6a7d9594363294416e0e48fc1279e1b0e948391695db2b3d5b1", size = 8729396 }, + { url = "https://files.pythonhosted.org/packages/f8/d4/ba1c7ab72aba37a2b71fe48ab95b80546dbad7a7f35ea28cf66fc5cea5f6/ruff-0.8.2-py3-none-win_amd64.whl", hash = "sha256:2aae99ec70abf43372612a838d97bfe77d45146254568d94926e8ed5bbb409ea", size = 9594729 }, + { url = "https://files.pythonhosted.org/packages/23/34/db20e12d3db11b8a2a8874258f0f6d96a9a4d631659d54575840557164c8/ruff-0.8.2-py3-none-win_arm64.whl", hash = "sha256:fb88e2a506b70cfbc2de6fae6681c4f944f7dd5f2fe87233a7233d888bad73e8", size = 9035131 }, ] [[package]] diff --git a/lib/walden/owid/walden/catalog.py b/lib/walden/owid/walden/catalog.py index d7c53f3972e3..b5d4ef390b2e 100644 --- a/lib/walden/owid/walden/catalog.py +++ b/lib/walden/owid/walden/catalog.py @@ -272,8 +272,7 @@ def delete_from_remote(self) -> None: def local_path(self) -> str: return path.join(CACHE_DIR, f"{self.relative_base}.{self.file_extension}") - def to_dict(self) -> Dict[str, Any]: - ... # type: ignore + def to_dict(self) -> Dict[str, Any]: ... # type: ignore def has_changed_from_last_version(self) -> bool: """Check if local dataset is different to latest available version in Walden. diff --git a/lib/walden/pyproject.toml b/lib/walden/pyproject.toml index 954adc93985e..1016cea4a48d 100644 --- a/lib/walden/pyproject.toml +++ b/lib/walden/pyproject.toml @@ -37,7 +37,7 @@ dev-dependencies = [ "jupyter_nbextensions_configurator>=0.4.1", "types-PyYAML>=6.0.5", "pyright==1.1.373", - "ruff==0.1.6", + "ruff==0.8.2", ] [tool.uv.sources] diff --git a/lib/walden/uv.lock b/lib/walden/uv.lock index 3a8d26788126..83bace54115a 100644 --- a/lib/walden/uv.lock +++ b/lib/walden/uv.lock @@ -181,6 +181,119 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/c0/2e/ca478472e3a6cc96a23dcaf82af714e2befbf449aec98974bf0ac2c88102/botocore-1.35.20-py3-none-any.whl", hash = "sha256:62412038f960691a299e60492f9ee7e8e75af563f2eca7f3640b3b54b8f5d236", size = 12539792 }, ] +[[package]] +name = "brotli" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2f/c2/f9e977608bdf958650638c3f1e28f85a1b075f075ebbe77db8555463787b/Brotli-1.1.0.tar.gz", hash = "sha256:81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724", size = 7372270 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/3a/dbf4fb970c1019a57b5e492e1e0eae745d32e59ba4d6161ab5422b08eefe/Brotli-1.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e1140c64812cb9b06c922e77f1c26a75ec5e3f0fb2bf92cc8c58720dec276752", size = 873045 }, + { url = "https://files.pythonhosted.org/packages/dd/11/afc14026ea7f44bd6eb9316d800d439d092c8d508752055ce8d03086079a/Brotli-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c8fd5270e906eef71d4a8d19b7c6a43760c6abcfcc10c9101d14eb2357418de9", size = 446218 }, + { url = "https://files.pythonhosted.org/packages/36/83/7545a6e7729db43cb36c4287ae388d6885c85a86dd251768a47015dfde32/Brotli-1.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1ae56aca0402a0f9a3431cddda62ad71666ca9d4dc3a10a142b9dce2e3c0cda3", size = 2903872 }, + { url = "https://files.pythonhosted.org/packages/32/23/35331c4d9391fcc0f29fd9bec2c76e4b4eeab769afbc4b11dd2e1098fb13/Brotli-1.1.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:43ce1b9935bfa1ede40028054d7f48b5469cd02733a365eec8a329ffd342915d", size = 2941254 }, + { url = "https://files.pythonhosted.org/packages/3b/24/1671acb450c902edb64bd765d73603797c6c7280a9ada85a195f6b78c6e5/Brotli-1.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:7c4855522edb2e6ae7fdb58e07c3ba9111e7621a8956f481c68d5d979c93032e", size = 2857293 }, + { url = "https://files.pythonhosted.org/packages/d5/00/40f760cc27007912b327fe15bf6bfd8eaecbe451687f72a8abc587d503b3/Brotli-1.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:38025d9f30cf4634f8309c6874ef871b841eb3c347e90b0851f63d1ded5212da", size = 3002385 }, + { url = "https://files.pythonhosted.org/packages/b8/cb/8aaa83f7a4caa131757668c0fb0c4b6384b09ffa77f2fba9570d87ab587d/Brotli-1.1.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e6a904cb26bfefc2f0a6f240bdf5233be78cd2488900a2f846f3c3ac8489ab80", size = 2911104 }, + { url = "https://files.pythonhosted.org/packages/bc/c4/65456561d89d3c49f46b7fbeb8fe6e449f13bdc8ea7791832c5d476b2faf/Brotli-1.1.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:a37b8f0391212d29b3a91a799c8e4a2855e0576911cdfb2515487e30e322253d", size = 2809981 }, + { url = "https://files.pythonhosted.org/packages/05/1b/cf49528437bae28abce5f6e059f0d0be6fecdcc1d3e33e7c54b3ca498425/Brotli-1.1.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:e84799f09591700a4154154cab9787452925578841a94321d5ee8fb9a9a328f0", size = 2935297 }, + { url = "https://files.pythonhosted.org/packages/81/ff/190d4af610680bf0c5a09eb5d1eac6e99c7c8e216440f9c7cfd42b7adab5/Brotli-1.1.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f66b5337fa213f1da0d9000bc8dc0cb5b896b726eefd9c6046f699b169c41b9e", size = 2930735 }, + { url = "https://files.pythonhosted.org/packages/80/7d/f1abbc0c98f6e09abd3cad63ec34af17abc4c44f308a7a539010f79aae7a/Brotli-1.1.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:5dab0844f2cf82be357a0eb11a9087f70c5430b2c241493fc122bb6f2bb0917c", size = 2933107 }, + { url = "https://files.pythonhosted.org/packages/34/ce/5a5020ba48f2b5a4ad1c0522d095ad5847a0be508e7d7569c8630ce25062/Brotli-1.1.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e4fe605b917c70283db7dfe5ada75e04561479075761a0b3866c081d035b01c1", size = 2845400 }, + { url = "https://files.pythonhosted.org/packages/44/89/fa2c4355ab1eecf3994e5a0a7f5492c6ff81dfcb5f9ba7859bd534bb5c1a/Brotli-1.1.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:1e9a65b5736232e7a7f91ff3d02277f11d339bf34099a56cdab6a8b3410a02b2", size = 3031985 }, + { url = "https://files.pythonhosted.org/packages/af/a4/79196b4a1674143d19dca400866b1a4d1a089040df7b93b88ebae81f3447/Brotli-1.1.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:58d4b711689366d4a03ac7957ab8c28890415e267f9b6589969e74b6e42225ec", size = 2927099 }, + { url = "https://files.pythonhosted.org/packages/e9/54/1c0278556a097f9651e657b873ab08f01b9a9ae4cac128ceb66427d7cd20/Brotli-1.1.0-cp310-cp310-win32.whl", hash = "sha256:be36e3d172dc816333f33520154d708a2657ea63762ec16b62ece02ab5e4daf2", size = 333172 }, + { url = "https://files.pythonhosted.org/packages/f7/65/b785722e941193fd8b571afd9edbec2a9b838ddec4375d8af33a50b8dab9/Brotli-1.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:0c6244521dda65ea562d5a69b9a26120769b7a9fb3db2fe9545935ed6735b128", size = 357255 }, + { url = "https://files.pythonhosted.org/packages/96/12/ad41e7fadd5db55459c4c401842b47f7fee51068f86dd2894dd0dcfc2d2a/Brotli-1.1.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a3daabb76a78f829cafc365531c972016e4aa8d5b4bf60660ad8ecee19df7ccc", size = 873068 }, + { url = "https://files.pythonhosted.org/packages/95/4e/5afab7b2b4b61a84e9c75b17814198ce515343a44e2ed4488fac314cd0a9/Brotli-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c8146669223164fc87a7e3de9f81e9423c67a79d6b3447994dfb9c95da16e2d6", size = 446244 }, + { url = "https://files.pythonhosted.org/packages/9d/e6/f305eb61fb9a8580c525478a4a34c5ae1a9bcb12c3aee619114940bc513d/Brotli-1.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:30924eb4c57903d5a7526b08ef4a584acc22ab1ffa085faceb521521d2de32dd", size = 2906500 }, + { url = "https://files.pythonhosted.org/packages/3e/4f/af6846cfbc1550a3024e5d3775ede1e00474c40882c7bf5b37a43ca35e91/Brotli-1.1.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ceb64bbc6eac5a140ca649003756940f8d6a7c444a68af170b3187623b43bebf", size = 2943950 }, + { url = "https://files.pythonhosted.org/packages/b3/e7/ca2993c7682d8629b62630ebf0d1f3bb3d579e667ce8e7ca03a0a0576a2d/Brotli-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a469274ad18dc0e4d316eefa616d1d0c2ff9da369af19fa6f3daa4f09671fd61", size = 2918527 }, + { url = "https://files.pythonhosted.org/packages/b3/96/da98e7bedc4c51104d29cc61e5f449a502dd3dbc211944546a4cc65500d3/Brotli-1.1.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:524f35912131cc2cabb00edfd8d573b07f2d9f21fa824bd3fb19725a9cf06327", size = 2845489 }, + { url = "https://files.pythonhosted.org/packages/e8/ef/ccbc16947d6ce943a7f57e1a40596c75859eeb6d279c6994eddd69615265/Brotli-1.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:5b3cc074004d968722f51e550b41a27be656ec48f8afaeeb45ebf65b561481dd", size = 2914080 }, + { url = "https://files.pythonhosted.org/packages/80/d6/0bd38d758d1afa62a5524172f0b18626bb2392d717ff94806f741fcd5ee9/Brotli-1.1.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:19c116e796420b0cee3da1ccec3b764ed2952ccfcc298b55a10e5610ad7885f9", size = 2813051 }, + { url = "https://files.pythonhosted.org/packages/14/56/48859dd5d129d7519e001f06dcfbb6e2cf6db92b2702c0c2ce7d97e086c1/Brotli-1.1.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:510b5b1bfbe20e1a7b3baf5fed9e9451873559a976c1a78eebaa3b86c57b4265", size = 2938172 }, + { url = "https://files.pythonhosted.org/packages/3d/77/a236d5f8cd9e9f4348da5acc75ab032ab1ab2c03cc8f430d24eea2672888/Brotli-1.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a1fd8a29719ccce974d523580987b7f8229aeace506952fa9ce1d53a033873c8", size = 2933023 }, + { url = "https://files.pythonhosted.org/packages/f1/87/3b283efc0f5cb35f7f84c0c240b1e1a1003a5e47141a4881bf87c86d0ce2/Brotli-1.1.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c247dd99d39e0338a604f8c2b3bc7061d5c2e9e2ac7ba9cc1be5a69cb6cd832f", size = 2935871 }, + { url = "https://files.pythonhosted.org/packages/f3/eb/2be4cc3e2141dc1a43ad4ca1875a72088229de38c68e842746b342667b2a/Brotli-1.1.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1b2c248cd517c222d89e74669a4adfa5577e06ab68771a529060cf5a156e9757", size = 2847784 }, + { url = "https://files.pythonhosted.org/packages/66/13/b58ddebfd35edde572ccefe6890cf7c493f0c319aad2a5badee134b4d8ec/Brotli-1.1.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:2a24c50840d89ded6c9a8fdc7b6ed3692ed4e86f1c4a4a938e1e92def92933e0", size = 3034905 }, + { url = "https://files.pythonhosted.org/packages/84/9c/bc96b6c7db824998a49ed3b38e441a2cae9234da6fa11f6ed17e8cf4f147/Brotli-1.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f31859074d57b4639318523d6ffdca586ace54271a73ad23ad021acd807eb14b", size = 2929467 }, + { url = "https://files.pythonhosted.org/packages/e7/71/8f161dee223c7ff7fea9d44893fba953ce97cf2c3c33f78ba260a91bcff5/Brotli-1.1.0-cp311-cp311-win32.whl", hash = "sha256:39da8adedf6942d76dc3e46653e52df937a3c4d6d18fdc94a7c29d263b1f5b50", size = 333169 }, + { url = "https://files.pythonhosted.org/packages/02/8a/fece0ee1057643cb2a5bbf59682de13f1725f8482b2c057d4e799d7ade75/Brotli-1.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:aac0411d20e345dc0920bdec5548e438e999ff68d77564d5e9463a7ca9d3e7b1", size = 357253 }, + { url = "https://files.pythonhosted.org/packages/5c/d0/5373ae13b93fe00095a58efcbce837fd470ca39f703a235d2a999baadfbc/Brotli-1.1.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:32d95b80260d79926f5fab3c41701dbb818fde1c9da590e77e571eefd14abe28", size = 815693 }, + { url = "https://files.pythonhosted.org/packages/8e/48/f6e1cdf86751300c288c1459724bfa6917a80e30dbfc326f92cea5d3683a/Brotli-1.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b760c65308ff1e462f65d69c12e4ae085cff3b332d894637f6273a12a482d09f", size = 422489 }, + { url = "https://files.pythonhosted.org/packages/06/88/564958cedce636d0f1bed313381dfc4b4e3d3f6015a63dae6146e1b8c65c/Brotli-1.1.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:316cc9b17edf613ac76b1f1f305d2a748f1b976b033b049a6ecdfd5612c70409", size = 873081 }, + { url = "https://files.pythonhosted.org/packages/58/79/b7026a8bb65da9a6bb7d14329fd2bd48d2b7f86d7329d5cc8ddc6a90526f/Brotli-1.1.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:caf9ee9a5775f3111642d33b86237b05808dafcd6268faa492250e9b78046eb2", size = 446244 }, + { url = "https://files.pythonhosted.org/packages/e5/18/c18c32ecea41b6c0004e15606e274006366fe19436b6adccc1ae7b2e50c2/Brotli-1.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:70051525001750221daa10907c77830bc889cb6d865cc0b813d9db7fefc21451", size = 2906505 }, + { url = "https://files.pythonhosted.org/packages/08/c8/69ec0496b1ada7569b62d85893d928e865df29b90736558d6c98c2031208/Brotli-1.1.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7f4bf76817c14aa98cc6697ac02f3972cb8c3da93e9ef16b9c66573a68014f91", size = 2944152 }, + { url = "https://files.pythonhosted.org/packages/ab/fb/0517cea182219d6768113a38167ef6d4eb157a033178cc938033a552ed6d/Brotli-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0c5516f0aed654134a2fc936325cc2e642f8a0e096d075209672eb321cff408", size = 2919252 }, + { url = "https://files.pythonhosted.org/packages/c7/53/73a3431662e33ae61a5c80b1b9d2d18f58dfa910ae8dd696e57d39f1a2f5/Brotli-1.1.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6c3020404e0b5eefd7c9485ccf8393cfb75ec38ce75586e046573c9dc29967a0", size = 2845955 }, + { url = "https://files.pythonhosted.org/packages/55/ac/bd280708d9c5ebdbf9de01459e625a3e3803cce0784f47d633562cf40e83/Brotli-1.1.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:4ed11165dd45ce798d99a136808a794a748d5dc38511303239d4e2363c0695dc", size = 2914304 }, + { url = "https://files.pythonhosted.org/packages/76/58/5c391b41ecfc4527d2cc3350719b02e87cb424ef8ba2023fb662f9bf743c/Brotli-1.1.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:4093c631e96fdd49e0377a9c167bfd75b6d0bad2ace734c6eb20b348bc3ea180", size = 2814452 }, + { url = "https://files.pythonhosted.org/packages/c7/4e/91b8256dfe99c407f174924b65a01f5305e303f486cc7a2e8a5d43c8bec3/Brotli-1.1.0-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:7e4c4629ddad63006efa0ef968c8e4751c5868ff0b1c5c40f76524e894c50248", size = 2938751 }, + { url = "https://files.pythonhosted.org/packages/5a/a6/e2a39a5d3b412938362bbbeba5af904092bf3f95b867b4a3eb856104074e/Brotli-1.1.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:861bf317735688269936f755fa136a99d1ed526883859f86e41a5d43c61d8966", size = 2933757 }, + { url = "https://files.pythonhosted.org/packages/13/f0/358354786280a509482e0e77c1a5459e439766597d280f28cb097642fc26/Brotli-1.1.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:87a3044c3a35055527ac75e419dfa9f4f3667a1e887ee80360589eb8c90aabb9", size = 2936146 }, + { url = "https://files.pythonhosted.org/packages/80/f7/daf538c1060d3a88266b80ecc1d1c98b79553b3f117a485653f17070ea2a/Brotli-1.1.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:c5529b34c1c9d937168297f2c1fde7ebe9ebdd5e121297ff9c043bdb2ae3d6fb", size = 2848055 }, + { url = "https://files.pythonhosted.org/packages/ad/cf/0eaa0585c4077d3c2d1edf322d8e97aabf317941d3a72d7b3ad8bce004b0/Brotli-1.1.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:ca63e1890ede90b2e4454f9a65135a4d387a4585ff8282bb72964fab893f2111", size = 3035102 }, + { url = "https://files.pythonhosted.org/packages/d8/63/1c1585b2aa554fe6dbce30f0c18bdbc877fa9a1bf5ff17677d9cca0ac122/Brotli-1.1.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e79e6520141d792237c70bcd7a3b122d00f2613769ae0cb61c52e89fd3443839", size = 2930029 }, + { url = "https://files.pythonhosted.org/packages/5f/3b/4e3fd1893eb3bbfef8e5a80d4508bec17a57bb92d586c85c12d28666bb13/Brotli-1.1.0-cp312-cp312-win32.whl", hash = "sha256:5f4d5ea15c9382135076d2fb28dde923352fe02951e66935a9efaac8f10e81b0", size = 333276 }, + { url = "https://files.pythonhosted.org/packages/3d/d5/942051b45a9e883b5b6e98c041698b1eb2012d25e5948c58d6bf85b1bb43/Brotli-1.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:906bc3a79de8c4ae5b86d3d75a8b77e44404b0f4261714306e3ad248d8ab0951", size = 357255 }, + { url = "https://files.pythonhosted.org/packages/0a/9f/fb37bb8ffc52a8da37b1c03c459a8cd55df7a57bdccd8831d500e994a0ca/Brotli-1.1.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8bf32b98b75c13ec7cf774164172683d6e7891088f6316e54425fde1efc276d5", size = 815681 }, + { url = "https://files.pythonhosted.org/packages/06/b3/dbd332a988586fefb0aa49c779f59f47cae76855c2d00f450364bb574cac/Brotli-1.1.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7bc37c4d6b87fb1017ea28c9508b36bbcb0c3d18b4260fcdf08b200c74a6aee8", size = 422475 }, + { url = "https://files.pythonhosted.org/packages/bb/80/6aaddc2f63dbcf2d93c2d204e49c11a9ec93a8c7c63261e2b4bd35198283/Brotli-1.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3c0ef38c7a7014ffac184db9e04debe495d317cc9c6fb10071f7fefd93100a4f", size = 2906173 }, + { url = "https://files.pythonhosted.org/packages/ea/1d/e6ca79c96ff5b641df6097d299347507d39a9604bde8915e76bf026d6c77/Brotli-1.1.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:91d7cc2a76b5567591d12c01f019dd7afce6ba8cba6571187e21e2fc418ae648", size = 2943803 }, + { url = "https://files.pythonhosted.org/packages/ac/a3/d98d2472e0130b7dd3acdbb7f390d478123dbf62b7d32bda5c830a96116d/Brotli-1.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a93dde851926f4f2678e704fadeb39e16c35d8baebd5252c9fd94ce8ce68c4a0", size = 2918946 }, + { url = "https://files.pythonhosted.org/packages/c4/a5/c69e6d272aee3e1423ed005d8915a7eaa0384c7de503da987f2d224d0721/Brotli-1.1.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f0db75f47be8b8abc8d9e31bc7aad0547ca26f24a54e6fd10231d623f183d089", size = 2845707 }, + { url = "https://files.pythonhosted.org/packages/58/9f/4149d38b52725afa39067350696c09526de0125ebfbaab5acc5af28b42ea/Brotli-1.1.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6967ced6730aed543b8673008b5a391c3b1076d834ca438bbd70635c73775368", size = 2936231 }, + { url = "https://files.pythonhosted.org/packages/5a/5a/145de884285611838a16bebfdb060c231c52b8f84dfbe52b852a15780386/Brotli-1.1.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:7eedaa5d036d9336c95915035fb57422054014ebdeb6f3b42eac809928e40d0c", size = 2848157 }, + { url = "https://files.pythonhosted.org/packages/50/ae/408b6bfb8525dadebd3b3dd5b19d631da4f7d46420321db44cd99dcf2f2c/Brotli-1.1.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:d487f5432bf35b60ed625d7e1b448e2dc855422e87469e3f450aa5552b0eb284", size = 3035122 }, + { url = "https://files.pythonhosted.org/packages/af/85/a94e5cfaa0ca449d8f91c3d6f78313ebf919a0dbd55a100c711c6e9655bc/Brotli-1.1.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:832436e59afb93e1836081a20f324cb185836c617659b07b129141a8426973c7", size = 2930206 }, + { url = "https://files.pythonhosted.org/packages/c2/f0/a61d9262cd01351df22e57ad7c34f66794709acab13f34be2675f45bf89d/Brotli-1.1.0-cp313-cp313-win32.whl", hash = "sha256:43395e90523f9c23a3d5bdf004733246fba087f2948f87ab28015f12359ca6a0", size = 333804 }, + { url = "https://files.pythonhosted.org/packages/7e/c1/ec214e9c94000d1c1974ec67ced1c970c148aa6b8d8373066123fc3dbf06/Brotli-1.1.0-cp313-cp313-win_amd64.whl", hash = "sha256:9011560a466d2eb3f5a6e4929cf4a09be405c64154e12df0dd72713f6500e32b", size = 358517 }, + { url = "https://files.pythonhosted.org/packages/1b/aa/aa6e0c9848ee4375514af0b27abf470904992939b7363ae78fc8aca8a9a8/Brotli-1.1.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:5fb2ce4b8045c78ebbc7b8f3c15062e435d47e7393cc57c25115cfd49883747a", size = 873048 }, + { url = "https://files.pythonhosted.org/packages/ae/32/38bba1a8bef9ecb1cda08439fd28d7e9c51aff13b4783a4f1610da90b6c2/Brotli-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7905193081db9bfa73b1219140b3d315831cbff0d8941f22da695832f0dd188f", size = 446207 }, + { url = "https://files.pythonhosted.org/packages/3c/6a/14cc20ddc53efc274601c8195791a27cfb7acc5e5134e0f8c493a8b8821a/Brotli-1.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a77def80806c421b4b0af06f45d65a136e7ac0bdca3c09d9e2ea4e515367c7e9", size = 2903803 }, + { url = "https://files.pythonhosted.org/packages/9a/26/62b2d894d4e82d7a7f4e0bb9007a42bbc765697a5679b43186acd68d7a79/Brotli-1.1.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8dadd1314583ec0bf2d1379f7008ad627cd6336625d6679cf2f8e67081b83acf", size = 2941149 }, + { url = "https://files.pythonhosted.org/packages/a9/ca/00d55bbdd8631236c61777742d8a8454cf6a87eb4125cad675912c68bec7/Brotli-1.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:901032ff242d479a0efa956d853d16875d42157f98951c0230f69e69f9c09bac", size = 2672253 }, + { url = "https://files.pythonhosted.org/packages/e2/e6/4a730f6e5b5d538e92d09bc51bf69119914f29a222f9e1d65ae4abb27a4e/Brotli-1.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:22fc2a8549ffe699bfba2256ab2ed0421a7b8fadff114a3d201794e45a9ff578", size = 2757005 }, + { url = "https://files.pythonhosted.org/packages/cb/6b/8cf297987fe3c1bf1c87f0c0b714af2ce47092b8d307b9f6ecbc65f98968/Brotli-1.1.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ae15b066e5ad21366600ebec29a7ccbc86812ed267e4b28e860b8ca16a2bc474", size = 2910658 }, + { url = "https://files.pythonhosted.org/packages/2c/1f/be9443995821c933aad7159803f84ef4923c6f5b72c2affd001192b310fc/Brotli-1.1.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:949f3b7c29912693cee0afcf09acd6ebc04c57af949d9bf77d6101ebb61e388c", size = 2809728 }, + { url = "https://files.pythonhosted.org/packages/76/2f/213bab6efa902658c80a1247142d42b138a27ccdd6bade49ca9cd74e714a/Brotli-1.1.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:89f4988c7203739d48c6f806f1e87a1d96e0806d44f0fba61dba81392c9e474d", size = 2935043 }, + { url = "https://files.pythonhosted.org/packages/27/89/bbb14fa98e895d1e601491fba54a5feec167d262f0d3d537a3b0d4cd0029/Brotli-1.1.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:de6551e370ef19f8de1807d0a9aa2cdfdce2e85ce88b122fe9f6b2b076837e59", size = 2930639 }, + { url = "https://files.pythonhosted.org/packages/14/87/03a6d6e1866eddf9f58cc57e35befbeb5514da87a416befe820150cae63f/Brotli-1.1.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:0737ddb3068957cf1b054899b0883830bb1fec522ec76b1098f9b6e0f02d9419", size = 2932834 }, + { url = "https://files.pythonhosted.org/packages/a4/d5/e5f85e04f75144d1a89421ba432def6bdffc8f28b04f5b7d540bbd03362c/Brotli-1.1.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:4f3607b129417e111e30637af1b56f24f7a49e64763253bbc275c75fa887d4b2", size = 2845213 }, + { url = "https://files.pythonhosted.org/packages/99/bf/25ef07add7afbb1aacd4460726a1a40370dfd60c0810b6f242a6d3871d7e/Brotli-1.1.0-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:6c6e0c425f22c1c719c42670d561ad682f7bfeeef918edea971a79ac5252437f", size = 3031573 }, + { url = "https://files.pythonhosted.org/packages/55/22/948a97bda5c9dc9968d56b9ed722d9727778db43739cf12ef26ff69be94d/Brotli-1.1.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:494994f807ba0b92092a163a0a283961369a65f6cbe01e8891132b7a320e61eb", size = 2926885 }, + { url = "https://files.pythonhosted.org/packages/31/ba/e53d107399b535ef89deb6977dd8eae468e2dde7b1b74c6cbe2c0e31fda2/Brotli-1.1.0-cp39-cp39-win32.whl", hash = "sha256:f0d8a7a6b5983c2496e364b969f0e526647a06b075d034f3297dc66f3b360c64", size = 333171 }, + { url = "https://files.pythonhosted.org/packages/99/b3/f7b3af539f74b82e1c64d28685a5200c631cc14ae751d37d6ed819655627/Brotli-1.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:cdad5b9014d83ca68c25d2e9444e28e967ef16e80f6b436918c700c117a85467", size = 357258 }, +] + +[[package]] +name = "brotlicffi" +version = "1.1.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/95/9d/70caa61192f570fcf0352766331b735afa931b4c6bc9a348a0925cc13288/brotlicffi-1.1.0.0.tar.gz", hash = "sha256:b77827a689905143f87915310b93b273ab17888fd43ef350d4832c4a71083c13", size = 465192 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/11/7b96009d3dcc2c931e828ce1e157f03824a69fb728d06bfd7b2fc6f93718/brotlicffi-1.1.0.0-cp37-abi3-macosx_10_9_x86_64.whl", hash = "sha256:9b7ae6bd1a3f0df532b6d67ff674099a96d22bc0948955cb338488c31bfb8851", size = 453786 }, + { url = "https://files.pythonhosted.org/packages/d6/e6/a8f46f4a4ee7856fbd6ac0c6fb0dc65ed181ba46cd77875b8d9bbe494d9e/brotlicffi-1.1.0.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:19ffc919fa4fc6ace69286e0a23b3789b4219058313cf9b45625016bf7ff996b", size = 2911165 }, + { url = "https://files.pythonhosted.org/packages/be/20/201559dff14e83ba345a5ec03335607e47467b6633c210607e693aefac40/brotlicffi-1.1.0.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9feb210d932ffe7798ee62e6145d3a757eb6233aa9a4e7db78dd3690d7755814", size = 2927895 }, + { url = "https://files.pythonhosted.org/packages/cd/15/695b1409264143be3c933f708a3f81d53c4a1e1ebbc06f46331decbf6563/brotlicffi-1.1.0.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:84763dbdef5dd5c24b75597a77e1b30c66604725707565188ba54bab4f114820", size = 2851834 }, + { url = "https://files.pythonhosted.org/packages/b4/40/b961a702463b6005baf952794c2e9e0099bde657d0d7e007f923883b907f/brotlicffi-1.1.0.0-cp37-abi3-win32.whl", hash = "sha256:1b12b50e07c3911e1efa3a8971543e7648100713d4e0971b13631cce22c587eb", size = 341731 }, + { url = "https://files.pythonhosted.org/packages/1c/fa/5408a03c041114ceab628ce21766a4ea882aa6f6f0a800e04ee3a30ec6b9/brotlicffi-1.1.0.0-cp37-abi3-win_amd64.whl", hash = "sha256:994a4f0681bb6c6c3b0925530a1926b7a189d878e6e5e38fae8efa47c5d9c613", size = 366783 }, + { url = "https://files.pythonhosted.org/packages/e5/3b/bd4f3d2bcf2306ae66b0346f5b42af1962480b200096ffc7abc3bd130eca/brotlicffi-1.1.0.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:2e4aeb0bd2540cb91b069dbdd54d458da8c4334ceaf2d25df2f4af576d6766ca", size = 397397 }, + { url = "https://files.pythonhosted.org/packages/54/10/1fd57864449360852c535c2381ee7120ba8f390aa3869df967c44ca7eba1/brotlicffi-1.1.0.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4b7b0033b0d37bb33009fb2fef73310e432e76f688af76c156b3594389d81391", size = 379698 }, + { url = "https://files.pythonhosted.org/packages/e5/95/15aa422aa6450e6556e54a5fd1650ff59f470aed77ac739aa90ab63dc611/brotlicffi-1.1.0.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:54a07bb2374a1eba8ebb52b6fafffa2afd3c4df85ddd38fcc0511f2bb387c2a8", size = 378635 }, + { url = "https://files.pythonhosted.org/packages/6c/a7/f254e13b2cb43337d6d99a4ec10394c134e41bfda8a2eff15b75627f4a3d/brotlicffi-1.1.0.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7901a7dc4b88f1c1475de59ae9be59799db1007b7d059817948d8e4f12e24e35", size = 385719 }, + { url = "https://files.pythonhosted.org/packages/72/a9/0971251c4427c14b2a827dba3d910d4d3330dabf23d4278bf6d06a978847/brotlicffi-1.1.0.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:ce01c7316aebc7fce59da734286148b1d1b9455f89cf2c8a4dfce7d41db55c2d", size = 361760 }, + { url = "https://files.pythonhosted.org/packages/35/9b/e0b577351e1d9d5890e1a56900c4ceaaef783b807145cd229446a43cf437/brotlicffi-1.1.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:1a807d760763e398bbf2c6394ae9da5815901aa93ee0a37bca5efe78d4ee3171", size = 397392 }, + { url = "https://files.pythonhosted.org/packages/4f/7f/a16534d28386f74781db8b4544a764cf955abae336379a76f50e745bb0ee/brotlicffi-1.1.0.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fa8ca0623b26c94fccc3a1fdd895be1743b838f3917300506d04aa3346fd2a14", size = 379695 }, + { url = "https://files.pythonhosted.org/packages/50/2a/699388b5e489726991132441b55aff0691dd73c49105ef220408a5ab98d6/brotlicffi-1.1.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3de0cf28a53a3238b252aca9fed1593e9d36c1d116748013339f0949bfc84112", size = 378629 }, + { url = "https://files.pythonhosted.org/packages/4a/3f/58254e7fbe6011bf043e4dcade0e16995a9f82b731734fad97220d201f42/brotlicffi-1.1.0.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6be5ec0e88a4925c91f3dea2bb0013b3a2accda6f77238f76a34a1ea532a1cb0", size = 385712 }, + { url = "https://files.pythonhosted.org/packages/40/16/2a29a625a6f74d13726387f83484dfaaf6fcdaafaadfbe26a0412ae268cc/brotlicffi-1.1.0.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:d9eb71bb1085d996244439154387266fd23d6ad37161f6f52f1cd41dd95a3808", size = 361747 }, +] + [[package]] name = "cachetools" version = "5.5.0" @@ -687,6 +800,54 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a0/d9/a1e041c5e7caa9a05c925f4bdbdfb7f006d1f74996af53467bc394c97be7/importlib_metadata-8.5.0-py3-none-any.whl", hash = "sha256:45e54197d28b7a7f1559e60b95e7c567032b602131fbd588f1497f47880aa68b", size = 26514 }, ] +[[package]] +name = "inflate64" +version = "1.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/8c/99/18f9940d4a3f2cabc4396a587ddf1bd93236bdb372d9e78e2b0365e40990/inflate64-1.0.0.tar.gz", hash = "sha256:3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d", size = 895853 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/71/cf/06af80e81dd4bbb7e883291cf1726035d526f066a37c4ed4d4cd88a7a49d/inflate64-1.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a90c0bdf4a7ecddd8a64cc977181810036e35807f56b0bcacee9abb0fcfd18dc", size = 59418 }, + { url = "https://files.pythonhosted.org/packages/c9/4b/6f18918220b1a8e935121cece1dc917e62fa593fc637a621470f9b9a601a/inflate64-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:57fe7c14aebf1c5a74fc3b70d355be1280a011521a76aa3895486e62454f4242", size = 36231 }, + { url = "https://files.pythonhosted.org/packages/aa/f4/f4b5dbd78dd5af66b6ca32778ebaa9c14d67b68ea84e96592ccf40786a41/inflate64-1.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d90730165f471d61a1a694a5e354f3ffa938227e8dcecb62d5d728e8069cee94", size = 35738 }, + { url = "https://files.pythonhosted.org/packages/10/23/26289a700550767cf5eb7550f78ad826529706287393f224bbaee3c1b1e2/inflate64-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:543f400201f5c101141af3c79c82059e1aa6ef4f1584a7f1fa035fb2e465097f", size = 92855 }, + { url = "https://files.pythonhosted.org/packages/b8/f4/e387a50f5027194eac4f9712d57b97e3e1a012402eaae98bcf1ebe8a97d1/inflate64-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6ceca14f7ec19fb44b047f56c50efb7521b389d222bba2b0a10286a0caeb03fa", size = 93141 }, + { url = "https://files.pythonhosted.org/packages/33/c8/e516aecd9ed0dc75d8df041ed4ef80f2e2be39d0e516c7269b7f274e760a/inflate64-1.0.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:b559937a42f0c175b4d2dfc7eb53b97bdc87efa9add15ed5549c6abc1e89d02f", size = 95262 }, + { url = "https://files.pythonhosted.org/packages/0b/aa/ed3ab5f8c13afc432fb382edf97cede7a6f9be73ecf98bfe64b686c8d223/inflate64-1.0.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5ff8bd2a562343fcbc4eea26fdc368904a3b5f6bb8262344274d3d74a1de15bb", size = 95912 }, + { url = "https://files.pythonhosted.org/packages/e0/64/5637c4f67ed15518c0765b85b528ed79536caaf8ba167a9f7173e334d4a8/inflate64-1.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:0fe481f31695d35a433c3044ac8fd5d9f5069aaad03a0c04b570eb258ce655aa", size = 35166 }, + { url = "https://files.pythonhosted.org/packages/af/92/701b3c76b1cf244026c3e78dff8487955cf6960c1d9f350e2820a0d1a5d9/inflate64-1.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:35a45f6979ad5874d4d4898c2fc770b136e61b96b850118fdaec5a5af1b9123a", size = 59450 }, + { url = "https://files.pythonhosted.org/packages/bb/1d/af0253fafc27cadd29e3b111ebb3011b8c913a3554b403c90c7595f5933e/inflate64-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:022ca1cc928e7365a05f7371ff06af143c6c667144965e2cf9a9236a2ae1c291", size = 36267 }, + { url = "https://files.pythonhosted.org/packages/b6/22/7949030be11f4754bd6ed7067e9bebdf614013b89ccd4638330a85821b51/inflate64-1.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:46792ecf3565d64fd2c519b0a780c03a57e195613c9954ef94e739a057b3fd06", size = 35740 }, + { url = "https://files.pythonhosted.org/packages/e4/87/c6ce0093a345c04811f6171a367665dec17dcc4617ca150dd37e9ae7bd33/inflate64-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3a70ea2e456c15f7aa7c74b8ab8f20b4f8940ec657604c9f0a9de3342f280fff", size = 95896 }, + { url = "https://files.pythonhosted.org/packages/62/d6/fe113b12773cad2c093d381c2b1629f9cfa240c9ad86a7f9f9079e7a51b5/inflate64-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3e243ea9bd36a035059f2365bd6d156ff59717fbafb0255cb0c75bf151bf6904", size = 96007 }, + { url = "https://files.pythonhosted.org/packages/f0/a6/9165bee4b7fc5af949fec12a2cea7ad73bf9ee97dfb96a0276274c48e709/inflate64-1.0.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:4dc392dec1cd11cacda3d2637214ca45e38202e8a4f31d4a4e566d6e90625fc4", size = 98297 }, + { url = "https://files.pythonhosted.org/packages/ee/72/0aeb360101eeed32696fc6c623bc1780fac895a9fc2e93b582cb1e22ca54/inflate64-1.0.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8b402a50eda7ee75f342fc346d33a41bca58edc222a4b17f9be0db1daed459fa", size = 98858 }, + { url = "https://files.pythonhosted.org/packages/94/4a/8301ad59b57d9de504b0fdce22bf980dfb231753e6d7aed12af938f7f9fd/inflate64-1.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:f5924499dc8800928c0ee4580fa8eb4ffa880b2cce4431537d0390e503a9c9ee", size = 35167 }, + { url = "https://files.pythonhosted.org/packages/18/82/47021b8919c1dc276d0502296f15ffac1cd648b94b35cadb14cb812b6199/inflate64-1.0.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0c644bf7208e20825ca3bbb5fb1f7f495cfcb49eb01a5f67338796d44a42f2bf", size = 59509 }, + { url = "https://files.pythonhosted.org/packages/e0/c9/00701be8e48dc9c9b9488001d9c66d6cb6f6bb0c48af9abf33a69726d130/inflate64-1.0.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:9964a4eaf26a9d36f82a1d9b12c28e35800dd3d99eb340453ed12ac90c2976a8", size = 36305 }, + { url = "https://files.pythonhosted.org/packages/25/c0/11dea5e298b2e7d61f0fbd1005553e8796e35536751980b676547fcc57ef/inflate64-1.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2cccded63865640d03253897be7232b2bbac295fe43914c61f86a57aa23bb61d", size = 35756 }, + { url = "https://files.pythonhosted.org/packages/86/ba/4debdaaafdc21853621caf463a498a754ee4352893454c596dbd65294e9f/inflate64-1.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d491f104fb3701926ebd82b8c9250dfba0ddcab584504e26f1e4adb26730378d", size = 96127 }, + { url = "https://files.pythonhosted.org/packages/89/81/8f559c199ec13d0b70d0dc46811490b2976873c96c564941583777e9b343/inflate64-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5ebad4a6cd2a2c1d81be0b09d4006479f3b258803c49a9224ef8ca0b649072fa", size = 96903 }, + { url = "https://files.pythonhosted.org/packages/46/41/39ac4c7e17d0690578b716a0ff34e00600616994795b0645fd61fc600c0f/inflate64-1.0.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:6823b2c0cff3a8159140f3b17ec64fb8ec0e663b45a6593618ecdde8aeecb5b2", size = 98855 }, + { url = "https://files.pythonhosted.org/packages/44/dd/be5d69492c180f94a6af8a15564ce365bdcb84bd1a6fb32949d6913959aa/inflate64-1.0.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:228d504239d27958e71fc77e3119a6ac4528127df38468a0c95a5bd3927204b8", size = 99884 }, + { url = "https://files.pythonhosted.org/packages/8c/0d/a5266bd4f2cdb7fad1eae3ffe4dcc16f9769323660a0a6cfbe9cc1d2cf03/inflate64-1.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:ae2572e06bcfe15e3bbf77d4e4a6d6c55e2a70d6abceaaf60c5c3653ddb96dfd", size = 35334 }, + { url = "https://files.pythonhosted.org/packages/04/1c/47f9c93df339c381f3f3e7b983d7abf0756f8bd227bf9fb5a2e8b09ea9e5/inflate64-1.0.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:bf2981b95c1f26242bb084d9a07f3feb0cfe3d6d0a8d90f42389803bc1252c4a", size = 59410 }, + { url = "https://files.pythonhosted.org/packages/b9/28/bde1595cae0379c521ae74f698f7da1345d990d2df7558df59470ced639b/inflate64-1.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9373ccf0661cc72ac84a0ad622634144da5ce7d57c9572ed0723d67a149feed2", size = 36230 }, + { url = "https://files.pythonhosted.org/packages/13/64/4350547de7c8a3ac27c1a0ab5807ac2fcbcde121c44190f87da1039421eb/inflate64-1.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e4650c6f65011ec57cf5cd96b92d5b7c6f59e502930c86eb8227c93cf02dc270", size = 35739 }, + { url = "https://files.pythonhosted.org/packages/1a/d6/b55e43c3503d7780aabe3d1d5493c983a99947dff228d9b622d49c58af68/inflate64-1.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a475e8822f1a74c873e60b8f270773757ade024097ca39e43402d47c049c67d4", size = 92655 }, + { url = "https://files.pythonhosted.org/packages/c0/c0/417e5183543445818930b3fe181d718e519d26a227b5b77871d8f0c8502d/inflate64-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d4367480733ac8daf368f6fc704b7c9db85521ee745eb5bd443f4b97d2051acc", size = 92966 }, + { url = "https://files.pythonhosted.org/packages/6d/8e/ada659c83abb78222c666bb8d35b4791cca25a8a4a750f4bc457402d2430/inflate64-1.0.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:6c5775c91f94f5eced9160fb0af12a09f3e030194f91a6a46e706a79350bd056", size = 95075 }, + { url = "https://files.pythonhosted.org/packages/7f/15/59c0e45e091599a05a098374166ff74d3da5f9c0ffa72e8c78b7f0fcaa2b/inflate64-1.0.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:d76d205b844d78ce04768060084ef20e64dcc63a3e9166674f857acaf4d140ed", size = 95751 }, + { url = "https://files.pythonhosted.org/packages/80/21/a90d085b9ea67729d5cef57566c69fd4dec8205c22415cde4be62b7adc64/inflate64-1.0.0-cp39-cp39-win_amd64.whl", hash = "sha256:92f0dc6af0e8e97324981178dc442956cbff1247a56d1e201af8d865244653f8", size = 35164 }, + { url = "https://files.pythonhosted.org/packages/53/91/43238dd8a7e5bab71abae872c09931db4b31aebf672afccb305f79aacb3e/inflate64-1.0.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:f79542478e49e471e8b23556700e6f688a40dc93e9a746f77a546c13251b59b1", size = 34648 }, + { url = "https://files.pythonhosted.org/packages/ef/6f/ce090934a80c1fd0b5b07c125ed6eb2845f11a78af344d69c0f051dcab97/inflate64-1.0.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9a270be6b10cde01258c0097a663a307c62d12c78eb8f62f8e29f205335942c9", size = 36473 }, + { url = "https://files.pythonhosted.org/packages/b4/fe/2cd4bf78696213b807860002c182dd1751ba52c1559143b1b8daa7904733/inflate64-1.0.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1616a87ff04f583e9558cc247ec0b72a30d540ee0c17cc77823be175c0ec92f0", size = 36478 }, + { url = "https://files.pythonhosted.org/packages/43/dd/e62444c0ef7d1228b622e6d3dacf9ea237d8807a78619a83832a3b4a5adf/inflate64-1.0.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:137ca6b315f0157a786c3a755a09395ca69aed8bcf42ad3437cb349f5ebc86d2", size = 35630 }, + { url = "https://files.pythonhosted.org/packages/2b/1e/0e346cb5eced6f2f30bb110e6d7c7ee7ab70ad1ff44b743d4cf314f60f7d/inflate64-1.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:dd6d3e7d47df43210a995fd1f5989602b64de3f2a17cf4cbff553518b3577fd4", size = 34644 }, + { url = "https://files.pythonhosted.org/packages/d4/f7/7ac502391ea56af23661a707e9c94efc01376a27c1b06f7a0cfb553c0f17/inflate64-1.0.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f033b2879696b855200cde5ca4e293132c7499df790acb2c0dacb336d5e83b1", size = 36467 }, + { url = "https://files.pythonhosted.org/packages/09/ea/7c3e7c856f42bee178a9fea816e259b02bd4198873cf07b5a839b96d9696/inflate64-1.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5f816d1c8a0593375c289e285c96deaee9c2d8742cb0edbd26ee05588a9ae657", size = 36475 }, + { url = "https://files.pythonhosted.org/packages/ae/b1/954207a9bd259a57c8c71ba0a26739a32f0d6227529abc9412751f3a87d2/inflate64-1.0.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:1facd35319b6a391ee4c3d709c7c650bcada8cd7141d86cd8c2257287f45e6e6", size = 35626 }, +] + [[package]] name = "iniconfig" version = "2.0.0" @@ -1225,6 +1386,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/f0/74/c95adcdf032956d9ef6c89a9b8a5152bf73915f8c633f3e3d88d06bd699c/mistune-3.0.2-py3-none-any.whl", hash = "sha256:71481854c30fdbc938963d3605b72501f5c10a9320ecd412c121c163a1c7d205", size = 47958 }, ] +[[package]] +name = "multivolumefile" +version = "0.2.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/50/f0/a7786212b5a4cb9ba05ae84a2bbd11d1d0279523aea0424b6d981d652a14/multivolumefile-0.2.3.tar.gz", hash = "sha256:a0648d0aafbc96e59198d5c17e9acad7eb531abea51035d08ce8060dcad709d6", size = 77984 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/22/31/ec5f46fd4c83185b806aa9c736e228cb780f13990a9cf4da0beb70025fcc/multivolumefile-0.2.3-py3-none-any.whl", hash = "sha256:237f4353b60af1703087cf7725755a1f6fcaeeea48421e1896940cd1c920d678", size = 17037 }, +] + [[package]] name = "mypy-extensions" version = "1.0.0" @@ -1428,6 +1598,7 @@ dependencies = [ { name = "gdown" }, { name = "gsheets" }, { name = "pandas" }, + { name = "py7zr" }, { name = "pyarrow" }, { name = "pydrive2" }, { name = "structlog" }, @@ -1442,6 +1613,7 @@ requires-dist = [ { name = "gdown", specifier = ">=4.5.2" }, { name = "gsheets", specifier = ">=0.6.1" }, { name = "pandas", specifier = ">=2.2.1" }, + { name = "py7zr", specifier = ">=0.22.0" }, { name = "pyarrow", specifier = ">=10.0.1" }, { name = "pydrive2", specifier = ">=1.15.0" }, { name = "structlog", specifier = ">=21.5.0" }, @@ -1460,7 +1632,7 @@ dev = [ { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=6.2.5" }, { name = "pytest-cov", specifier = ">=2.12.1" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, { name = "sphinx", specifier = "==4.5.0" }, { name = "watchdog", specifier = ">=2.1.5" }, ] @@ -1487,7 +1659,7 @@ dev = [ { name = "ipdb", specifier = ">=0.13.13" }, { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=7.2.0" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, ] [[package]] @@ -1686,6 +1858,27 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/8e/37/efad0257dc6e593a18957422533ff0f87ede7c9c6ea010a2177d738fb82f/pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0", size = 11842 }, ] +[[package]] +name = "py7zr" +version = "0.22.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "brotli", marker = "platform_python_implementation == 'CPython'" }, + { name = "brotlicffi", marker = "platform_python_implementation == 'PyPy'" }, + { name = "inflate64" }, + { name = "multivolumefile" }, + { name = "psutil", marker = "sys_platform != 'cygwin'" }, + { name = "pybcj" }, + { name = "pycryptodomex" }, + { name = "pyppmd" }, + { name = "pyzstd" }, + { name = "texttable" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/26/c3/0e05c711c16af0b9c47f3f77323303b338b9a871ba020d95d2b8dd6605ae/py7zr-0.22.0.tar.gz", hash = "sha256:c6c7aea5913535184003b73938490f9a4d8418598e533f9ca991d3b8e45a139e", size = 4992926 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d0/59/dd1750002c0f46099281116f8165247bc62dc85edad41cdd26e7b26de19d/py7zr-0.22.0-py3-none-any.whl", hash = "sha256:993b951b313500697d71113da2681386589b7b74f12e48ba13cc12beca79d078", size = 67906 }, +] + [[package]] name = "pyarrow" version = "17.0.0" @@ -1746,6 +1939,46 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/77/89/bc88a6711935ba795a679ea6ebee07e128050d6382eaa35a0a47c8032bdc/pyasn1_modules-0.4.1-py3-none-any.whl", hash = "sha256:49bfa96b45a292b711e986f222502c1c9a5e1f4e568fc30e2574a6c7d07838fd", size = 181537 }, ] +[[package]] +name = "pybcj" +version = "1.0.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/37/d2/22e808b9d25ce3b43f5c8a9e22d873d403485ba55d84a4d6d5d044881762/pybcj-1.0.2.tar.gz", hash = "sha256:c7f5bef7f47723c53420e377bc64d2553843bee8bcac5f0ad076ab1524780018", size = 2111002 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/98/93/4735636b5905b7597068a2c7a10a8df0f668f28659207c274d64a4468b97/pybcj-1.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7bff28d97e47047d69a4ac6bf59adda738cf1d00adde8819117fdb65d966bdbc", size = 32556 }, + { url = "https://files.pythonhosted.org/packages/a6/37/443cd704397b6df54ff0822032e4815aca4e9badabc5ce1faac34235a40c/pybcj-1.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:198e0b4768b4025eb3309273d7e81dc53834b9a50092be6e0d9b3983cfd35c35", size = 23751 }, + { url = "https://files.pythonhosted.org/packages/9a/aa/5a19ed8661e979a4d3237a11706f9a16a474a2227fdd99ccb284be100a98/pybcj-1.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fa26415b4a118ea790de9d38f244312f2510a9bb5c65e560184d241a6f391a2d", size = 23980 }, + { url = "https://files.pythonhosted.org/packages/fe/5f/638ce03948905d267c8c0ccab81b8b4943a0324f63d8bdb0a0e2a85d4503/pybcj-1.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fabb2be57e4ca28ea36c13146cdf97d73abd27c51741923fc6ba1e8cd33e255c", size = 50155 }, + { url = "https://files.pythonhosted.org/packages/09/70/8b6a6cc2a5721f67f629bdc17875c0d603d57f360a19b099a7b4de19383d/pybcj-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:75d6d613bae6f27678d5e44e89d61018779726aa6aa950c516d33a04b8af8c59", size = 49729 }, + { url = "https://files.pythonhosted.org/packages/89/06/2e41e34da0bb2adb3644cbf4366c344e5804a10f1153da7b3a23333f7db8/pybcj-1.0.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:3ffae79ef8a1ea81ea2748ad7b7ad9b882aa88ddf65ce90f9e944df639eccc61", size = 54310 }, + { url = "https://files.pythonhosted.org/packages/b5/0f/de9e76c305d4dcd9d428a90ccac030f06c780bc30549fc449a944a6321bc/pybcj-1.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bdb4d8ff5cba3e0bd1adee7d20dbb2b4d80cb31ac04d6ea1cd06cfc02d2ecd0d", size = 53679 }, + { url = "https://files.pythonhosted.org/packages/1a/41/a807ff6b77ec8e49c749ed1d0db5649fbb1150c6fb5fb391115f4f1d743a/pybcj-1.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:a29be917fbc99eca204b08407e0971e0205bfdad4b74ec915930675f352b669d", size = 24690 }, + { url = "https://files.pythonhosted.org/packages/27/0a/20bf70a7eb7c6b2668ff2af798254033c32a09d6c58ec9a87cd6aa843df5/pybcj-1.0.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a2562ebe5a0abec4da0229f8abb5e90ee97b178f19762eb925c1159be36828b3", size = 32581 }, + { url = "https://files.pythonhosted.org/packages/a9/b6/43977fe4296d2778c6dc67b596bb6a851eaea80f3dd4ff454e5fca8142c2/pybcj-1.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:af19bc61ded933001cd68f004ae2042bf1a78eb498a3c685ebd655fa1be90dbe", size = 23767 }, + { url = "https://files.pythonhosted.org/packages/89/c7/a61010f59406b8a45bb4865faa4b61d6b177dcfac04247fb56c7538d997d/pybcj-1.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f3f4a447800850aba7724a2274ea0a4800724520c1caf38f7d0dabf2f89a5e15", size = 23976 }, + { url = "https://files.pythonhosted.org/packages/10/7a/78848edbb6f12d9b86e375fc46135d9a204ededbf96682b05cb4b4fbd942/pybcj-1.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce1c8af7a4761d2b1b531864d84113948daa0c4245775c63bd9874cb955f4662", size = 51246 }, + { url = "https://files.pythonhosted.org/packages/9e/13/af86c86cdfb293e82dd0b6c4bbdf08645cd8993456ee3fb911c3eeed1b22/pybcj-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8007371f6f2b462f5aa05d5c2135d0a1bcf5b7bdd9bd15d86c730f588d10b7d3", size = 50754 }, + { url = "https://files.pythonhosted.org/packages/39/52/88600aa374b100612a1d82fca4b03eb4315e0084a05ee314ba1b771f7190/pybcj-1.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:1079ca63ff8da5c936b76863690e0bd2489e8d4e0a3a340e032095dae805dd91", size = 55334 }, + { url = "https://files.pythonhosted.org/packages/56/67/3cf9747ef5b53e16a844217c6c9840be6289d05ec785500da2cc55cc25f2/pybcj-1.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e9a785eb26884429d9b9f6326e68c3638828c83bf6d42d2463c97ad5385caff2", size = 54714 }, + { url = "https://files.pythonhosted.org/packages/78/81/a71197903b503f54b85f4d352f909e701e9d26953577bd34d3fbe0520d5d/pybcj-1.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:9ea46e2d45469d13b7f25b08efcdb140220bab1ac5a850db0954591715b8caaa", size = 24693 }, + { url = "https://files.pythonhosted.org/packages/83/60/a3b43836895654aa93b5a8422adc3717359db98da9147abfabffef79f1e7/pybcj-1.0.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:21b5f2460629167340403d359289a173e0729ce8e84e3ce99462009d5d5e01a4", size = 32677 }, + { url = "https://files.pythonhosted.org/packages/50/b9/96c8d9577b0f5a701e4497408e6a331a08eb902aca8dfd4c5bb1eaab4779/pybcj-1.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:2940fb85730b9869254559c491cd83cf777e56c76a8a60df60e4be4f2a4248d7", size = 23813 }, + { url = "https://files.pythonhosted.org/packages/b7/1a/c80132feb084ec4098c0315a132799bddda8878113b5f956e21c4377f5f1/pybcj-1.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f40f3243139d675f43793a4e35c410c370f7b91ccae74e70c8b2f4877869f90e", size = 24019 }, + { url = "https://files.pythonhosted.org/packages/b1/94/62c3bf8a60b4787b46e21f43277d9cb8b6037c8ee183450f035a19a2bc4b/pybcj-1.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9c2b3e60b65c7ac73e44335934e1e122da8d56db87840984601b3c5dc0ae4c19", size = 51927 }, + { url = "https://files.pythonhosted.org/packages/8b/9e/4ebd092251ef8d15408388be508617d5949cbba4baa2a6cfbb7e0a9b62c0/pybcj-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:746550dc7b5af4d04bb5fa4d065f18d39c925bcb5dee30db75747cd9a58bb6e8", size = 51665 }, + { url = "https://files.pythonhosted.org/packages/24/ea/da4637563468854bd361a69cd883946015f54fa119a5d9c655d26f151954/pybcj-1.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:8ce9b62b6aaa5b08773be8a919ecc4e865396c969f982b685eeca6e80c82abb7", size = 56041 }, + { url = "https://files.pythonhosted.org/packages/cf/b2/9b9e670818af925ed9a0168a5c021ccfcc089637d0e6651d16fd05896425/pybcj-1.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:493eab2b1f6f546730a6de0c5ceb75ce16f3767154e8ae30e2b70d41b928b7d2", size = 55606 }, + { url = "https://files.pythonhosted.org/packages/72/e9/d6b1bdf3a5aca8f3981145a5228ad51d72e2477a55927604a4768765e915/pybcj-1.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:ef55b96b7f2ed823e0b924de902065ec42ade856366c287dbb073fabd6b90ec1", size = 24719 }, + { url = "https://files.pythonhosted.org/packages/6e/18/ca43a186a570b3f6820a24f3ad726d0f0322f0b08f5550a92f99741a2e58/pybcj-1.0.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:fdb7cd8271471a5979d84915c1ee57eea7e0a69c893225fc418db66883b0e2a7", size = 32548 }, + { url = "https://files.pythonhosted.org/packages/f1/10/ee383b3450f7f13fbe234668fcf143b9a1e916e0cb84f5267ff3a5c6ad60/pybcj-1.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e96ae14062bdcddc3197300e6ee4efa6fbc6749be917db934eac66d0daaecb68", size = 23743 }, + { url = "https://files.pythonhosted.org/packages/1f/90/2d2851d694a7dc3640c6309af0e534cab145e7463bc408114db7eaa20115/pybcj-1.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a54ebdc8423ba99d75372708a882fcfc3b14d9d52cf195295ad53e5a47dab37f", size = 23971 }, + { url = "https://files.pythonhosted.org/packages/9a/29/8326dbfea26d643d5a95f836103ac278eb297143d881188d94b987e3a520/pybcj-1.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3602be737c6e9553c45ae89e6b0e556f64f34dabf27d5260317d1824d31b79d3", size = 49937 }, + { url = "https://files.pythonhosted.org/packages/ac/b2/26fa2cba6bc488380515929757cafbdbf01f30184a1aa11ef7ee35bb21a2/pybcj-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:63dd2ca52a48841f561bfec0fa3f208d375b0a8dcd3d7b236459e683ae29221d", size = 49517 }, + { url = "https://files.pythonhosted.org/packages/58/7b/d5e39a73202eb7b67793a4313ae5a85bdbf1470899dc2d3119c6a2414e9b/pybcj-1.0.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:8204a714029784b1a08a3d790430d80b423b68615c5b1e67aabca5bd5419b77d", size = 54141 }, + { url = "https://files.pythonhosted.org/packages/8e/f0/5abc858fe9d07338e485e86b2d82d1f1a0aa36c2af5271156c1140d04d15/pybcj-1.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:fde2376b180ae2620c102fbc3ef06638d306feae83964aaa5051ecbdda54845a", size = 53499 }, + { url = "https://files.pythonhosted.org/packages/9f/ac/4bad26429aab693235035f813dc60ff00ff5164acbbb98c4e26f190a21cd/pybcj-1.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:3b8d7810fb587adbffba025330cf212d9bbed8f29559656d05cb6609673f306a", size = 24686 }, +] + [[package]] name = "pycparser" version = "2.22" @@ -1755,6 +1988,34 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl", hash = "sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc", size = 117552 }, ] +[[package]] +name = "pycryptodomex" +version = "3.21.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/11/dc/e66551683ade663b5f07d7b3bc46434bf703491dbd22ee12d1f979ca828f/pycryptodomex-3.21.0.tar.gz", hash = "sha256:222d0bd05381dd25c32dd6065c071ebf084212ab79bab4599ba9e6a3e0009e6c", size = 4818543 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/22/5e/99f217d9881eead69607a2248dd7bbdf610837d7f5ad53f45a6cb71bbbfb/pycryptodomex-3.21.0-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:34325b84c8b380675fd2320d0649cdcbc9cf1e0d1526edbe8fce43ed858cdc7e", size = 2499490 }, + { url = "https://files.pythonhosted.org/packages/ce/8f/4d0e2a859a6470289d64e39b419f01d2494dfa2e4995342d50f6c2834237/pycryptodomex-3.21.0-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:103c133d6cd832ae7266feb0a65b69e3a5e4dbbd6f3a3ae3211a557fd653f516", size = 1638037 }, + { url = "https://files.pythonhosted.org/packages/0c/9e/6e748c1fa814c956d356f93cf7192b19487ca56fc9e2a0bcde2bbc057601/pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77ac2ea80bcb4b4e1c6a596734c775a1615d23e31794967416afc14852a639d3", size = 2172279 }, + { url = "https://files.pythonhosted.org/packages/46/3f/f5bef92b11750af9e3516d4e69736eeeff20a2818d34611508bef5a7b381/pycryptodomex-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9aa0cf13a1a1128b3e964dc667e5fe5c6235f7d7cfb0277213f0e2a783837cc2", size = 2258130 }, + { url = "https://files.pythonhosted.org/packages/de/4d/f0c65afd64ce435fd0547187ce6f99dfb37cdde16b05b57bca9f5c06966e/pycryptodomex-3.21.0-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:46eb1f0c8d309da63a2064c28de54e5e614ad17b7e2f88df0faef58ce192fc7b", size = 2297719 }, + { url = "https://files.pythonhosted.org/packages/1c/6a/2a1a101b0345ee70376ba93df8de6c8c01aac8341fda02970800873456a7/pycryptodomex-3.21.0-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:cc7e111e66c274b0df5f4efa679eb31e23c7545d702333dfd2df10ab02c2a2ce", size = 2164079 }, + { url = "https://files.pythonhosted.org/packages/3d/00/90a15f16c234815b660303c2d7266b41b401ea2605f3a90373e9d425e39f/pycryptodomex-3.21.0-cp36-abi3-musllinux_1_2_i686.whl", hash = "sha256:770d630a5c46605ec83393feaa73a9635a60e55b112e1fb0c3cea84c2897aa0a", size = 2333060 }, + { url = "https://files.pythonhosted.org/packages/61/74/49f5d20c514ccc631b940cc9dfec45dcce418dc84a98463a2e2ebec33904/pycryptodomex-3.21.0-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:52e23a0a6e61691134aa8c8beba89de420602541afaae70f66e16060fdcd677e", size = 2257982 }, + { url = "https://files.pythonhosted.org/packages/92/4b/d33ef74e2cc0025a259936661bb53432c5bbbadc561c5f2e023bcd73ce4c/pycryptodomex-3.21.0-cp36-abi3-win32.whl", hash = "sha256:a3d77919e6ff56d89aada1bd009b727b874d464cb0e2e3f00a49f7d2e709d76e", size = 1779052 }, + { url = "https://files.pythonhosted.org/packages/5b/be/7c991840af1184009fc86267160948350d1bf875f153c97bb471ad944e40/pycryptodomex-3.21.0-cp36-abi3-win_amd64.whl", hash = "sha256:b0e9765f93fe4890f39875e6c90c96cb341767833cfa767f41b490b506fa9ec0", size = 1816307 }, + { url = "https://files.pythonhosted.org/packages/af/ac/24125ad36778914a36f08d61ba5338cb9159382c638d9761ee19c8de822c/pycryptodomex-3.21.0-pp27-pypy_73-manylinux2010_x86_64.whl", hash = "sha256:feaecdce4e5c0045e7a287de0c4351284391fe170729aa9182f6bd967631b3a8", size = 1694999 }, + { url = "https://files.pythonhosted.org/packages/93/73/be7a54a5903508070e5508925ba94493a1f326cfeecfff750e3eb250ea28/pycryptodomex-3.21.0-pp27-pypy_73-win32.whl", hash = "sha256:365aa5a66d52fd1f9e0530ea97f392c48c409c2f01ff8b9a39c73ed6f527d36c", size = 1769437 }, + { url = "https://files.pythonhosted.org/packages/e5/9f/39a6187f3986841fa6a9f35c6fdca5030ef73ff708b45a993813a51d7d10/pycryptodomex-3.21.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:3efddfc50ac0ca143364042324046800c126a1d63816d532f2e19e6f2d8c0c31", size = 1619607 }, + { url = "https://files.pythonhosted.org/packages/f8/70/60bb08e9e9841b18d4669fb69d84b64ce900aacd7eb0ebebd4c7b9bdecd3/pycryptodomex-3.21.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0df2608682db8279a9ebbaf05a72f62a321433522ed0e499bc486a6889b96bf3", size = 1653571 }, + { url = "https://files.pythonhosted.org/packages/c9/6f/191b73509291c5ff0dddec9cc54797b1d73303c12b2e4017b24678e57099/pycryptodomex-3.21.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5823d03e904ea3e53aebd6799d6b8ec63b7675b5d2f4a4bd5e3adcb512d03b37", size = 1691548 }, + { url = "https://files.pythonhosted.org/packages/2d/c7/a0d3356f3074ac548afefa515ff46f3bea011deca607faf1c09b26dd5330/pycryptodomex-3.21.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:27e84eeff24250ffec32722334749ac2a57a5fd60332cd6a0680090e7c42877e", size = 1792099 }, + { url = "https://files.pythonhosted.org/packages/55/ee/9349856ee02826899fdc489016756865158217909a82dcc74cc4d55d33af/pycryptodomex-3.21.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:8ef436cdeea794015263853311f84c1ff0341b98fc7908e8a70595a68cefd971", size = 1619490 }, + { url = "https://files.pythonhosted.org/packages/07/93/e68fac121fcf761fd7a85a27f024c9238217e4d943c861a856ca354f412e/pycryptodomex-3.21.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a1058e6dfe827f4209c5cae466e67610bcd0d66f2f037465daa2a29d92d952b", size = 1653481 }, + { url = "https://files.pythonhosted.org/packages/b8/47/8a39243d09fd294c339c59834ba3c92715584f3ed0d92b6bacb26f803ce0/pycryptodomex-3.21.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9ba09a5b407cbb3bcb325221e346a140605714b5e880741dc9a1e9ecf1688d42", size = 1691442 }, + { url = "https://files.pythonhosted.org/packages/21/1c/f8860c558b44776573acd719c1e86fec14d42f29cf248eaba9c770151d14/pycryptodomex-3.21.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:8a9d8342cf22b74a746e3c6c9453cb0cfbb55943410e3a2619bd9164b48dc9d9", size = 1791966 }, +] + [[package]] name = "pydrive2" version = "1.20.0" @@ -1800,6 +2061,68 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/e5/0c/0e3c05b1c87bb6a1c76d281b0f35e78d2d80ac91b5f8f524cebf77f51049/pyparsing-3.1.4-py3-none-any.whl", hash = "sha256:a6a7ee4235a3f944aa1fa2249307708f893fe5717dc603503c6c7969c070fb7c", size = 104100 }, ] +[[package]] +name = "pyppmd" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/39/c8/9039c7503577de08a3f4c81e7619583efdc16030da6d1a25268d3dca49c8/pyppmd-1.1.0.tar.gz", hash = "sha256:1d38ce2e4b7eb84b53bc8a52380b94f66ba6c39328b8800b30c2b5bf31693973", size = 1348949 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6e/10/b19621035862e2ae12a1ba14c5b5c0a0befb27906bc00691642d7bdbdce6/pyppmd-1.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:c5cd428715413fe55abf79dc9fc54924ba7e518053e1fc0cbdf80d0d99cf1442", size = 75756 }, + { url = "https://files.pythonhosted.org/packages/85/4a/a7c172cd431c4e1ddf9be349dc4bcfea81c2a236d2fe51bbfdcd697af55a/pyppmd-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0e96cc43f44b7658be2ea764e7fa99c94cb89164dbb7cdf209178effc2168319", size = 47347 }, + { url = "https://files.pythonhosted.org/packages/0d/32/f7357e0412e977ede4d63ba8bf55d014e5ea5b311818b2b0a1fee6d91baa/pyppmd-1.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:dd20142869094bceef5ab0b160f4fff790ad1f612313a1e3393a51fc3ba5d57e", size = 46640 }, + { url = "https://files.pythonhosted.org/packages/b5/8e/1f416819f0aab17de47b15b72d0e9b05e2bf795c6e28d9f403ac01398b74/pyppmd-1.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a4f9b51e45c11e805e74ea6f6355e98a6423b5bbd92f45aceee24761bdc3d3b8", size = 135666 }, + { url = "https://files.pythonhosted.org/packages/73/ac/7d07d3ac6874f235554de392de08e6a369001db43cd6a619af4fbe02fb55/pyppmd-1.1.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:459f85e928fb968d0e34fb6191fd8c4e710012d7d884fa2b317b2e11faac7c59", size = 132892 }, + { url = "https://files.pythonhosted.org/packages/09/76/61db4268a439cfba8736b14130d928d199633fab2360a2c5043332a427d2/pyppmd-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f73cf2aaf60477eef17f5497d14b6099d8be9748390ad2b83d1c88214d050c05", size = 138901 }, + { url = "https://files.pythonhosted.org/packages/8b/9c/546729489ae07c0d7c2bfe37c69ae1cd3ce35a18ab000480ea4e8f12754f/pyppmd-1.1.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:2ea3ae0e92c0b5345cd3a4e145e01bbd79c2d95355481ea5d833b5c0cb202a2d", size = 139725 }, + { url = "https://files.pythonhosted.org/packages/f7/db/4e734e97541554a389e7adb2a2a5c86ad8ae35c4dafe817b12fdc317de1a/pyppmd-1.1.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:775172c740133c0162a01c1a5443d0e312246881cdd6834421b644d89a634b91", size = 131598 }, + { url = "https://files.pythonhosted.org/packages/b1/8f/530e47290e07d2fdedfd345fc72af08226ccdd4cc913c2b895a8396c17b6/pyppmd-1.1.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:14421030f1d46f69829698bdd960698a3b3df0925e3c470e82cfcdd4446b7bc1", size = 142767 }, + { url = "https://files.pythonhosted.org/packages/a5/f9/16e0adfef500b171a96ed3c95f4a4d999f99cc79de3e415146808b19c2fb/pyppmd-1.1.0-cp310-cp310-win32.whl", hash = "sha256:b691264f9962532aca3bba5be848b6370e596d0a2ca722c86df388be08d0568a", size = 41283 }, + { url = "https://files.pythonhosted.org/packages/37/8d/c4846ab632e13ead87189f31bcc51fc825c75078d162a4a9dc8aed0a5b97/pyppmd-1.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:216b0d969a3f06e35fbfef979706d987d105fcb1e37b0b1324f01ee143719c4a", size = 46078 }, + { url = "https://files.pythonhosted.org/packages/27/0e/9db5d7c6ca3159aa0f07c0f1d5c59079176e7c57740a61aca62a39661178/pyppmd-1.1.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:1f8c51044ee4df1b004b10bf6b3c92f95ea86cfe1111210d303dca44a56e4282", size = 75781 }, + { url = "https://files.pythonhosted.org/packages/f0/1b/4894b5c71feee76d3dfccf4383b59841f9bfd27aecf912b6542a2ab1e073/pyppmd-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ac25b3a13d1ac9b8f0bde46952e10848adc79d932f2b548a6491ef8825ae0045", size = 47370 }, + { url = "https://files.pythonhosted.org/packages/50/98/57b2c281e546f682279bd4a2577045d1f6d527c8fa2151a990b2a9bc48c2/pyppmd-1.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c8d3003eebe6aabe22ba744a38a146ed58a25633420d5da882b049342b7c8036", size = 46633 }, + { url = "https://files.pythonhosted.org/packages/06/72/b7e37aa69b7a105bcc119bc171437fbcb104aef2568b68ec8ed21a3fcdd1/pyppmd-1.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7c520656bc12100aa6388df27dd7ac738577f38bf43f4a4bea78e1861e579ea5", size = 138233 }, + { url = "https://files.pythonhosted.org/packages/60/73/4f53a3c7730e1cba3f210b35ed6779e0fe302739196f43452664e079c0b5/pyppmd-1.1.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c2a3e807028159a705951f5cb5d005f94caed11d0984e59cc50506de543e22d", size = 135486 }, + { url = "https://files.pythonhosted.org/packages/31/7c/956ebf1f07506bb59e6f13ef068d91f1bec828758d399b455b175b668f6c/pyppmd-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec8a2447e69444703e2b273247bfcd4b540ec601780eff07da16344c62d2993d", size = 141183 }, + { url = "https://files.pythonhosted.org/packages/73/b4/4863499e012c555f4619dbebc5b83d79818e0161d9b6fb8b1e709fb1d6c7/pyppmd-1.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b9e0c8053e69cad6a92a0889b3324f567afc75475b4f54727de553ac4fc85780", size = 141752 }, + { url = "https://files.pythonhosted.org/packages/b4/cc/44e175222b31f86d0192d1d0d2c46c4bf0e933c9a06a65ff39596ad05666/pyppmd-1.1.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:5938d256e8d2a2853dc3af8bb58ae6b4a775c46fc891dbe1826a0b3ceb624031", size = 133921 }, + { url = "https://files.pythonhosted.org/packages/f1/d9/2f2e222d43ab274909e8dcd16d25cd4cc0245a8d59f93f8d6397cd4dc49f/pyppmd-1.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:1ce5822d8bea920856232ccfb3c26b56b28b6846ea1b0eb3d5cb9592a026649e", size = 145191 }, + { url = "https://files.pythonhosted.org/packages/6d/e7/1214571442624e2314ed1ed5ba0081358335fc760fb455c3d8df83b118c6/pyppmd-1.1.0-cp311-cp311-win32.whl", hash = "sha256:2a9e894750f2a52b03e3bc0d7cf004d96c3475a59b1af7e797d808d7d29c9ffe", size = 41286 }, + { url = "https://files.pythonhosted.org/packages/8e/7f/d3cc8443bd2b56bc54ea205dcf73d70ef8d4342096ff33fc8719956f45e9/pyppmd-1.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:969555c72e72fe2b4dd944127521a8f2211caddb5df452bbc2506b5adfac539e", size = 46087 }, + { url = "https://files.pythonhosted.org/packages/bf/0b/4c8e3a92c4366a9aa2d801ab4bd7ba72bd1d214da890dd91ab4d73e52878/pyppmd-1.1.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:9d6ef8fd818884e914bc209f7961c9400a4da50d178bba25efcef89f09ec9169", size = 76116 }, + { url = "https://files.pythonhosted.org/packages/e1/0b/45fdf5a28c810ed4d3c0cb05ae5346e2972cdbfe89f374b263e07c5b820d/pyppmd-1.1.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:95f28e2ecf3a9656bd7e766aaa1162b6872b575627f18715f8b046e8617c124a", size = 47633 }, + { url = "https://files.pythonhosted.org/packages/56/a4/4aa1d36d98f3786c8b12ac96ac8234d7dc3c2a9e8f5174a5698f424099ec/pyppmd-1.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:37f3557ea65ee417abcdf5f49d35df00bb9f6f252639cae57aeefcd0dd596133", size = 46704 }, + { url = "https://files.pythonhosted.org/packages/d9/70/a49389a6666f670db5ecc7caa37030c9a9abfeea455c387172584551a271/pyppmd-1.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6e84b25d088d7727d50218f57f92127cdb839acd6ec3de670b6680a4cf0b2d2a", size = 139145 }, + { url = "https://files.pythonhosted.org/packages/30/4c/f08cdf618744a3cce0da106ecf6e427b24d27b0bb1484afc40b88ca23a39/pyppmd-1.1.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:99ed42891986dac8c2ecf52bddfb777900233d867aa18849dbba6f3335600466", size = 136618 }, + { url = "https://files.pythonhosted.org/packages/bb/e0/afc0fb971c893e9e72cc8d70df93c50b3f3ebb12b4bdb21f869b775faf7e/pyppmd-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c6fe69b82634488ada75ba07efb90cd5866fa3d64a2c12932b6e8ae207a14e5f", size = 142757 }, + { url = "https://files.pythonhosted.org/packages/26/b2/793e92c7a66de0b0b8d777c3c4df3ee5a5bec7fbaf0b69ab7374cefefa43/pyppmd-1.1.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:60981ffde1fe6ade750b690b35318c41a1160a8505597fda2c39a74409671217", size = 142749 }, + { url = "https://files.pythonhosted.org/packages/5e/6e/a1bf750bc7ed025a06600c65917d02e3c6dea7dfa728746c7251d4910d37/pyppmd-1.1.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:46e8240315476f57aac23d71e6de003e122b65feba7c68f4cc46a089a82a7cd4", size = 135033 }, + { url = "https://files.pythonhosted.org/packages/1e/ee/4a12a4b1990f1fabb77f9ef94d2cd6c795690eec79ad135b8236dc59dbd2/pyppmd-1.1.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:c0308e2e76ecb4c878a18c2d7a7c61dbca89b4ef138f65d5f5ead139154dcdea", size = 146510 }, + { url = "https://files.pythonhosted.org/packages/04/cd/a6571420345315f5340ac10897726303ae07260cb025dc4a60371d1e8b97/pyppmd-1.1.0-cp312-cp312-win32.whl", hash = "sha256:b4fa4c27dc1314d019d921f2aa19e17f99250557e7569eeb70e180558f46af74", size = 41332 }, + { url = "https://files.pythonhosted.org/packages/c0/a4/af77129d671d6adcc6c82e1b0f03f0ad0b70c44ac70ed4c72b5c8952553b/pyppmd-1.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:c269d21e15f4175df27cf00296476097af76941f948734c642d7fb6e85b9b3b9", size = 46193 }, + { url = "https://files.pythonhosted.org/packages/b4/10/144f811290a36d6cf5b5c8ae9b68533abe4bea160285be73435d55c361e1/pyppmd-1.1.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:2aeea1bf585c6b8771fa43a6abd704da92f8a46a6d0020953af15d7f3c82e48c", size = 75760 }, + { url = "https://files.pythonhosted.org/packages/dc/2b/242b6ba7938e77f14dadc0e5d638288b5588f0aff5e5d2c0428726606e5e/pyppmd-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7759bdb137694d4ab0cfa5ff2c75c212d90714c7da93544694f68001a0c38e12", size = 47339 }, + { url = "https://files.pythonhosted.org/packages/ec/80/91a13a5d0da916e7243f66839941976b2729bac1d3ca1737c20f1d59b216/pyppmd-1.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:db64a4fe956a2e700a737a1d019f526e6ccece217c163b28b354a43464cc495b", size = 46636 }, + { url = "https://files.pythonhosted.org/packages/aa/18/f6126af21186eee49f9aa090c36acc9d2bccef4c7d077d23b2f24dfb804c/pyppmd-1.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3f788ae8f5a9e79cd777b7969d3401b2a2b87f47abe306c2a03baca30595e9bd", size = 135484 }, + { url = "https://files.pythonhosted.org/packages/03/55/ebfeb5d1085f8a2bd03f498aa7e6ef9635380bf1f88badd1f3b944198ada/pyppmd-1.1.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:324a178935c140210fca2043c688b77e79281da8172d2379a06e094f41735851", size = 132741 }, + { url = "https://files.pythonhosted.org/packages/df/92/f0a7a6e372c4bd659b5528ff179676522aa72bd8c7a071e757a490ff988e/pyppmd-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:363030bbcb7902fb9eeb59ffc262581ca5dd7790ba950328242fd2491c54d99b", size = 138761 }, + { url = "https://files.pythonhosted.org/packages/43/32/0f32a70ef3fbe287dc53fd86408e9c2f60515ab356bd728bde9fcebcb598/pyppmd-1.1.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:31b882584f86440b0ff7906385c9f9d9853e5799197abaafdae2245f87d03f01", size = 139568 }, + { url = "https://files.pythonhosted.org/packages/fd/02/730882ea61653af4ef22b3621e9a03e85e61c90884fb47df4495706439f5/pyppmd-1.1.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:b991b4501492ec3380b605fe30bee0b61480d305e98519d81c2a658b2de01593", size = 131441 }, + { url = "https://files.pythonhosted.org/packages/9e/cd/624b6582766b8e60c4356ebcfe73504c81d1395f36d0d409ff081be56e3d/pyppmd-1.1.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:b6108044d943b826f97a9e79201242f61392d6c1fadba463b2069c4e6bc961e1", size = 142558 }, + { url = "https://files.pythonhosted.org/packages/65/46/1908b1ef3ba6f1450bc1a3e45a6b39cfe4b33456a312d1add0041ba1bbe4/pyppmd-1.1.0-cp39-cp39-win32.whl", hash = "sha256:c45ce2968b7762d2cacf622b0a8f260295c6444e0883fd21a21017e3eaef16ed", size = 41284 }, + { url = "https://files.pythonhosted.org/packages/63/29/081b03f989deb7ce2f70461dac12ecc422e9abef6b7b7a1933945c96b06f/pyppmd-1.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:f5289f32ab4ec5f96a95da51309abd1769f928b0bff62047b3bc25c878c16ccb", size = 46071 }, + { url = "https://files.pythonhosted.org/packages/6a/e2/1d5fbd6dde1234b635000072c8d1d87c7ed3acf01a3c4aa8082504d58bc5/pyppmd-1.1.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:ad5da9f7592158e6b6b51d7cd15e536d8b23afbb4d22cba4e5744c7e0a3548b1", size = 41505 }, + { url = "https://files.pythonhosted.org/packages/24/66/9215c5dda61b3aa3259902a586dacd198b4b0793ab99228734091b5e7fa7/pyppmd-1.1.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bc6543e7d12ef0a1466d291d655e3d6bca59c7336dbb53b62ccdd407822fb52b", size = 44814 }, + { url = "https://files.pythonhosted.org/packages/1a/87/cc2aa429688f238ae30f26b8334194a21e25643d3257c9e5b14cccdc578e/pyppmd-1.1.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a5e4008a45910e3c8c227f6f240de67eb14454c015dc3d8060fc41e230f395d3", size = 43629 }, + { url = "https://files.pythonhosted.org/packages/9f/96/cd3f64f6bdce091ffb6d2c1c23dc91e8b94e312a5d08cd648625555fb69e/pyppmd-1.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9301fa39d1fb0ed09a10b4c5d7f0074113e96a1ead16ba7310bedf95f7ef660c", size = 43911 }, + { url = "https://files.pythonhosted.org/packages/e6/ab/02ab90e2dddf2dd55e30e64fa0509627c6e0c86b26503a6df95ae55b1e45/pyppmd-1.1.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:59521a3c6028da0cb5780ba16880047b00163432a6b975da2f6123adfc1b0be8", size = 42427 }, + { url = "https://files.pythonhosted.org/packages/fa/0e/05db05c0da6a9bbb1f32de107b9f92e95ca9cb407c2082c7a0bee0a8868b/pyppmd-1.1.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:cce8cd2d4ceebe2dbf41db6dfebe4c2e621314b3af8a2df2cba5eb5fa277f122", size = 41500 }, + { url = "https://files.pythonhosted.org/packages/ba/89/48b01bcab274c59548897de336b807777b8e4abbd0465ed37c04152d13e2/pyppmd-1.1.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:62e57927dbcb91fb6290a41cd83743b91b9d85858efb16a0dd34fac208ee1c6b", size = 44810 }, + { url = "https://files.pythonhosted.org/packages/a9/e4/bf4aa2305eda1bdf530d8127e07dd324ae923e664db3aa7bf153f1d749ec/pyppmd-1.1.0-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:435317949a6f35e54cdf08e0af6916ace427351e7664ac1593980114668f0aaa", size = 43625 }, + { url = "https://files.pythonhosted.org/packages/fc/be/33478c13fad90049c35034d9f7de658353f82fc2cd91c57efd904b71ebb7/pyppmd-1.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f66b0d0e32b8fb8707f1d2552f13edfc2917e8ed0bdf4d62e2ce190d2c70834", size = 43909 }, + { url = "https://files.pythonhosted.org/packages/60/34/922d8ca6879f08d17f9771e6ef65e9491c2ebbd48934997a3ff01285e55e/pyppmd-1.1.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:650a663a591e06fb8096c213f4070b158981c8c3bf9c166ce7e4c360873f2750", size = 42422 }, +] + [[package]] name = "pyright" version = "1.1.373" @@ -2073,6 +2396,96 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/ca/63/27e6142b4f67a442ee480986ca5b88edb01462dd2319843057683a5148bd/pyzmq-26.2.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:4f78c88905461a9203eac9faac157a2a0dbba84a0fd09fd29315db27be40af9f", size = 550757 }, ] +[[package]] +name = "pyzstd" +version = "0.16.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/62/14/878fee4072cecb1cc6e061c7d0d933e481389c27de939538c9cc3f18894a/pyzstd-0.16.2.tar.gz", hash = "sha256:179c1a2ea1565abf09c5f2fd72f9ce7c54b2764cf7369e05c0bfd8f1f67f63d2", size = 789505 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3d/a9/efad061c5a982f859ba8bf5de565d73567f87ad8bba3364fe28e9a8672b6/pyzstd-0.16.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:637376c8f8cbd0afe1cab613f8c75fd502bd1016bf79d10760a2d5a00905fe62", size = 372191 }, + { url = "https://files.pythonhosted.org/packages/b6/36/eb6dcfacb273ca13dfa20d296f27ffd0a6c53677965f868625edf764b71e/pyzstd-0.16.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3e7a7118cbcfa90ca2ddbf9890c7cb582052a9a8cf2b7e2c1bbaf544bee0f16a", size = 295083 }, + { url = "https://files.pythonhosted.org/packages/fb/76/a7862487402123f221439808ed50915e00cfc8e1df7365af366610176347/pyzstd-0.16.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a74cb1ba05876179525144511eed3bd5a509b0ab2b10632c1215a85db0834dfd", size = 390166 }, + { url = "https://files.pythonhosted.org/packages/b8/52/1e1ab63026d67f18b9841285576d59bb799b838a5de4f852ad9e054674a1/pyzstd-0.16.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7c084dde218ffbf112e507e72cbf626b8f58ce9eb23eec129809e31037984662", size = 472043 }, + { url = "https://files.pythonhosted.org/packages/0d/24/14c8948b9d16d399ff80504bc404bb091b0eb5339f6fbdad0481da751c09/pyzstd-0.16.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d4646459ebd3d7a59ddbe9312f020bcf7cdd1f059a2ea07051258f7af87a0b31", size = 415258 }, + { url = "https://files.pythonhosted.org/packages/6b/3e/e4c7f449af9d19975ff5d333a58330317cf8b05fe4754106c694a29e7c25/pyzstd-0.16.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:14bfc2833cc16d7657fc93259edeeaa793286e5031b86ca5dc861ba49b435fce", size = 413680 }, + { url = "https://files.pythonhosted.org/packages/10/09/8918853028cf593c141456b9a42d68420beec3f16a8cc4f1aa5d0b8b0c84/pyzstd-0.16.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f27d488f19e5bf27d1e8aa1ae72c6c0a910f1e1ffbdf3c763d02ab781295dd27", size = 412630 }, + { url = "https://files.pythonhosted.org/packages/47/20/5a4c899530571e0e8ecdcb9dc7e3fc38491d4b342fbd7d8413805c88013b/pyzstd-0.16.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:91e134ca968ff7dcfa8b7d433318f01d309b74ee87e0d2bcadc117c08e1c80db", size = 404980 }, + { url = "https://files.pythonhosted.org/packages/0a/1d/aeeeebb702d3500a01b5b1029ba1716aea3afa75e8aacb904806b3f1afe5/pyzstd-0.16.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:6b5f64cd3963c58b8f886eb6139bb8d164b42a74f8a1bb95d49b4804f4592d61", size = 418000 }, + { url = "https://files.pythonhosted.org/packages/fc/0c/66ca36d24ad97af40a8fe8de9e3f316a5f4fd2fb3cab8634a2f7da5571c8/pyzstd-0.16.2-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:0b4a8266871b9e0407f9fd8e8d077c3558cf124d174e6357b523d14f76971009", size = 485576 }, + { url = "https://files.pythonhosted.org/packages/39/66/6c1de1347de94aa85f60e854cccae0948bda2eda2351e4d47c8bb0a7cf18/pyzstd-0.16.2-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:1bb19f7acac30727354c25125922aa59f44d82e0e6a751df17d0d93ff6a73853", size = 564542 }, + { url = "https://files.pythonhosted.org/packages/6d/46/75365a3ab279d58e69d410ce0a21527e689fa651837227e23dee294d096f/pyzstd-0.16.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:3008325b7368e794d66d4d98f2ee1d867ef5afd09fd388646ae02b25343c420d", size = 430619 }, + { url = "https://files.pythonhosted.org/packages/0d/62/17bf81d42acbd39bffdea559b6fbd7ec331cd74bc52f249e536fefe5480d/pyzstd-0.16.2-cp310-cp310-win32.whl", hash = "sha256:66f2d5c0bbf5bf32c577aa006197b3525b80b59804450e2c32fbcc2d16e850fd", size = 218224 }, + { url = "https://files.pythonhosted.org/packages/f7/b6/281245890df08a567186c6e262c43d68581291cca107c8d7304c37708e46/pyzstd-0.16.2-cp310-cp310-win_amd64.whl", hash = "sha256:5fe5f5459ebe1161095baa7a86d04ab625b35148f6c425df0347ed6c90a2fd58", size = 245012 }, + { url = "https://files.pythonhosted.org/packages/10/5a/19d7aec81853f6dc53eabad388227e3beecfaca4788af23b8807a0ea2112/pyzstd-0.16.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1c1bdbe7f01c7f37d5cd07be70e32a84010d7dfd6677920c0de04cf7d245b60d", size = 372192 }, + { url = "https://files.pythonhosted.org/packages/29/35/2eb025e6a0fff49b5de8bea20e82e4d7d5456e634bf3809123fbe5e5f194/pyzstd-0.16.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1882a3ceaaf9adc12212d587d150ec5e58cfa9a765463d803d739abbd3ac0f7a", size = 295084 }, + { url = "https://files.pythonhosted.org/packages/04/1f/03785d7ff1ce73b9347533f798cb27afa57768e66012f97b18b7b7303158/pyzstd-0.16.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ea46a8b9d60f6a6eba29facba54c0f0d70328586f7ef0da6f57edf7e43db0303", size = 390167 }, + { url = "https://files.pythonhosted.org/packages/b7/59/e307622115a2df30075efbd28933dc0ad8f2007c5ba5a3eb49c956de3d56/pyzstd-0.16.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d7865bc06589cdcecdede0deefe3da07809d5b7ad9044c224d7b2a0867256957", size = 472038 }, + { url = "https://files.pythonhosted.org/packages/97/21/870fda5454240089e9c37625320580d392b03beaeae4889c67c0a21c4d34/pyzstd-0.16.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:52f938a65b409c02eb825e8c77fc5ea54508b8fc44b5ce226db03011691ae8cc", size = 415217 }, + { url = "https://files.pythonhosted.org/packages/3c/35/b33faeeb9c96fddd08bf7871c9f5c4638c32ad79227155922fd4a63190c5/pyzstd-0.16.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e97620d3f53a0282947304189deef7ca7f7d0d6dfe15033469dc1c33e779d5e5", size = 413714 }, + { url = "https://files.pythonhosted.org/packages/aa/a3/b9058dd43eb52025a2ca78946dcb9ef9d8984acac172a698bcf12712217c/pyzstd-0.16.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c7c40e9983d017108670dc8df68ceef14c7c1cf2d19239213274783041d0e64c", size = 412568 }, + { url = "https://files.pythonhosted.org/packages/12/31/fe7d462c912f2040775bfa2af4327f9fcebb16e8fa9c3bfa058bc1306722/pyzstd-0.16.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7cd4b3b2c6161066e4bde6af1cf78ed3acf5d731884dd13fdf31f1db10830080", size = 404988 }, + { url = "https://files.pythonhosted.org/packages/48/4c/582aca0e5210436499bce1639a8d15da3f76f8d5827da1aa3eeb2c4e271c/pyzstd-0.16.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:454f31fd84175bb203c8c424f2255a343fa9bd103461a38d1bf50487c3b89508", size = 417961 }, + { url = "https://files.pythonhosted.org/packages/39/e9/54f53641ff10b4ea18d3ba159b03bd07e6ae5a5b7ae01f1329b0c35b8ca2/pyzstd-0.16.2-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:5ef754a93743f08fb0386ce3596780bfba829311b49c8f4107af1a4bcc16935d", size = 485587 }, + { url = "https://files.pythonhosted.org/packages/ce/65/25243b3fea9e52a20bfece1b12e3d3ee3125f17b1735aab08cb9a7a760b4/pyzstd-0.16.2-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:be81081db9166e10846934f0e3576a263cbe18d81eca06e6a5c23533f8ce0dc6", size = 564543 }, + { url = "https://files.pythonhosted.org/packages/3b/3c/324b8ddca55b4b073b413cea3e0587af3c8153ccf7d6d63ed294831f2095/pyzstd-0.16.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:738bcb2fa1e5f1868986f5030955e64de53157fa1141d01f3a4daf07a1aaf644", size = 430628 }, + { url = "https://files.pythonhosted.org/packages/db/a1/aca18925e23bceb833fc742ebaf87aa9d1ba8b178f0332bd108fc8966482/pyzstd-0.16.2-cp311-cp311-win32.whl", hash = "sha256:0ea214c9b97046867d1657d55979021028d583704b30c481a9c165191b08d707", size = 218215 }, + { url = "https://files.pythonhosted.org/packages/c0/7f/0f5d1d1891e6c6e14d846d2881a06ab7e5e97cabeb5e1e9e53debec4091a/pyzstd-0.16.2-cp311-cp311-win_amd64.whl", hash = "sha256:c17c0fc02f0e75b0c7cd21f8eaf4c6ce4112333b447d93da1773a5f705b2c178", size = 245055 }, + { url = "https://files.pythonhosted.org/packages/28/15/20046759d138733e7150afa6aa15f322022d7587968e2dbd5b36fbf8aa86/pyzstd-0.16.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d4081fd841a9efe9ded7290ee7502dbf042c4158b90edfadea3b8a072c8ec4e1", size = 373230 }, + { url = "https://files.pythonhosted.org/packages/51/8d/55b536edaecf19d2f8dbd8fbaefd184f2f9cc6b71d241caa6d86bed96813/pyzstd-0.16.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fd3fa45d2aeb65367dd702806b2e779d13f1a3fa2d13d5ec777cfd09de6822de", size = 295699 }, + { url = "https://files.pythonhosted.org/packages/11/14/086e7f690154c6f3d9bdb46da26a4cd3c9e0b284346ce10943711ca48c32/pyzstd-0.16.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8b5f0d2c07994a5180d8259d51df6227a57098774bb0618423d7eb4a7303467", size = 390556 }, + { url = "https://files.pythonhosted.org/packages/90/d2/c6d854705d6fa0ad876209b4ba796ab31d85b710d1459029f2cb41085a8d/pyzstd-0.16.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:60c9d25b15c7ae06ed5d516d096a0d8254f9bed4368b370a09cccf191eaab5cb", size = 472928 }, + { url = "https://files.pythonhosted.org/packages/aa/38/f97dd871e446adc834349caa605dbaf5bac86763a255f62c809cc2459c85/pyzstd-0.16.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:29acf31ce37254f6cad08deb24b9d9ba954f426fa08f8fae4ab4fdc51a03f4ae", size = 416057 }, + { url = "https://files.pythonhosted.org/packages/53/be/0c5ad7bf29dc890f6a3303760b9802aeeafa4e3ffb598de625f501986bfe/pyzstd-0.16.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ec77612a17697a9f7cf6634ffcee616eba9b997712fdd896e77fd19ab3a0618", size = 414613 }, + { url = "https://files.pythonhosted.org/packages/1f/1a/d3a1edcd59e2f62a35ac6257d2b86a2c872ae9a8e925380620a8db0d9a9a/pyzstd-0.16.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:313ea4974be93be12c9a640ab40f0fc50a023178aae004a8901507b74f190173", size = 413236 }, + { url = "https://files.pythonhosted.org/packages/f2/8d/912430c2310466c14a89a5a529b72eddef7e73fa733806dbe0b030cf3495/pyzstd-0.16.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e91acdefc8c2c6c3b8d5b1b5fe837dce4e591ecb7c0a2a50186f552e57d11203", size = 405536 }, + { url = "https://files.pythonhosted.org/packages/9e/83/4edb419a13b9d1e1debc01e88084eba93a5f7c10ef198da11f6782857c73/pyzstd-0.16.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:929bd91a403539e72b5b5cb97f725ac4acafe692ccf52f075e20cd9bf6e5493d", size = 419145 }, + { url = "https://files.pythonhosted.org/packages/8f/e9/62a169eddc37aefac480ee3b3318c221f6731e1e342dafd9e05b7fdaa7c5/pyzstd-0.16.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:740837a379aa32d110911ebcbbc524f9a9b145355737527543a884bd8777ca4f", size = 487157 }, + { url = "https://files.pythonhosted.org/packages/57/9d/5949f2a0144d1f99fab7914f854b582d2784c73139cc190e603e4d6b7b37/pyzstd-0.16.2-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:adfc0e80dd157e6d1e0b0112c8ecc4b58a7a23760bd9623d74122ef637cfbdb6", size = 565918 }, + { url = "https://files.pythonhosted.org/packages/de/ce/647b9c7602ac477c9e62cf9399810f72bb5dba8f508e7cdf8be1d260e6f9/pyzstd-0.16.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:79b183beae1c080ad3dca39019e49b7785391947f9aab68893ad85d27828c6e7", size = 431373 }, + { url = "https://files.pythonhosted.org/packages/8b/fb/4141e3d4549eea26e5a59ec723eade271980816cb2ed7613df855baa672f/pyzstd-0.16.2-cp312-cp312-win32.whl", hash = "sha256:b8d00631a3c466bc313847fab2a01f6b73b3165de0886fb03210e08567ae3a89", size = 218541 }, + { url = "https://files.pythonhosted.org/packages/51/b9/e1373b179129c2095d70bd1df02a51d388f4c7e4ecb62acb4e5e9570269b/pyzstd-0.16.2-cp312-cp312-win_amd64.whl", hash = "sha256:c0d43764e9a60607f35d8cb3e60df772a678935ab0e02e2804d4147377f4942c", size = 245320 }, + { url = "https://files.pythonhosted.org/packages/66/10/cc7c764c7673f1af1728abdcf58e58f88ef5d44ab4500677a2b7b4c01e7d/pyzstd-0.16.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:3ae9ae7ad730562810912d7ecaf1fff5eaf4c726f4b4dfe04784ed5f06d7b91f", size = 373223 }, + { url = "https://files.pythonhosted.org/packages/3f/a7/bcaf7d635ee929dd4d08ae1c35101892db56a11542471eecfbf46b9dd988/pyzstd-0.16.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2ce8d3c213f76a564420f3d0137066ac007ce9fb4e156b989835caef12b367a7", size = 295701 }, + { url = "https://files.pythonhosted.org/packages/93/49/a604113a2f3135b29371a894c0faad22d7ea3f7b58f38d77baad8a817483/pyzstd-0.16.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c2c14dac23c865e2d78cebd9087e148674b7154f633afd4709b4cd1520b99a61", size = 392395 }, + { url = "https://files.pythonhosted.org/packages/b0/38/886ecf3ebb13a4b6e3ee85f448f54eef37a5ae2b453bd9d5d9edc909e119/pyzstd-0.16.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4527969d66a943e36ef374eda847e918077de032d58b5df84d98ffd717b6fa77", size = 474523 }, + { url = "https://files.pythonhosted.org/packages/14/98/121da6ac072c00090c218b4888ef00ead15979f09a657d9a5ff770d6bb17/pyzstd-0.16.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd8256149b88e657e99f31e6d4b114c8ff2935951f1d8bb8e1fe501b224999c0", size = 417974 }, + { url = "https://files.pythonhosted.org/packages/b6/ba/56652a67c0bcfaceb2945e5f07d5aa21af86e07cf33d1ae47bb3529a56c3/pyzstd-0.16.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5bd1f1822d65c9054bf36d35307bf8ed4aa2d2d6827431761a813628ff671b1d", size = 414587 }, + { url = "https://files.pythonhosted.org/packages/cc/30/cab6f45101f0113ced609ef65482aedd276e0f022d9f25a327d4284142f5/pyzstd-0.16.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6f6733f4d373ec9ad2c1976cf06f973a3324c1f9abe236d114d6bb91165a397d", size = 415071 }, + { url = "https://files.pythonhosted.org/packages/6d/44/2187fc8a46662926943aeb16d639dd4f3d06267c7e8abb2c6f97700ab11c/pyzstd-0.16.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7bec165ab6524663f00b69bfefd13a46a69fed3015754abaf81b103ec73d92c6", size = 407835 }, + { url = "https://files.pythonhosted.org/packages/de/d5/6edca97d5453cba820d2ad5630e6ec1fcfad66f69af5ad7d6c688ea301be/pyzstd-0.16.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:e4460fa6949aac6528a1ad0de8871079600b12b3ef4db49316306786a3598321", size = 421755 }, + { url = "https://files.pythonhosted.org/packages/54/c1/1a0339e014ed97f4e6fd9166b0409ceda8f32e28e8ecda70fd7bb0915566/pyzstd-0.16.2-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:75df79ea0315c97d88337953a17daa44023dbf6389f8151903d371513f503e3c", size = 489174 }, + { url = "https://files.pythonhosted.org/packages/07/01/c65f2c9f0b902b33efcb0bdf3cbd07fc828fda6ff6333189eb71cf7acc60/pyzstd-0.16.2-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:93e1d45f4a196afb6f18682c79bdd5399277ead105b67f30b35c04c207966071", size = 573025 }, + { url = "https://files.pythonhosted.org/packages/a7/54/7ab9cc54171b7f8bb97cfd1c1aa7fcb706a4babeb629732529d8111bc4e6/pyzstd-0.16.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:075e18b871f38a503b5d23e40a661adfc750bd4bd0bb8b208c1e290f3ceb8fa2", size = 429582 }, + { url = "https://files.pythonhosted.org/packages/6c/a5/f9c950bb378dd1335bc4cc56444ec2ab40b1dab085c5798c5d16a9bf9d0b/pyzstd-0.16.2-cp313-cp313-win32.whl", hash = "sha256:9e4295eb299f8d87e3487852bca033d30332033272a801ca8130e934475e07a9", size = 218544 }, + { url = "https://files.pythonhosted.org/packages/9a/df/a15b9a8a59cd9908ae2b70bce2cb4ac3e2d7da11414ee0d0ceb46e4d0439/pyzstd-0.16.2-cp313-cp313-win_amd64.whl", hash = "sha256:18deedc70f858f4cf574e59f305d2a0678e54db2751a33dba9f481f91bc71c28", size = 245313 }, + { url = "https://files.pythonhosted.org/packages/e0/38/43002103a545bc953e532973596e905550e9626973c1b282e04e01038ac6/pyzstd-0.16.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a9892b707ef52f599098b1e9528df0e7849c5ec01d3e8035fb0e67de4b464839", size = 372192 }, + { url = "https://files.pythonhosted.org/packages/61/be/28dfeba9dbad8ed19d6aefa0d6623d1ee97e83c6c1e97910439428655f28/pyzstd-0.16.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4fbd647864341f3c174c4a6d7f20e6ea6b4be9d840fb900dc0faf0849561badc", size = 295080 }, + { url = "https://files.pythonhosted.org/packages/63/c2/c7e5244f2dde72df3fb2b7b952e8d01bac20cd78dc0d585d0a060ca565b0/pyzstd-0.16.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:20ac2c15656cc6194c4fed1cb0e8159f9394d4ea1d58be755448743d2ec6c9c4", size = 390165 }, + { url = "https://files.pythonhosted.org/packages/ff/30/52560cb88179fa3ff7536429c0d7b83aeecea86ecb2d180a4afc991502e5/pyzstd-0.16.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b239fb9a20c1be3374b9a2bd183ba624fd22ad7a3f67738c0d80cda68b4ae1d3", size = 472040 }, + { url = "https://files.pythonhosted.org/packages/69/a7/ab1e19626da5a8ff58493d6928d9d0da4931034e7a124949bf1a1705daaf/pyzstd-0.16.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cc52400412cdae2635e0978b8d6bcc0028cc638fdab2fd301f6d157675d26896", size = 415255 }, + { url = "https://files.pythonhosted.org/packages/28/0d/bf7c9388fe43c7051a2ced4645e58a493a35c62e68307b5aaf0fb129b008/pyzstd-0.16.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b766a6aeb8dbb6c46e622e7a1aebfa9ab03838528273796941005a5ce7257b1", size = 413679 }, + { url = "https://files.pythonhosted.org/packages/58/2a/1e0738740a8bd2b1f4a74be86297c5776936b66b3a5340d8e4ae84c5844f/pyzstd-0.16.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:abd4b8676052f9d59579242bf3cfe5fd02532b6a9a93ab7737c118ae3b8509dc", size = 412623 }, + { url = "https://files.pythonhosted.org/packages/23/d5/7cbfbebbb3ffccb0626fc2fab622fb5a10cf66c2c60481f51e46a92eb2c5/pyzstd-0.16.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:1c6c0a677aac7c0e3d2d2605d4d68ffa9893fdeeb2e071040eb7c8750969d463", size = 404981 }, + { url = "https://files.pythonhosted.org/packages/a7/b0/6ac198c753cc135357630e856f40f5998c2d28609713ae2830c679e8248c/pyzstd-0.16.2-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:15f9c2d612e7e2023d68d321d1b479846751f792af89141931d44e82ae391394", size = 417997 }, + { url = "https://files.pythonhosted.org/packages/c6/8f/0e5685efbf24ae62e135549e37947ca7919616b81108584112e25dd1a55a/pyzstd-0.16.2-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:11740bff847aad23beef4085a1bb767d101895881fe891f0a911aa27d43c372c", size = 485576 }, + { url = "https://files.pythonhosted.org/packages/30/d6/bf2f05752082967ac748d7c2d7c5a71097ac6fc1b902b5d34764cd0c12f7/pyzstd-0.16.2-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:b9067483ebe860e4130a03ee665b3d7be4ec1608b208e645d5e7eb3492379464", size = 564538 }, + { url = "https://files.pythonhosted.org/packages/d8/97/1081cc3cbf5eeb6cf4e385226e9989fdebb61f8e48baa210eb774145e667/pyzstd-0.16.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:988f0ba19b14c2fe0afefc444ac1edfb2f497b7d7c3212b2f587504cc2ec804e", size = 430615 }, + { url = "https://files.pythonhosted.org/packages/e0/a7/2a82fbb248b951434306dd77e969fb99305968904c9a7494574d696b1392/pyzstd-0.16.2-cp39-cp39-win32.whl", hash = "sha256:8855acb1c3e3829030b9e9e9973b19e2d70f33efb14ad5c474b4d086864c959c", size = 218215 }, + { url = "https://files.pythonhosted.org/packages/9d/bf/e529ff84b87c8f978ab35906921ac54841270562e65bcb5d0dd9d3240204/pyzstd-0.16.2-cp39-cp39-win_amd64.whl", hash = "sha256:018e88378df5e76f5e1d8cf4416576603b6bc4a103cbc66bb593eaac54c758de", size = 245047 }, + { url = "https://files.pythonhosted.org/packages/f9/ad/c09fb722c12a82b826c97efc50a919e229bfbaf644f5a140adcd71941473/pyzstd-0.16.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:4b631117b97a42ff6dfd0ffc885a92fff462d7c34766b28383c57b996f863338", size = 364187 }, + { url = "https://files.pythonhosted.org/packages/57/f9/93175fe72f85fb675fe04abca296fe583112a25d0ec7faa026288d9463c2/pyzstd-0.16.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:56493a3fbe1b651a02102dd0902b0aa2377a732ff3544fb6fb3f114ca18db52f", size = 279825 }, + { url = "https://files.pythonhosted.org/packages/8a/de/0b40acf76d7ed1f7975877535e004de85ec2e869632754b5d4d389258b8a/pyzstd-0.16.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f1eae9bdba4a1e5d3181331f403114ff5b8ce0f4b569f48eba2b9beb2deef1e4", size = 321313 }, + { url = "https://files.pythonhosted.org/packages/41/5e/00102bacd1a7c957c88098f3ae2cdac17842ac0f94d2e685ff5b75a05730/pyzstd-0.16.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e1be6972391c8aeecc7e61feb96ffc8e77a401bcba6ed994e7171330c45a1948", size = 344376 }, + { url = "https://files.pythonhosted.org/packages/a3/95/27a7da3dbd4460cd9432bdc22d9d5f8ec77c86275d069020fa74ea280f7f/pyzstd-0.16.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:761439d687e3a5687c2ff5c6a1190e1601362a4a3e8c6c82ff89719d51d73e19", size = 328591 }, + { url = "https://files.pythonhosted.org/packages/c2/03/8f4d5fd45f6bfad66d67cdf583492a9f52a21049f60e6b36a7e9f8aa7adc/pyzstd-0.16.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:f5fbdb8cf31b60b2dc586fecb9b73e2f172c21a0b320ed275f7b8d8a866d9003", size = 240786 }, + { url = "https://files.pythonhosted.org/packages/91/f6/bd63e2587e0ec40abd9f92278a442bc28b7ff109e418d1240ee2eb6536aa/pyzstd-0.16.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:183f26e34f9becf0f2db38be9c0bfb136753d228bcb47c06c69175901bea7776", size = 364180 }, + { url = "https://files.pythonhosted.org/packages/ac/13/d4c68ad926e79d734f57b26d49447908e8dab7f5c066d3a013b0d0cfa2be/pyzstd-0.16.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:88318b64b5205a67748148d6d244097fa6cf61fcea02ad3435511b9e7155ae16", size = 279816 }, + { url = "https://files.pythonhosted.org/packages/b2/ba/76f0b75ec9e9fc3914496e036f99f345d5e0a99cb7070341f9becdaba2b8/pyzstd-0.16.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:73142aa2571b6480136a1865ebda8257e09eabbc8bcd54b222202f6fa4febe1e", size = 321308 }, + { url = "https://files.pythonhosted.org/packages/a6/ea/9fe52bd777f33f007287f1a37bada7af5cf33d64904360c17bb64fefca21/pyzstd-0.16.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1d3f8877c29a97f1b1bba16f3d3ab01ad10ad3da7bad317aecf36aaf8848b37c", size = 344368 }, + { url = "https://files.pythonhosted.org/packages/cc/c0/509077f73fc8e156ceeefb41d4b7e04aceb71b2339084fcd62d0ad3bfd75/pyzstd-0.16.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d1f25754562473ac7de856b8331ebd5964f5d85601045627a5f0bb0e4e899990", size = 328585 }, + { url = "https://files.pythonhosted.org/packages/14/74/a854ada61bf4c3c2ad239ec2bd1ff73cc0d718ccbcc56e3ced94e878fd50/pyzstd-0.16.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:6ce17e84310080c55c02827ad9bb17893c00a845c8386a328b346f814aabd2c1", size = 240783 }, +] + [[package]] name = "referencing" version = "0.35.1" @@ -2263,26 +2676,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.1.6" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/25/4c/2f786388acd82c295eedc4afeede7ef4b29cf27277151d8d13be906bac70/ruff-0.1.6.tar.gz", hash = "sha256:1b09f29b16c6ead5ea6b097ef2764b42372aebe363722f1605ecbcd2b9207184", size = 1719627 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b6/75/5054ec93ec0d5db26e218cb2814ddaa085ba1f29fad0ec56dd8107a97688/ruff-0.1.6-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:88b8cdf6abf98130991cbc9f6438f35f6e8d41a02622cc5ee130a02a0ed28703", size = 11628468 }, - { url = "https://files.pythonhosted.org/packages/a2/91/8b2920f6026c069ae0802fc3c44f7337e04bf2a198ce94bfab360073477a/ruff-0.1.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:5c549ed437680b6105a1299d2cd30e4964211606eeb48a0ff7a93ef70b902248", size = 5990066 }, - { url = "https://files.pythonhosted.org/packages/df/1e/03ef0cc5c7d03e50d4f954218551d6001f1f70e6f391cdb678efb5c6e6ab/ruff-0.1.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1cf5f701062e294f2167e66d11b092bba7af6a057668ed618a9253e1e90cfd76", size = 5929313 }, - { url = "https://files.pythonhosted.org/packages/92/7c/38fd1b9cb624f5725a6a08c81bf7e823c64b28622ffcb4369c56dc0a16d0/ruff-0.1.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:05991ee20d4ac4bb78385360c684e4b417edd971030ab12a4fbd075ff535050e", size = 5627943 }, - { url = "https://files.pythonhosted.org/packages/c7/c3/98e3d0eb92e5a2ec10f76c71067640b6f21def23c3b1ff8f08ab6348255e/ruff-0.1.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:87455a0c1f739b3c069e2f4c43b66479a54dea0276dd5d4d67b091265f6fd1dc", size = 6074206 }, - { url = "https://files.pythonhosted.org/packages/e8/33/62fb966eb70d9bb45ddf5023d40e26946a5e5127d99956b84c8a9a76b153/ruff-0.1.6-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:683aa5bdda5a48cb8266fcde8eea2a6af4e5700a392c56ea5fb5f0d4bfdc0240", size = 6743205 }, - { url = "https://files.pythonhosted.org/packages/c7/f1/60d43182f98113156a1b21a17f30541dda9f5ffcfeedc2b54dc030a2c413/ruff-0.1.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:137852105586dcbf80c1717facb6781555c4e99f520c9c827bd414fac67ddfb6", size = 6600581 }, - { url = "https://files.pythonhosted.org/packages/09/92/36850598e84f75cfe8edd252dbf40442b4cc226ed2c76206a9b3cbfb9986/ruff-0.1.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd98138a98d48a1c36c394fd6b84cd943ac92a08278aa8ac8c0fdefcf7138f35", size = 7708098 }, - { url = "https://files.pythonhosted.org/packages/3b/2f/8ef67614631622aa3ea79b27e01ac86d7f90a988520454e3a84cb2fd890f/ruff-0.1.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a0cd909d25f227ac5c36d4e7e681577275fb74ba3b11d288aff7ec47e3ae745", size = 6295145 }, - { url = "https://files.pythonhosted.org/packages/3c/4b/af366db98d15efe83fd3e3aae7319d3897e3475fc53a2f1b0287c8255422/ruff-0.1.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e8fd1c62a47aa88a02707b5dd20c5ff20d035d634aa74826b42a1da77861b5ff", size = 5878111 }, - { url = "https://files.pythonhosted.org/packages/bf/af/25b794e750f1d74a83ce6b16625e3306beeb2161c517b9d883958de05526/ruff-0.1.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:fd89b45d374935829134a082617954120d7a1470a9f0ec0e7f3ead983edc48cc", size = 5629339 }, - { url = "https://files.pythonhosted.org/packages/81/b0/92c4cb6bceb19ebd27cedd1f45b337f7fd5397e6b760094831266be59661/ruff-0.1.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:491262006e92f825b145cd1e52948073c56560243b55fb3b4ecb142f6f0e9543", size = 5959772 }, - { url = "https://files.pythonhosted.org/packages/11/02/3a7e3101d88b113f326e0fdf3f566fba2600fc4b1fd828d56027d293e22d/ruff-0.1.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:ea284789861b8b5ca9d5443591a92a397ac183d4351882ab52f6296b4fdd5462", size = 6356759 }, - { url = "https://files.pythonhosted.org/packages/fc/93/8a4b3523c4564168aab720d8361b4bf12173b099509caaac93168b72927a/ruff-0.1.6-py3-none-win32.whl", hash = "sha256:1610e14750826dfc207ccbcdd7331b6bd285607d4181df9c1c6ae26646d6848a", size = 5835632 }, - { url = "https://files.pythonhosted.org/packages/40/e3/55ae013087bd892dd61c25895a119ffec2f9b9f7c3d1fd0cea5f5f7bd74a/ruff-0.1.6-py3-none-win_amd64.whl", hash = "sha256:4558b3e178145491e9bc3b2ee3c4b42f19d19384eaa5c59d10acf6e8f8b57e33", size = 6226075 }, - { url = "https://files.pythonhosted.org/packages/21/f7/fdce733e594e1b274fc9232256be6a4e03e8d2cb9e354c783801191e2f4d/ruff-0.1.6-py3-none-win_arm64.whl", hash = "sha256:03910e81df0d8db0e30050725a5802441c2022ea3ae4fe0609b76081731accbc", size = 5965823 }, +version = "0.8.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5e/2b/01245f4f3a727d60bebeacd7ee6d22586c7f62380a2597ddb22c2f45d018/ruff-0.8.2.tar.gz", hash = "sha256:b84f4f414dda8ac7f75075c1fa0b905ac0ff25361f42e6d5da681a465e0f78e5", size = 3349020 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/91/29/366be70216dba1731a00a41f2f030822b0c96c7c4f3b2c0cdce15cbace74/ruff-0.8.2-py3-none-linux_armv6l.whl", hash = "sha256:c49ab4da37e7c457105aadfd2725e24305ff9bc908487a9bf8d548c6dad8bb3d", size = 10530649 }, + { url = "https://files.pythonhosted.org/packages/63/82/a733956540bb388f00df5a3e6a02467b16c0e529132625fe44ce4c5fb9c7/ruff-0.8.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ec016beb69ac16be416c435828be702ee694c0d722505f9c1f35e1b9c0cc1bf5", size = 10274069 }, + { url = "https://files.pythonhosted.org/packages/3d/12/0b3aa14d1d71546c988a28e1b412981c1b80c8a1072e977a2f30c595cc4a/ruff-0.8.2-py3-none-macosx_11_0_arm64.whl", hash = "sha256:f05cdf8d050b30e2ba55c9b09330b51f9f97d36d4673213679b965d25a785f3c", size = 9909400 }, + { url = "https://files.pythonhosted.org/packages/23/08/f9f08cefb7921784c891c4151cce6ed357ff49e84b84978440cffbc87408/ruff-0.8.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:60f578c11feb1d3d257b2fb043ddb47501ab4816e7e221fbb0077f0d5d4e7b6f", size = 10766782 }, + { url = "https://files.pythonhosted.org/packages/e4/71/bf50c321ec179aa420c8ec40adac5ae9cc408d4d37283a485b19a2331ceb/ruff-0.8.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:cbd5cf9b0ae8f30eebc7b360171bd50f59ab29d39f06a670b3e4501a36ba5897", size = 10286316 }, + { url = "https://files.pythonhosted.org/packages/f2/83/c82688a2a6117539aea0ce63fdf6c08e60fe0202779361223bcd7f40bd74/ruff-0.8.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b402ddee3d777683de60ff76da801fa7e5e8a71038f57ee53e903afbcefdaa58", size = 11338270 }, + { url = "https://files.pythonhosted.org/packages/7f/d7/bc6a45e5a22e627640388e703160afb1d77c572b1d0fda8b4349f334fc66/ruff-0.8.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:705832cd7d85605cb7858d8a13d75993c8f3ef1397b0831289109e953d833d29", size = 12058579 }, + { url = "https://files.pythonhosted.org/packages/da/3b/64150c93946ec851e6f1707ff586bb460ca671581380c919698d6a9267dc/ruff-0.8.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:32096b41aaf7a5cc095fa45b4167b890e4c8d3fd217603f3634c92a541de7248", size = 11615172 }, + { url = "https://files.pythonhosted.org/packages/e4/9e/cf12b697ea83cfe92ec4509ae414dc4c9b38179cc681a497031f0d0d9a8e/ruff-0.8.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e769083da9439508833cfc7c23e351e1809e67f47c50248250ce1ac52c21fb93", size = 12882398 }, + { url = "https://files.pythonhosted.org/packages/a9/27/96d10863accf76a9c97baceac30b0a52d917eb985a8ac058bd4636aeede0/ruff-0.8.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fe716592ae8a376c2673fdfc1f5c0c193a6d0411f90a496863c99cd9e2ae25d", size = 11176094 }, + { url = "https://files.pythonhosted.org/packages/eb/10/cd2fd77d4a4e7f03c29351be0f53278a393186b540b99df68beb5304fddd/ruff-0.8.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:81c148825277e737493242b44c5388a300584d73d5774defa9245aaef55448b0", size = 10771884 }, + { url = "https://files.pythonhosted.org/packages/71/5d/beabb2ff18870fc4add05fa3a69a4cb1b1d2d6f83f3cf3ae5ab0d52f455d/ruff-0.8.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d261d7850c8367704874847d95febc698a950bf061c9475d4a8b7689adc4f7fa", size = 10382535 }, + { url = "https://files.pythonhosted.org/packages/ae/29/6b3fdf3ad3e35b28d87c25a9ff4c8222ad72485ab783936b2b267250d7a7/ruff-0.8.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1ca4e3a87496dc07d2427b7dd7ffa88a1e597c28dad65ae6433ecb9f2e4f022f", size = 10886995 }, + { url = "https://files.pythonhosted.org/packages/e9/dc/859d889b4d9356a1a2cdbc1e4a0dda94052bc5b5300098647e51a58c430b/ruff-0.8.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:729850feed82ef2440aa27946ab39c18cb4a8889c1128a6d589ffa028ddcfc22", size = 11220750 }, + { url = "https://files.pythonhosted.org/packages/0b/08/e8f519f61f1d624264bfd6b8829e4c5f31c3c61193bc3cff1f19dbe7626a/ruff-0.8.2-py3-none-win32.whl", hash = "sha256:ac42caaa0411d6a7d9594363294416e0e48fc1279e1b0e948391695db2b3d5b1", size = 8729396 }, + { url = "https://files.pythonhosted.org/packages/f8/d4/ba1c7ab72aba37a2b71fe48ab95b80546dbad7a7f35ea28cf66fc5cea5f6/ruff-0.8.2-py3-none-win_amd64.whl", hash = "sha256:2aae99ec70abf43372612a838d97bfe77d45146254568d94926e8ed5bbb409ea", size = 9594729 }, + { url = "https://files.pythonhosted.org/packages/23/34/db20e12d3db11b8a2a8874258f0f6d96a9a4d631659d54575840557164c8/ruff-0.8.2-py3-none-win_arm64.whl", hash = "sha256:fb88e2a506b70cfbc2de6fae6681c4f944f7dd5f2fe87233a7233d888bad73e8", size = 9035131 }, ] [[package]] @@ -2388,6 +2802,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/6a/9e/2064975477fdc887e47ad42157e214526dcad8f317a948dee17e1659a62f/terminado-0.18.1-py3-none-any.whl", hash = "sha256:a4468e1b37bb318f8a86514f65814e1afc977cf29b3992a4500d9dd305dcceb0", size = 14154 }, ] +[[package]] +name = "texttable" +version = "1.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1c/dc/0aff23d6036a4d3bf4f1d8c8204c5c79c4437e25e0ae94ffe4bbb55ee3c2/texttable-1.7.0.tar.gz", hash = "sha256:2d2068fb55115807d3ac77a4ca68fa48803e84ebb0ee2340f858107a36522638", size = 12831 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/24/99/4772b8e00a136f3e01236de33b0efda31ee7077203ba5967fcc76da94d65/texttable-1.7.0-py2.py3-none-any.whl", hash = "sha256:72227d592c82b3d7f672731ae73e4d1f88cd8e2ef5b075a7a7f01a23a3743917", size = 10768 }, +] + [[package]] name = "tinycss2" version = "1.3.0" @@ -2611,7 +3034,7 @@ dev = [ { name = "pytest", specifier = ">=6.2.4" }, { name = "pyyaml", specifier = ">=6.0.1" }, { name = "requests-mock", specifier = ">=1.9.3" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, { name = "tqdm", specifier = ">=4.62.3" }, { name = "types-pyyaml", specifier = ">=6.0.5" }, { name = "types-requests", specifier = ">=2.25.2" }, diff --git a/pyproject.toml b/pyproject.toml index a5111ed6c6da..42a865b71591 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,7 +106,7 @@ dev-dependencies = [ # unpinning those would introduce tons of type errors "pyright==1.1.373", "pandas-stubs==1.2.0.62", - "ruff==0.1.6", + "ruff>=0.8.2", "ipdb>=0.13.13", ] @@ -146,16 +146,17 @@ compare = 'etl.compare:cli' backport = 'apps.backport.backport:backport_cli' [tool.ruff] -extend-select = [ +lint.extend-select = [ # isort "I" ] -ignore = ["E501"] +lint.ignore = ["E501"] line-length = 120 target-version = "py310" extend-exclude = [ ".ipynb_checkpoints", "*cookiecutter", + "*.ipynb", ] [build-system] diff --git a/snapshots/antibiotics/2024-10-18/who_glass_by_antibiotic.py b/snapshots/antibiotics/2024-10-18/who_glass_by_antibiotic.py index cc02bd701bd9..a9a0d52d0f47 100644 --- a/snapshots/antibiotics/2024-10-18/who_glass_by_antibiotic.py +++ b/snapshots/antibiotics/2024-10-18/who_glass_by_antibiotic.py @@ -13,7 +13,6 @@ """ - from pathlib import Path import click diff --git a/snapshots/antibiotics/2024-12-05/microbe_neonatal_total_amr.py b/snapshots/antibiotics/2024-12-05/microbe_neonatal_total_amr.py index 212a28a0f333..530324b4376d 100644 --- a/snapshots/antibiotics/2024-12-05/microbe_neonatal_total_amr.py +++ b/snapshots/antibiotics/2024-12-05/microbe_neonatal_total_amr.py @@ -11,6 +11,7 @@ - Metric: 'Number' """ + from pathlib import Path import click diff --git a/snapshots/antibiotics/2024-12-05/microbe_total_deaths_by_syndrome.py b/snapshots/antibiotics/2024-12-05/microbe_total_deaths_by_syndrome.py index 53098bc97eb6..2006c8a692fa 100644 --- a/snapshots/antibiotics/2024-12-05/microbe_total_deaths_by_syndrome.py +++ b/snapshots/antibiotics/2024-12-05/microbe_total_deaths_by_syndrome.py @@ -11,6 +11,7 @@ - Metric: 'Number' """ + from pathlib import Path import click diff --git a/snapshots/antibiotics/2024-12-05/microbe_total_deaths_by_syndrome_amr.py b/snapshots/antibiotics/2024-12-05/microbe_total_deaths_by_syndrome_amr.py index 689613aeba55..fbb2dc82667e 100644 --- a/snapshots/antibiotics/2024-12-05/microbe_total_deaths_by_syndrome_amr.py +++ b/snapshots/antibiotics/2024-12-05/microbe_total_deaths_by_syndrome_amr.py @@ -11,6 +11,7 @@ - Metric: 'Number' """ + from pathlib import Path import click diff --git a/snapshots/artificial_intelligence/2023-06-21/epoch.py b/snapshots/artificial_intelligence/2023-06-21/epoch.py index daa355e267f3..25991e18d5d0 100644 --- a/snapshots/artificial_intelligence/2023-06-21/epoch.py +++ b/snapshots/artificial_intelligence/2023-06-21/epoch.py @@ -1,6 +1,5 @@ """Script to create a snapshot of dataset 'Parameter, Compute and Data Trends in Machine Learning (Epoch, 2023)'.""" - from pathlib import Path import click diff --git a/snapshots/artificial_intelligence/2024-06-03/epoch.py b/snapshots/artificial_intelligence/2024-06-03/epoch.py index daa355e267f3..25991e18d5d0 100644 --- a/snapshots/artificial_intelligence/2024-06-03/epoch.py +++ b/snapshots/artificial_intelligence/2024-06-03/epoch.py @@ -1,6 +1,5 @@ """Script to create a snapshot of dataset 'Parameter, Compute and Data Trends in Machine Learning (Epoch, 2023)'.""" - from pathlib import Path import click diff --git a/snapshots/artificial_intelligence/2024-07-10/epoch.py b/snapshots/artificial_intelligence/2024-07-10/epoch.py index daa355e267f3..25991e18d5d0 100644 --- a/snapshots/artificial_intelligence/2024-07-10/epoch.py +++ b/snapshots/artificial_intelligence/2024-07-10/epoch.py @@ -1,6 +1,5 @@ """Script to create a snapshot of dataset 'Parameter, Compute and Data Trends in Machine Learning (Epoch, 2023)'.""" - from pathlib import Path import click diff --git a/snapshots/artificial_intelligence/2024-08-05/epoch.py b/snapshots/artificial_intelligence/2024-08-05/epoch.py index daa355e267f3..25991e18d5d0 100644 --- a/snapshots/artificial_intelligence/2024-08-05/epoch.py +++ b/snapshots/artificial_intelligence/2024-08-05/epoch.py @@ -1,6 +1,5 @@ """Script to create a snapshot of dataset 'Parameter, Compute and Data Trends in Machine Learning (Epoch, 2023)'.""" - from pathlib import Path import click diff --git a/snapshots/artificial_intelligence/2024-09-09/epoch.py b/snapshots/artificial_intelligence/2024-09-09/epoch.py index daa355e267f3..25991e18d5d0 100644 --- a/snapshots/artificial_intelligence/2024-09-09/epoch.py +++ b/snapshots/artificial_intelligence/2024-09-09/epoch.py @@ -1,6 +1,5 @@ """Script to create a snapshot of dataset 'Parameter, Compute and Data Trends in Machine Learning (Epoch, 2023)'.""" - from pathlib import Path import click diff --git a/snapshots/artificial_intelligence/2024-10-01/epoch.py b/snapshots/artificial_intelligence/2024-10-01/epoch.py index daa355e267f3..25991e18d5d0 100644 --- a/snapshots/artificial_intelligence/2024-10-01/epoch.py +++ b/snapshots/artificial_intelligence/2024-10-01/epoch.py @@ -1,6 +1,5 @@ """Script to create a snapshot of dataset 'Parameter, Compute and Data Trends in Machine Learning (Epoch, 2023)'.""" - from pathlib import Path import click diff --git a/snapshots/artificial_intelligence/2024-11-03/epoch.py b/snapshots/artificial_intelligence/2024-11-03/epoch.py index daa355e267f3..25991e18d5d0 100644 --- a/snapshots/artificial_intelligence/2024-11-03/epoch.py +++ b/snapshots/artificial_intelligence/2024-11-03/epoch.py @@ -1,6 +1,5 @@ """Script to create a snapshot of dataset 'Parameter, Compute and Data Trends in Machine Learning (Epoch, 2023)'.""" - from pathlib import Path import click diff --git a/snapshots/artificial_intelligence/2024-12-05/epoch.py b/snapshots/artificial_intelligence/2024-12-05/epoch.py index daa355e267f3..25991e18d5d0 100644 --- a/snapshots/artificial_intelligence/2024-12-05/epoch.py +++ b/snapshots/artificial_intelligence/2024-12-05/epoch.py @@ -1,6 +1,5 @@ """Script to create a snapshot of dataset 'Parameter, Compute and Data Trends in Machine Learning (Epoch, 2023)'.""" - from pathlib import Path import click diff --git a/snapshots/artificial_intelligence/latest/epoch.py b/snapshots/artificial_intelligence/latest/epoch.py index daa355e267f3..25991e18d5d0 100644 --- a/snapshots/artificial_intelligence/latest/epoch.py +++ b/snapshots/artificial_intelligence/latest/epoch.py @@ -1,6 +1,5 @@ """Script to create a snapshot of dataset 'Parameter, Compute and Data Trends in Machine Learning (Epoch, 2023)'.""" - from pathlib import Path import click diff --git a/snapshots/aviation_safety_network/2022-10-14/aviation_statistics.py b/snapshots/aviation_safety_network/2022-10-14/aviation_statistics.py index 3fdcba48fa74..ee574dc5b0e6 100644 --- a/snapshots/aviation_safety_network/2022-10-14/aviation_statistics.py +++ b/snapshots/aviation_safety_network/2022-10-14/aviation_statistics.py @@ -1,6 +1,4 @@ -"""Get data from the Aviation Safety Network (extracted from a Google Sheet). - -""" +"""Get data from the Aviation Safety Network (extracted from a Google Sheet).""" import click import pandas as pd diff --git a/snapshots/cancer/2024-10-13/gco_cancer_over_time_cervical.py b/snapshots/cancer/2024-10-13/gco_cancer_over_time_cervical.py index 2c477a9ba5e7..9187ec1c63f7 100644 --- a/snapshots/cancer/2024-10-13/gco_cancer_over_time_cervical.py +++ b/snapshots/cancer/2024-10-13/gco_cancer_over_time_cervical.py @@ -2,6 +2,7 @@ To download the csv file go to https://gco.iarc.fr/overtime/en/dataviz/trends?populations=752_32_36_40_48_112_124_152_156_170_188_191_196_203_208_218_233_246_250_276_352_356_372_380_376_392_414_428_410_440_470_474_528_554_578_608_616_630_634_705_724_756_764_792_800_840_8260_8261_8262_8263_8401_8402&sexes=2&types=0&multiple_populations=1&group_populations=0&cancers=16 and click on the Downloads button --> csv. """ + from pathlib import Path import click diff --git a/snapshots/cancer/2024-10-13/gco_cancer_today_cervical.py b/snapshots/cancer/2024-10-13/gco_cancer_today_cervical.py index 8f8e4b14ad42..05613eac98ac 100644 --- a/snapshots/cancer/2024-10-13/gco_cancer_today_cervical.py +++ b/snapshots/cancer/2024-10-13/gco_cancer_today_cervical.py @@ -1,5 +1,6 @@ """Script to create a snapshot of dataset. To download the csv file go to https://gco.iarc.fr/today/en/dataviz/maps-heatmap?mode=population&cancers=23&sexes=2 and click Downloads --> csv""" + from pathlib import Path import click diff --git a/snapshots/climate/2023-12-20/surface_temperature.py b/snapshots/climate/2023-12-20/surface_temperature.py index 68c70d981874..0ae58ec999a2 100644 --- a/snapshots/climate/2023-12-20/surface_temperature.py +++ b/snapshots/climate/2023-12-20/surface_temperature.py @@ -1,12 +1,12 @@ """Script to create a snapshot of the monthly averaged surface temperature data from 1950 to present from the Copernicus Climate Change Service. - The script assumes that the data is available on the CDS API. - Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS +The script assumes that the data is available on the CDS API. +Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS - More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview +More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview - The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html - """ +The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html +""" import gzip import shutil diff --git a/snapshots/climate/2024-02-14/surface_temperature.py b/snapshots/climate/2024-02-14/surface_temperature.py index 3cc66fcba727..d30b45a7c24c 100644 --- a/snapshots/climate/2024-02-14/surface_temperature.py +++ b/snapshots/climate/2024-02-14/surface_temperature.py @@ -1,12 +1,12 @@ """Script to create a snapshot of the monthly averaged surface temperature data from 1950 to present from the Copernicus Climate Change Service. - The script assumes that the data is available on the CDS API. - Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS +The script assumes that the data is available on the CDS API. +Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS - More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview +More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview - The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html - """ +The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html +""" import gzip import shutil diff --git a/snapshots/climate/2024-03-12/surface_temperature.py b/snapshots/climate/2024-03-12/surface_temperature.py index 3cc66fcba727..d30b45a7c24c 100644 --- a/snapshots/climate/2024-03-12/surface_temperature.py +++ b/snapshots/climate/2024-03-12/surface_temperature.py @@ -1,12 +1,12 @@ """Script to create a snapshot of the monthly averaged surface temperature data from 1950 to present from the Copernicus Climate Change Service. - The script assumes that the data is available on the CDS API. - Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS +The script assumes that the data is available on the CDS API. +Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS - More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview +More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview - The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html - """ +The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html +""" import gzip import shutil diff --git a/snapshots/climate/2024-04-12/surface_temperature.py b/snapshots/climate/2024-04-12/surface_temperature.py index 3cc66fcba727..d30b45a7c24c 100644 --- a/snapshots/climate/2024-04-12/surface_temperature.py +++ b/snapshots/climate/2024-04-12/surface_temperature.py @@ -1,12 +1,12 @@ """Script to create a snapshot of the monthly averaged surface temperature data from 1950 to present from the Copernicus Climate Change Service. - The script assumes that the data is available on the CDS API. - Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS +The script assumes that the data is available on the CDS API. +Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS - More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview +More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview - The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html - """ +The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html +""" import gzip import shutil diff --git a/snapshots/climate/2024-05-07/surface_temperature.py b/snapshots/climate/2024-05-07/surface_temperature.py index 3cc66fcba727..d30b45a7c24c 100644 --- a/snapshots/climate/2024-05-07/surface_temperature.py +++ b/snapshots/climate/2024-05-07/surface_temperature.py @@ -1,12 +1,12 @@ """Script to create a snapshot of the monthly averaged surface temperature data from 1950 to present from the Copernicus Climate Change Service. - The script assumes that the data is available on the CDS API. - Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS +The script assumes that the data is available on the CDS API. +Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS - More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview +More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview - The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html - """ +The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html +""" import gzip import shutil diff --git a/snapshots/climate/2024-06-07/surface_temperature.py b/snapshots/climate/2024-06-07/surface_temperature.py index 8235104ab219..cbc4db8930a2 100644 --- a/snapshots/climate/2024-06-07/surface_temperature.py +++ b/snapshots/climate/2024-06-07/surface_temperature.py @@ -1,12 +1,12 @@ """Script to create a snapshot of the monthly averaged surface temperature data from 1950 to present from the Copernicus Climate Change Service. - The script assumes that the data is available on the CDS API. - Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS +The script assumes that the data is available on the CDS API. +Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS - More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview +More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview - The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html - """ +The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html +""" import gzip import shutil diff --git a/snapshots/climate/2024-07-08/surface_temperature.py b/snapshots/climate/2024-07-08/surface_temperature.py index 8235104ab219..cbc4db8930a2 100644 --- a/snapshots/climate/2024-07-08/surface_temperature.py +++ b/snapshots/climate/2024-07-08/surface_temperature.py @@ -1,12 +1,12 @@ """Script to create a snapshot of the monthly averaged surface temperature data from 1950 to present from the Copernicus Climate Change Service. - The script assumes that the data is available on the CDS API. - Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS +The script assumes that the data is available on the CDS API. +Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS - More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview +More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview - The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html - """ +The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html +""" import gzip import shutil diff --git a/snapshots/climate/2024-08-06/surface_temperature.py b/snapshots/climate/2024-08-06/surface_temperature.py index 8235104ab219..cbc4db8930a2 100644 --- a/snapshots/climate/2024-08-06/surface_temperature.py +++ b/snapshots/climate/2024-08-06/surface_temperature.py @@ -1,12 +1,12 @@ """Script to create a snapshot of the monthly averaged surface temperature data from 1950 to present from the Copernicus Climate Change Service. - The script assumes that the data is available on the CDS API. - Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS +The script assumes that the data is available on the CDS API. +Instructions on how to access the API on a Mac are here: https://confluence.ecmwf.int/display/CKB/How+to+install+and+use+CDS+API+on+macOS - More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview +More information on how to access the data is here: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-monthly-means?tab=overview - The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html - """ +The data is downloaded as a NetCDF file. Tutorials for using the Copernicus API are here and work with the NETCDF format are here: https://ecmwf-projects.github.io/copernicus-training-c3s/cds-tutorial.html +""" import gzip import shutil diff --git a/snapshots/covid/latest/vaccinations_age.py b/snapshots/covid/latest/vaccinations_age.py index 92eae188976a..2baca9db1e49 100644 --- a/snapshots/covid/latest/vaccinations_age.py +++ b/snapshots/covid/latest/vaccinations_age.py @@ -3,6 +3,7 @@ Run the lines from https://github.com/owid/covid-19-data/blob/d8fae5631e2130270532951400fa449a9b20d00b/scripts/src/cowidev/cmd/vax/generate/utils.py#L712-L734, and export df_age. """ + from pathlib import Path from typing import Optional diff --git a/snapshots/covid/latest/vaccinations_global.py b/snapshots/covid/latest/vaccinations_global.py index 40214455d061..b70b648afaf5 100644 --- a/snapshots/covid/latest/vaccinations_global.py +++ b/snapshots/covid/latest/vaccinations_global.py @@ -3,6 +3,7 @@ Run the lines from https://github.com/owid/covid-19-data/blob/d8fae5631e2130270532951400fa449a9b20d00b/scripts/src/cowidev/cmd/vax/generate/utils.py#L712-L734, and export df_vaccinations. """ + from datetime import date from pathlib import Path from typing import Optional, cast diff --git a/snapshots/covid/latest/vaccinations_manufacturer.py b/snapshots/covid/latest/vaccinations_manufacturer.py index 96104dfb0fc3..17822f5df24b 100644 --- a/snapshots/covid/latest/vaccinations_manufacturer.py +++ b/snapshots/covid/latest/vaccinations_manufacturer.py @@ -3,6 +3,7 @@ Run the lines from https://github.com/owid/covid-19-data/blob/d8fae5631e2130270532951400fa449a9b20d00b/scripts/src/cowidev/cmd/vax/generate/utils.py#L712-L734, and export df_manufacturer. """ + from pathlib import Path from typing import Optional diff --git a/snapshots/ess/2023-08-02/ess_trust.py b/snapshots/ess/2023-08-02/ess_trust.py index 0ded6074a040..b5b44ac48d59 100644 --- a/snapshots/ess/2023-08-02/ess_trust.py +++ b/snapshots/ess/2023-08-02/ess_trust.py @@ -5,14 +5,14 @@ INSTRUCTIONS - 1. In the ESS Data Portal, register and download all the survey files from the Data Wizard, https://ess-search.nsd.no/CDW/RoundCountry. - 2. Extract the dta file from the zip file. - 3. Run this ess_trust.do in Stata. If it fails, check the name of the dta file in the first line of the code. - 4. The output is given in Stata's output window. Copy and paste it into a csv file, called `ess_trust.csv`. - 5. Add snapshot. The command is: - python snapshots/ess/{version}/ess_trust.py --path-to-file snapshots/ess/{version}/ess_trust.csv - 6. Delete csv file - 7. Run `etl ess_trust` + 1. In the ESS Data Portal, register and download all the survey files from the Data Wizard, https://ess-search.nsd.no/CDW/RoundCountry. + 2. Extract the dta file from the zip file. + 3. Run this ess_trust.do in Stata. If it fails, check the name of the dta file in the first line of the code. + 4. The output is given in Stata's output window. Copy and paste it into a csv file, called `ess_trust.csv`. + 5. Add snapshot. The command is: + python snapshots/ess/{version}/ess_trust.py --path-to-file snapshots/ess/{version}/ess_trust.csv + 6. Delete csv file + 7. Run `etl ess_trust` """ diff --git a/snapshots/excess_mortality/latest/hmd_stmf.py b/snapshots/excess_mortality/latest/hmd_stmf.py index c573fa05c301..c102ec5f2b94 100644 --- a/snapshots/excess_mortality/latest/hmd_stmf.py +++ b/snapshots/excess_mortality/latest/hmd_stmf.py @@ -1,4 +1,5 @@ """Script to create a snapshot of dataset 'Short-Term Mortality Fluctuations (HMD, 2023)'.""" + import re from datetime import date, datetime from pathlib import Path diff --git a/snapshots/excess_mortality/latest/xm_karlinsky_kobak.py b/snapshots/excess_mortality/latest/xm_karlinsky_kobak.py index d484e22bf02b..6d175af88dd6 100644 --- a/snapshots/excess_mortality/latest/xm_karlinsky_kobak.py +++ b/snapshots/excess_mortality/latest/xm_karlinsky_kobak.py @@ -1,4 +1,5 @@ """Script to create a snapshot of dataset 'Excess mortality during the COVID-19 pandemic'.""" + from datetime import date from pathlib import Path diff --git a/snapshots/forests/2024-07-10/dominant_driver.py b/snapshots/forests/2024-07-10/dominant_driver.py index 8271d77cb2f8..80469748b502 100644 --- a/snapshots/forests/2024-07-10/dominant_driver.py +++ b/snapshots/forests/2024-07-10/dominant_driver.py @@ -10,7 +10,6 @@ """ - from pathlib import Path import click diff --git a/snapshots/forests/2024-08-07/dominant_driver.py b/snapshots/forests/2024-08-07/dominant_driver.py index fbf275bb0a05..e1365fc8b569 100644 --- a/snapshots/forests/2024-08-07/dominant_driver.py +++ b/snapshots/forests/2024-08-07/dominant_driver.py @@ -2,7 +2,6 @@ Option to get data from Google Earth Engine is in 2024-07-10 version of this script """ - from pathlib import Path import click diff --git a/snapshots/ggdc/2020-10-01/ggdc_maddison.py b/snapshots/ggdc/2020-10-01/ggdc_maddison.py index 7978eacf0e65..fb986488d789 100644 --- a/snapshots/ggdc/2020-10-01/ggdc_maddison.py +++ b/snapshots/ggdc/2020-10-01/ggdc_maddison.py @@ -1,6 +1,4 @@ -"""This script should be manually adapted and executed on the event of an update of the Maddison Project Database. - -""" +"""This script should be manually adapted and executed on the event of an update of the Maddison Project Database.""" import click diff --git a/snapshots/homicide/2023-01-03/who_mort_db.py b/snapshots/homicide/2023-01-03/who_mort_db.py index 3c28547d1e66..d336074f7c72 100644 --- a/snapshots/homicide/2023-01-03/who_mort_db.py +++ b/snapshots/homicide/2023-01-03/who_mort_db.py @@ -1,6 +1,6 @@ """This script has been autogenerated. - Download full data set from here: https://platform.who.int/mortality/themes/theme-details/topics/indicator-groups/indicator-group-details/MDB/violence - Click on the download button and then select 'full dataset'. It doesn't matter what age groups or years you select it will download them all anyway. +Download full data set from here: https://platform.who.int/mortality/themes/theme-details/topics/indicator-groups/indicator-group-details/MDB/violence +Click on the download button and then select 'full dataset'. It doesn't matter what age groups or years you select it will download them all anyway. """ import pathlib diff --git a/snapshots/homicide/2024-07-30/who_mort_db.py b/snapshots/homicide/2024-07-30/who_mort_db.py index 9a686fa39333..14ef36dc7c09 100644 --- a/snapshots/homicide/2024-07-30/who_mort_db.py +++ b/snapshots/homicide/2024-07-30/who_mort_db.py @@ -1,6 +1,6 @@ """Script to create a snapshot of dataset. - Download full data set from here: https://platform.who.int/mortality/themes/theme-details/topics/indicator-groups/indicator-group-details/MDB/violence - Click on the download button and then select 'full dataset'. It doesn't matter what age groups or years you select it will download them all anyway. +Download full data set from here: https://platform.who.int/mortality/themes/theme-details/topics/indicator-groups/indicator-group-details/MDB/violence +Click on the download button and then select 'full dataset'. It doesn't matter what age groups or years you select it will download them all anyway. """ from pathlib import Path diff --git a/snapshots/ihme_gbd/2024-05-20/gbd_drug_risk.py b/snapshots/ihme_gbd/2024-05-20/gbd_drug_risk.py index 4363b21e6a5e..2f1012f2a6b4 100644 --- a/snapshots/ihme_gbd/2024-05-20/gbd_drug_risk.py +++ b/snapshots/ihme_gbd/2024-05-20/gbd_drug_risk.py @@ -28,6 +28,7 @@ We will download and combine the files in the following script. """ + from pathlib import Path import click diff --git a/snapshots/ihme_gbd/2024-05-20/gbd_mental_health.py b/snapshots/ihme_gbd/2024-05-20/gbd_mental_health.py index 127b442b0c8b..850fe3200a46 100644 --- a/snapshots/ihme_gbd/2024-05-20/gbd_mental_health.py +++ b/snapshots/ihme_gbd/2024-05-20/gbd_mental_health.py @@ -18,6 +18,7 @@ We will download and combine the files in the following script. """ + from pathlib import Path import click diff --git a/snapshots/ihme_gbd/2024-05-20/gbd_mental_health_burden.py b/snapshots/ihme_gbd/2024-05-20/gbd_mental_health_burden.py index 510b37bea823..260de4d57649 100644 --- a/snapshots/ihme_gbd/2024-05-20/gbd_mental_health_burden.py +++ b/snapshots/ihme_gbd/2024-05-20/gbd_mental_health_burden.py @@ -18,6 +18,7 @@ We will download and combine the files in the following script. """ + from pathlib import Path import click diff --git a/snapshots/ihme_gbd/2024-05-20/gbd_prevalence.py b/snapshots/ihme_gbd/2024-05-20/gbd_prevalence.py index da6ab0f5cc86..9cc88f920431 100644 --- a/snapshots/ihme_gbd/2024-05-20/gbd_prevalence.py +++ b/snapshots/ihme_gbd/2024-05-20/gbd_prevalence.py @@ -18,6 +18,7 @@ We will download and combine the files in the following script. """ + from pathlib import Path import click diff --git a/snapshots/ihme_gbd/2024-05-20/gbd_risk.py b/snapshots/ihme_gbd/2024-05-20/gbd_risk.py index 4898b4e17daf..bb5c50aa8de2 100644 --- a/snapshots/ihme_gbd/2024-05-20/gbd_risk.py +++ b/snapshots/ihme_gbd/2024-05-20/gbd_risk.py @@ -31,6 +31,7 @@ We will download and combine the files in the following script. """ + from pathlib import Path import click diff --git a/snapshots/ihme_gbd/2024-05-20/impairments.py b/snapshots/ihme_gbd/2024-05-20/impairments.py index d73d04422310..971b65150961 100644 --- a/snapshots/ihme_gbd/2024-05-20/impairments.py +++ b/snapshots/ihme_gbd/2024-05-20/impairments.py @@ -20,7 +20,6 @@ We will download and combine the files in the following script. """ - from pathlib import Path import click diff --git a/snapshots/ihme_gbd/2024-07-02/gbd_healthy_life_expectancy.py b/snapshots/ihme_gbd/2024-07-02/gbd_healthy_life_expectancy.py index 142863cd9191..d04224b00095 100644 --- a/snapshots/ihme_gbd/2024-07-02/gbd_healthy_life_expectancy.py +++ b/snapshots/ihme_gbd/2024-07-02/gbd_healthy_life_expectancy.py @@ -17,6 +17,7 @@ We will download and combine the files in the following script. """ + from pathlib import Path import click diff --git a/snapshots/ihme_gbd/2024-07-02/gbd_life_expectancy.py b/snapshots/ihme_gbd/2024-07-02/gbd_life_expectancy.py index c44aca606f61..1fb268ab9842 100644 --- a/snapshots/ihme_gbd/2024-07-02/gbd_life_expectancy.py +++ b/snapshots/ihme_gbd/2024-07-02/gbd_life_expectancy.py @@ -15,6 +15,7 @@ We will download and combine the files in the following script. """ + from pathlib import Path import click diff --git a/snapshots/ivs/2023-11-27/integrated_values_survey.py b/snapshots/ivs/2023-11-27/integrated_values_survey.py index 05ac15eeeaf8..5e2b63331f79 100644 --- a/snapshots/ivs/2023-11-27/integrated_values_survey.py +++ b/snapshots/ivs/2023-11-27/integrated_values_survey.py @@ -4,14 +4,14 @@ INSTRUCTIONS - 1. Follow the instructions to construct the IVS file from WVS and EVS microdata here: https://www.worldvaluessurvey.org/WVSEVStrend.jsp - The files required are the WVS and EVS trend files, and the merge syntax file (in our case in Stata). Keep these files in the same folder. - 2. Run the EVS_WVS_Merge_Syntax_stata 4.do file in Stata. This will generate the IVS main dataset. - 3. Run ivs_create_file.do in Stata. It will generate the file ivs.csv - 4. Add snapshot. Currently the command is - python snapshots/ivs/{date}/integrated_values_survey.py --path-to-file snapshots/ivs/{date}/ivs.csv - 5. Delete csv file - 6. Run `etl wvs_trust` + 1. Follow the instructions to construct the IVS file from WVS and EVS microdata here: https://www.worldvaluessurvey.org/WVSEVStrend.jsp + The files required are the WVS and EVS trend files, and the merge syntax file (in our case in Stata). Keep these files in the same folder. + 2. Run the EVS_WVS_Merge_Syntax_stata 4.do file in Stata. This will generate the IVS main dataset. + 3. Run ivs_create_file.do in Stata. It will generate the file ivs.csv + 4. Add snapshot. Currently the command is + python snapshots/ivs/{date}/integrated_values_survey.py --path-to-file snapshots/ivs/{date}/ivs.csv + 5. Delete csv file + 6. Run `etl wvs_trust` """ from pathlib import Path diff --git a/snapshots/lgbt_rights/2024-06-03/equaldex_current.py b/snapshots/lgbt_rights/2024-06-03/equaldex_current.py index 0f5312138ea0..0649871a6b9b 100644 --- a/snapshots/lgbt_rights/2024-06-03/equaldex_current.py +++ b/snapshots/lgbt_rights/2024-06-03/equaldex_current.py @@ -1,4 +1,4 @@ -"""" +""" " Script to create a snapshot of dataset 'Equaldex dataset - Current'. Check the equaldex_extract.py script for the data extraction and update process. """ diff --git a/snapshots/pew/2024-06-03/extract_data.py b/snapshots/pew/2024-06-03/extract_data.py index 7cf23edf4d6b..b5632b77db55 100644 --- a/snapshots/pew/2024-06-03/extract_data.py +++ b/snapshots/pew/2024-06-03/extract_data.py @@ -7,7 +7,6 @@ python snapshots/pew/{version}/same_sex_marriage.py --path-to-file snapshots/pew/{version}/same_sex_marriage.csv """ - from pathlib import Path import pandas as pd diff --git a/snapshots/survey/2023-08-04/latinobarometro_trust.py b/snapshots/survey/2023-08-04/latinobarometro_trust.py index 96851f5e7bc5..5c50bbb2001c 100644 --- a/snapshots/survey/2023-08-04/latinobarometro_trust.py +++ b/snapshots/survey/2023-08-04/latinobarometro_trust.py @@ -3,14 +3,14 @@ INSTRUCTIONS - 1. Go to the LatinobarĂ³metro portal, https://www.latinobarometro.org/, to the Data (Datos) tab, and download all the survey files in the Stata column. - 2. Extract the dta files from the zip files and keep them in the same folder. - 3. Run latinobarometro.do in Stata from the same folder as the datasets. - 4. It generates a csv file, latinobarometro_trust.csv. Copy it to this folder. - 5. Add snapshot. The command is: - python snapshots/survey/{version}/latinobarometro_trust.py --path-to-file snapshots/survey/{version}/latinobarometro_trust.csv - 6. Delete csv file - 7. Run `etl latinobarometro_trust` + 1. Go to the LatinobarĂ³metro portal, https://www.latinobarometro.org/, to the Data (Datos) tab, and download all the survey files in the Stata column. + 2. Extract the dta files from the zip files and keep them in the same folder. + 3. Run latinobarometro.do in Stata from the same folder as the datasets. + 4. It generates a csv file, latinobarometro_trust.csv. Copy it to this folder. + 5. Add snapshot. The command is: + python snapshots/survey/{version}/latinobarometro_trust.py --path-to-file snapshots/survey/{version}/latinobarometro_trust.csv + 6. Delete csv file + 7. Run `etl latinobarometro_trust` */ diff --git a/snapshots/survey/2023-08-07/afrobarometer_trust.py b/snapshots/survey/2023-08-07/afrobarometer_trust.py index 10bb114289ab..4ea005e64b2a 100644 --- a/snapshots/survey/2023-08-07/afrobarometer_trust.py +++ b/snapshots/survey/2023-08-07/afrobarometer_trust.py @@ -5,14 +5,14 @@ INSTRUCTIONS - 1. In the Afrobarometer Merged data page (https://www.afrobarometer.org/data/merged-data/), download the Merged Round 8 Data (34 countries) (2022) file. - 2. Copy the file to this directory . Though it is a SPSS file, it can be read by Stata. - 3. Runafrobarometer_trust.do in Stata. If it fails, check the name of the dta file in the first line of the code. - 4. The code generates a csv file called afrobarometer_trust.csv. Copy this file to the snapshots/ess/{version} directory. - 5. Add snapshot. The command is: - python snapshots/survey/{version}/afrobarometer_trust.py --path-to-file snapshots/survey/{version}/afrobarometer_trust.csv - 6. Delete csv file (and sav file) - 7. Run `etl afrobarometer_trust` + 1. In the Afrobarometer Merged data page (https://www.afrobarometer.org/data/merged-data/), download the Merged Round 8 Data (34 countries) (2022) file. + 2. Copy the file to this directory . Though it is a SPSS file, it can be read by Stata. + 3. Runafrobarometer_trust.do in Stata. If it fails, check the name of the dta file in the first line of the code. + 4. The code generates a csv file called afrobarometer_trust.csv. Copy this file to the snapshots/ess/{version} directory. + 5. Add snapshot. The command is: + python snapshots/survey/{version}/afrobarometer_trust.py --path-to-file snapshots/survey/{version}/afrobarometer_trust.csv + 6. Delete csv file (and sav file) + 7. Run `etl afrobarometer_trust` */ diff --git a/snapshots/un/2023-01-24/un_sdg.py b/snapshots/un/2023-01-24/un_sdg.py index e9c036e4174d..251da4b7e0d2 100644 --- a/snapshots/un/2023-01-24/un_sdg.py +++ b/snapshots/un/2023-01-24/un_sdg.py @@ -1,7 +1,8 @@ """Script to create a snapshot of dataset 'United Nations Sustainable Development Goals (2023)'. - As well as a snapshot of the data we collect a snapshot of the dimensions and attributes of the data. - These often change as the dataset contains many different variables with many different dimensions and values/attributes. +As well as a snapshot of the data we collect a snapshot of the dimensions and attributes of the data. +These often change as the dataset contains many different variables with many different dimensions and values/attributes. """ + import datetime as dt import json import os diff --git a/snapshots/un/2023-08-16/un_sdg.py b/snapshots/un/2023-08-16/un_sdg.py index 239af43598a7..589280fbbd22 100644 --- a/snapshots/un/2023-08-16/un_sdg.py +++ b/snapshots/un/2023-08-16/un_sdg.py @@ -1,7 +1,8 @@ """Script to create a snapshot of dataset 'United Nations Sustainable Development Goals (2023)'. - As well as a snapshot of the data we collect a snapshot of the dimensions and attributes of the data. - These often change as the dataset contains many different variables with many different dimensions and values/attributes. +As well as a snapshot of the data we collect a snapshot of the dimensions and attributes of the data. +These often change as the dataset contains many different variables with many different dimensions and values/attributes. """ + import datetime as dt import json import os diff --git a/snapshots/un/2024-01-17/urban_agglomerations_300k.py b/snapshots/un/2024-01-17/urban_agglomerations_300k.py index a58c78a2175c..c638546cc58a 100644 --- a/snapshots/un/2024-01-17/urban_agglomerations_300k.py +++ b/snapshots/un/2024-01-17/urban_agglomerations_300k.py @@ -4,6 +4,7 @@ Each file is processed by cleaning the data, excluding certain columns, and reshaping the data into a format that is easier to analyze. The data from each file is merged into a single DataFrame. This is done by merging on the country, urban agglomeration, latitude, and year. """ + import os from pathlib import Path diff --git a/snapshots/un/2024-08-27/un_sdg.py b/snapshots/un/2024-08-27/un_sdg.py index 2d52a73e5e6c..3f2e1c1d9e1e 100644 --- a/snapshots/un/2024-08-27/un_sdg.py +++ b/snapshots/un/2024-08-27/un_sdg.py @@ -1,7 +1,8 @@ """Script to create a snapshot of dataset 'United Nations Sustainable Development Goals (2024)'. - As well as a snapshot of the data we collect a snapshot of the dimensions and attributes of the data. - These often change as the dataset contains many different variables with many different dimensions and values/attributes. +As well as a snapshot of the data we collect a snapshot of the dimensions and attributes of the data. +These often change as the dataset contains many different variables with many different dimensions and values/attributes. """ + import datetime as dt import json import os diff --git a/snapshots/wb/2024-01-17/pip_api.py b/snapshots/wb/2024-01-17/pip_api.py index 1ef5c1a4a7fa..3121e4b4a54a 100644 --- a/snapshots/wb/2024-01-17/pip_api.py +++ b/snapshots/wb/2024-01-17/pip_api.py @@ -29,7 +29,6 @@ """ - import io import time from multiprocessing.pool import ThreadPool diff --git a/snapshots/wb/2024-03-27/pip_api.py b/snapshots/wb/2024-03-27/pip_api.py index 48eeb366e3d3..a507a778517b 100644 --- a/snapshots/wb/2024-03-27/pip_api.py +++ b/snapshots/wb/2024-03-27/pip_api.py @@ -38,7 +38,6 @@ """ - import io import time from multiprocessing.pool import ThreadPool diff --git a/snapshots/wb/2024-06-18/edstats_metadata.py b/snapshots/wb/2024-06-18/edstats_metadata.py index 2c93b710ad3f..1ac6fa433ee4 100644 --- a/snapshots/wb/2024-06-18/edstats_metadata.py +++ b/snapshots/wb/2024-06-18/edstats_metadata.py @@ -6,7 +6,6 @@ - on the left click on Country -> select World, series -> select All and Time -> select All --> 'Click Download Options' -> Metadata" """ - from pathlib import Path import click diff --git a/snapshots/wb/2024-06-26/extract_projections_from_article.py b/snapshots/wb/2024-06-26/extract_projections_from_article.py index 4b6d3f94ea12..d7d997f6c2d9 100644 --- a/snapshots/wb/2024-06-26/extract_projections_from_article.py +++ b/snapshots/wb/2024-06-26/extract_projections_from_article.py @@ -16,7 +16,6 @@ Based on https://stackoverflow.com/questions/62031809/extracting-javascript-variables-into-python-dictionaries """ - import json from pathlib import Path diff --git a/snapshots/wb/2024-10-07/pip_api.py b/snapshots/wb/2024-10-07/pip_api.py index 0d4940375565..d791bf23c52f 100644 --- a/snapshots/wb/2024-10-07/pip_api.py +++ b/snapshots/wb/2024-10-07/pip_api.py @@ -44,7 +44,6 @@ """ - import io import time from multiprocessing.pool import ThreadPool diff --git a/snapshots/who/2023-08-01/mortality_database.py b/snapshots/who/2023-08-01/mortality_database.py index 2f2fdea2a9e7..e7be652f9fce 100644 --- a/snapshots/who/2023-08-01/mortality_database.py +++ b/snapshots/who/2023-08-01/mortality_database.py @@ -17,6 +17,7 @@ ICD 10 codes were gathered from the downloaded files and the broad cause group was inferred from the platform. """ + import os from pathlib import Path diff --git a/snapshots/who/2024-07-26/mortality_database.py b/snapshots/who/2024-07-26/mortality_database.py index e72582eb4405..f455a20607a4 100644 --- a/snapshots/who/2024-07-26/mortality_database.py +++ b/snapshots/who/2024-07-26/mortality_database.py @@ -17,6 +17,7 @@ ICD 10 codes were gathered from the downloaded files and the broad cause group was inferred from the platform. """ + import os from pathlib import Path diff --git a/snapshots/who/2024-08-06/mortality_database_cancer.py b/snapshots/who/2024-08-06/mortality_database_cancer.py index b5d18773ff8c..f7a32af51822 100644 --- a/snapshots/who/2024-08-06/mortality_database_cancer.py +++ b/snapshots/who/2024-08-06/mortality_database_cancer.py @@ -17,6 +17,7 @@ ICD 10 codes were gathered from the downloaded files and the broad cause group was inferred from the platform. """ + import os from pathlib import Path diff --git a/tests/data_helpers/test_geo.py b/tests/data_helpers/test_geo.py index 813cec00e7ee..da40a5ce0b1b 100644 --- a/tests/data_helpers/test_geo.py +++ b/tests/data_helpers/test_geo.py @@ -1,6 +1,4 @@ -"""Test functions in etl.data_helpers.geo module. - -""" +"""Test functions in etl.data_helpers.geo module.""" import json import unittest diff --git a/tests/data_helpers/test_misc.py b/tests/data_helpers/test_misc.py index 149c5ab6b41a..64dfce89e1e4 100644 --- a/tests/data_helpers/test_misc.py +++ b/tests/data_helpers/test_misc.py @@ -1,6 +1,4 @@ -"""Test functions in etl.data_helpers.misc module. - -""" +"""Test functions in etl.data_helpers.misc module.""" import numpy as np import pandas as pd diff --git a/tests/test_etl.py b/tests/test_etl.py index 006ded138868..7726e42307fe 100644 --- a/tests/test_etl.py +++ b/tests/test_etl.py @@ -5,6 +5,7 @@ """ Check the integrity of the DAG. """ + from pathlib import Path from typing import List, Union from unittest.mock import patch diff --git a/uv.lock b/uv.lock index d52f17610dce..171c472ae0c5 100644 --- a/uv.lock +++ b/uv.lock @@ -1186,7 +1186,7 @@ dev = [ { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=8.3.2" }, { name = "pyyaml", specifier = ">=6.0.2" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = ">=0.8.2" }, { name = "sqlacodegen", git = "https://github.com/agronholm/sqlacodegen.git" }, { name = "types-pyyaml", specifier = ">=6.0.12.20240808" }, { name = "watchdog", specifier = ">=4.0.1" }, @@ -3618,7 +3618,7 @@ dev = [ { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=6.2.5" }, { name = "pytest-cov", specifier = ">=2.12.1" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, { name = "watchdog", specifier = ">=2.1.5" }, ] @@ -3667,7 +3667,7 @@ dev = [ { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=6.2.5" }, { name = "pytest-cov", specifier = ">=2.12.1" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, { name = "sphinx", specifier = "==4.5.0" }, { name = "watchdog", specifier = ">=2.1.5" }, ] @@ -3694,7 +3694,7 @@ dev = [ { name = "ipdb", specifier = ">=0.13.13" }, { name = "pyright", specifier = "==1.1.373" }, { name = "pytest", specifier = ">=7.2.0" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, ] [[package]] @@ -5414,26 +5414,27 @@ wheels = [ [[package]] name = "ruff" -version = "0.1.6" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/25/4c/2f786388acd82c295eedc4afeede7ef4b29cf27277151d8d13be906bac70/ruff-0.1.6.tar.gz", hash = "sha256:1b09f29b16c6ead5ea6b097ef2764b42372aebe363722f1605ecbcd2b9207184", size = 1719627 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/b6/75/5054ec93ec0d5db26e218cb2814ddaa085ba1f29fad0ec56dd8107a97688/ruff-0.1.6-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:88b8cdf6abf98130991cbc9f6438f35f6e8d41a02622cc5ee130a02a0ed28703", size = 11628468 }, - { url = "https://files.pythonhosted.org/packages/a2/91/8b2920f6026c069ae0802fc3c44f7337e04bf2a198ce94bfab360073477a/ruff-0.1.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:5c549ed437680b6105a1299d2cd30e4964211606eeb48a0ff7a93ef70b902248", size = 5990066 }, - { url = "https://files.pythonhosted.org/packages/df/1e/03ef0cc5c7d03e50d4f954218551d6001f1f70e6f391cdb678efb5c6e6ab/ruff-0.1.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1cf5f701062e294f2167e66d11b092bba7af6a057668ed618a9253e1e90cfd76", size = 5929313 }, - { url = "https://files.pythonhosted.org/packages/92/7c/38fd1b9cb624f5725a6a08c81bf7e823c64b28622ffcb4369c56dc0a16d0/ruff-0.1.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:05991ee20d4ac4bb78385360c684e4b417edd971030ab12a4fbd075ff535050e", size = 5627943 }, - { url = "https://files.pythonhosted.org/packages/c7/c3/98e3d0eb92e5a2ec10f76c71067640b6f21def23c3b1ff8f08ab6348255e/ruff-0.1.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:87455a0c1f739b3c069e2f4c43b66479a54dea0276dd5d4d67b091265f6fd1dc", size = 6074206 }, - { url = "https://files.pythonhosted.org/packages/e8/33/62fb966eb70d9bb45ddf5023d40e26946a5e5127d99956b84c8a9a76b153/ruff-0.1.6-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:683aa5bdda5a48cb8266fcde8eea2a6af4e5700a392c56ea5fb5f0d4bfdc0240", size = 6743205 }, - { url = "https://files.pythonhosted.org/packages/c7/f1/60d43182f98113156a1b21a17f30541dda9f5ffcfeedc2b54dc030a2c413/ruff-0.1.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:137852105586dcbf80c1717facb6781555c4e99f520c9c827bd414fac67ddfb6", size = 6600581 }, - { url = "https://files.pythonhosted.org/packages/09/92/36850598e84f75cfe8edd252dbf40442b4cc226ed2c76206a9b3cbfb9986/ruff-0.1.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd98138a98d48a1c36c394fd6b84cd943ac92a08278aa8ac8c0fdefcf7138f35", size = 7708098 }, - { url = "https://files.pythonhosted.org/packages/3b/2f/8ef67614631622aa3ea79b27e01ac86d7f90a988520454e3a84cb2fd890f/ruff-0.1.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a0cd909d25f227ac5c36d4e7e681577275fb74ba3b11d288aff7ec47e3ae745", size = 6295145 }, - { url = "https://files.pythonhosted.org/packages/3c/4b/af366db98d15efe83fd3e3aae7319d3897e3475fc53a2f1b0287c8255422/ruff-0.1.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e8fd1c62a47aa88a02707b5dd20c5ff20d035d634aa74826b42a1da77861b5ff", size = 5878111 }, - { url = "https://files.pythonhosted.org/packages/bf/af/25b794e750f1d74a83ce6b16625e3306beeb2161c517b9d883958de05526/ruff-0.1.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:fd89b45d374935829134a082617954120d7a1470a9f0ec0e7f3ead983edc48cc", size = 5629339 }, - { url = "https://files.pythonhosted.org/packages/81/b0/92c4cb6bceb19ebd27cedd1f45b337f7fd5397e6b760094831266be59661/ruff-0.1.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:491262006e92f825b145cd1e52948073c56560243b55fb3b4ecb142f6f0e9543", size = 5959772 }, - { url = "https://files.pythonhosted.org/packages/11/02/3a7e3101d88b113f326e0fdf3f566fba2600fc4b1fd828d56027d293e22d/ruff-0.1.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:ea284789861b8b5ca9d5443591a92a397ac183d4351882ab52f6296b4fdd5462", size = 6356759 }, - { url = "https://files.pythonhosted.org/packages/fc/93/8a4b3523c4564168aab720d8361b4bf12173b099509caaac93168b72927a/ruff-0.1.6-py3-none-win32.whl", hash = "sha256:1610e14750826dfc207ccbcdd7331b6bd285607d4181df9c1c6ae26646d6848a", size = 5835632 }, - { url = "https://files.pythonhosted.org/packages/40/e3/55ae013087bd892dd61c25895a119ffec2f9b9f7c3d1fd0cea5f5f7bd74a/ruff-0.1.6-py3-none-win_amd64.whl", hash = "sha256:4558b3e178145491e9bc3b2ee3c4b42f19d19384eaa5c59d10acf6e8f8b57e33", size = 6226075 }, - { url = "https://files.pythonhosted.org/packages/21/f7/fdce733e594e1b274fc9232256be6a4e03e8d2cb9e354c783801191e2f4d/ruff-0.1.6-py3-none-win_arm64.whl", hash = "sha256:03910e81df0d8db0e30050725a5802441c2022ea3ae4fe0609b76081731accbc", size = 5965823 }, +version = "0.8.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5e/2b/01245f4f3a727d60bebeacd7ee6d22586c7f62380a2597ddb22c2f45d018/ruff-0.8.2.tar.gz", hash = "sha256:b84f4f414dda8ac7f75075c1fa0b905ac0ff25361f42e6d5da681a465e0f78e5", size = 3349020 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/91/29/366be70216dba1731a00a41f2f030822b0c96c7c4f3b2c0cdce15cbace74/ruff-0.8.2-py3-none-linux_armv6l.whl", hash = "sha256:c49ab4da37e7c457105aadfd2725e24305ff9bc908487a9bf8d548c6dad8bb3d", size = 10530649 }, + { url = "https://files.pythonhosted.org/packages/63/82/a733956540bb388f00df5a3e6a02467b16c0e529132625fe44ce4c5fb9c7/ruff-0.8.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ec016beb69ac16be416c435828be702ee694c0d722505f9c1f35e1b9c0cc1bf5", size = 10274069 }, + { url = "https://files.pythonhosted.org/packages/3d/12/0b3aa14d1d71546c988a28e1b412981c1b80c8a1072e977a2f30c595cc4a/ruff-0.8.2-py3-none-macosx_11_0_arm64.whl", hash = "sha256:f05cdf8d050b30e2ba55c9b09330b51f9f97d36d4673213679b965d25a785f3c", size = 9909400 }, + { url = "https://files.pythonhosted.org/packages/23/08/f9f08cefb7921784c891c4151cce6ed357ff49e84b84978440cffbc87408/ruff-0.8.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:60f578c11feb1d3d257b2fb043ddb47501ab4816e7e221fbb0077f0d5d4e7b6f", size = 10766782 }, + { url = "https://files.pythonhosted.org/packages/e4/71/bf50c321ec179aa420c8ec40adac5ae9cc408d4d37283a485b19a2331ceb/ruff-0.8.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:cbd5cf9b0ae8f30eebc7b360171bd50f59ab29d39f06a670b3e4501a36ba5897", size = 10286316 }, + { url = "https://files.pythonhosted.org/packages/f2/83/c82688a2a6117539aea0ce63fdf6c08e60fe0202779361223bcd7f40bd74/ruff-0.8.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b402ddee3d777683de60ff76da801fa7e5e8a71038f57ee53e903afbcefdaa58", size = 11338270 }, + { url = "https://files.pythonhosted.org/packages/7f/d7/bc6a45e5a22e627640388e703160afb1d77c572b1d0fda8b4349f334fc66/ruff-0.8.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:705832cd7d85605cb7858d8a13d75993c8f3ef1397b0831289109e953d833d29", size = 12058579 }, + { url = "https://files.pythonhosted.org/packages/da/3b/64150c93946ec851e6f1707ff586bb460ca671581380c919698d6a9267dc/ruff-0.8.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:32096b41aaf7a5cc095fa45b4167b890e4c8d3fd217603f3634c92a541de7248", size = 11615172 }, + { url = "https://files.pythonhosted.org/packages/e4/9e/cf12b697ea83cfe92ec4509ae414dc4c9b38179cc681a497031f0d0d9a8e/ruff-0.8.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e769083da9439508833cfc7c23e351e1809e67f47c50248250ce1ac52c21fb93", size = 12882398 }, + { url = "https://files.pythonhosted.org/packages/a9/27/96d10863accf76a9c97baceac30b0a52d917eb985a8ac058bd4636aeede0/ruff-0.8.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fe716592ae8a376c2673fdfc1f5c0c193a6d0411f90a496863c99cd9e2ae25d", size = 11176094 }, + { url = "https://files.pythonhosted.org/packages/eb/10/cd2fd77d4a4e7f03c29351be0f53278a393186b540b99df68beb5304fddd/ruff-0.8.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:81c148825277e737493242b44c5388a300584d73d5774defa9245aaef55448b0", size = 10771884 }, + { url = "https://files.pythonhosted.org/packages/71/5d/beabb2ff18870fc4add05fa3a69a4cb1b1d2d6f83f3cf3ae5ab0d52f455d/ruff-0.8.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d261d7850c8367704874847d95febc698a950bf061c9475d4a8b7689adc4f7fa", size = 10382535 }, + { url = "https://files.pythonhosted.org/packages/ae/29/6b3fdf3ad3e35b28d87c25a9ff4c8222ad72485ab783936b2b267250d7a7/ruff-0.8.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1ca4e3a87496dc07d2427b7dd7ffa88a1e597c28dad65ae6433ecb9f2e4f022f", size = 10886995 }, + { url = "https://files.pythonhosted.org/packages/e9/dc/859d889b4d9356a1a2cdbc1e4a0dda94052bc5b5300098647e51a58c430b/ruff-0.8.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:729850feed82ef2440aa27946ab39c18cb4a8889c1128a6d589ffa028ddcfc22", size = 11220750 }, + { url = "https://files.pythonhosted.org/packages/0b/08/e8f519f61f1d624264bfd6b8829e4c5f31c3c61193bc3cff1f19dbe7626a/ruff-0.8.2-py3-none-win32.whl", hash = "sha256:ac42caaa0411d6a7d9594363294416e0e48fc1279e1b0e948391695db2b3d5b1", size = 8729396 }, + { url = "https://files.pythonhosted.org/packages/f8/d4/ba1c7ab72aba37a2b71fe48ab95b80546dbad7a7f35ea28cf66fc5cea5f6/ruff-0.8.2-py3-none-win_amd64.whl", hash = "sha256:2aae99ec70abf43372612a838d97bfe77d45146254568d94926e8ed5bbb409ea", size = 9594729 }, + { url = "https://files.pythonhosted.org/packages/23/34/db20e12d3db11b8a2a8874258f0f6d96a9a4d631659d54575840557164c8/ruff-0.8.2-py3-none-win_arm64.whl", hash = "sha256:fb88e2a506b70cfbc2de6fae6681c4f944f7dd5f2fe87233a7233d888bad73e8", size = 9035131 }, ] [[package]] @@ -6748,7 +6749,7 @@ dev = [ { name = "pytest", specifier = ">=6.2.4" }, { name = "pyyaml", specifier = ">=6.0.1" }, { name = "requests-mock", specifier = ">=1.9.3" }, - { name = "ruff", specifier = "==0.1.6" }, + { name = "ruff", specifier = "==0.8.2" }, { name = "tqdm", specifier = ">=4.62.3" }, { name = "types-pyyaml", specifier = ">=6.0.5" }, { name = "types-requests", specifier = ">=2.25.2" },