chellow 1737970902.0.0__tar.gz → 1765896461.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of chellow might be problematic. Click here for more details.
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/.github/workflows/chellow.yml +2 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/PKG-INFO +33 -21
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/README.md +16 -4
- chellow-1765896461.0.0/VERSION +1 -0
- chellow-1765896461.0.0/bin/chellow_upgrader.sh +36 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/__init__.py +55 -18
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/bank_holidays.py +17 -3
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/dloads.py +2 -2
- chellow-1765896461.0.0/chellow/e/aahedc.py +88 -0
- chellow-1765896461.0.0/chellow/e/bill_importer.py +259 -0
- chellow-1765896461.0.0/chellow/e/bill_parsers/activity_mop_stark_xlsx.py +140 -0
- chellow-1765896461.0.0/chellow/e/bill_parsers/amr_dc_stark_xlsx.py +200 -0
- chellow-1765896461.0.0/chellow/e/bill_parsers/annual_mop_stark_xlsx.py +155 -0
- chellow-1765896461.0.0/chellow/e/bill_parsers/csv.py +189 -0
- chellow-1765896461.0.0/chellow/e/bill_parsers/drax_edi.py +502 -0
- chellow-1765896461.0.0/chellow/e/bill_parsers/engie_edi.py +423 -0
- chellow-1765896461.0.0/chellow/e/bill_parsers/engie_xls.py +411 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/haven_edi.py +189 -228
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/haven_edi_tprs.py +74 -67
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/mm.py +56 -38
- chellow-1765896461.0.0/chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py +175 -0
- chellow-1765896461.0.0/chellow/e/bill_parsers/settlement_dc_stark_xlsx.py +276 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/sse_edi.py +107 -75
- chellow-1765896461.0.0/chellow/e/bill_parsers/sww_xls.py +173 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bmarketidx.py +13 -3
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bsuos.py +26 -3
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/cfd.py +65 -64
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/computer.py +72 -38
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/dno_rate_parser.py +336 -67
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/duos.py +66 -14
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/elexon.py +9 -2
- chellow-1765896461.0.0/chellow/e/energy_management.py +278 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/hh_importer.py +1 -1
- chellow-1737970902.0.0/chellow/e/laf_import.py → chellow-1765896461.0.0/chellow/e/lafs.py +69 -4
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/lcc.py +1 -1
- chellow-1765896461.0.0/chellow/e/rab.py +75 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/rcrc.py +14 -1
- chellow-1765896461.0.0/chellow/e/ro.py +98 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/system_price.py +1 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/tlms.py +161 -10
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/tnuos.py +13 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/triad.py +16 -6
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/views.py +1321 -604
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/edi_lib.py +4 -27
- chellow-1765896461.0.0/chellow/fake_batch_updater.py +330 -0
- chellow-1765896461.0.0/chellow/gas/bill_parser_bgs_xlsx.py +274 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/gas/bill_parser_total_edi.py +2 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/gas/dn_rate_parser.py +1 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/gas/transportation.py +0 -22
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/gas/views.py +43 -17
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/general_import.py +511 -161
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/models.py +182 -62
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/national_grid.py +7 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/rate_server.py +3 -1
- chellow-1765896461.0.0/chellow/reports/report_111.py +782 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_169.py +2 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_187.py +20 -28
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_247.py +156 -162
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_33.py +0 -6
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_429.py +122 -18
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_59.py +8 -8
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_bills.py +2 -0
- chellow-1765896461.0.0/chellow/reports/report_channel_snags.py +305 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_csv_site_hh_data.py +7 -4
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_ecoes_comparison.py +65 -36
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_g_monthly_duration.py +4 -4
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_g_supplies_snapshot.py +2 -17
- chellow-1765896461.0.0/chellow/reports/report_missing_bills.py +157 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_sscs.py +5 -5
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/rrun.py +5 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/static/css/chellow.css +1 -1
- chellow-1765896461.0.0/chellow/templates/dashboard.html +54 -0
- chellow-1765896461.0.0/chellow/templates/e/channel_snags.html +72 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_auto_importer.html +1 -1
- chellow-1765896461.0.0/chellow/templates/e/dc_batch.html +138 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_batch_add.html +2 -3
- chellow-1765896461.0.0/chellow/templates/e/dc_batch_edit.html +62 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_batch_file.html +2 -3
- chellow-1765896461.0.0/chellow/templates/e/dc_batch_file_edit.html +52 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_batch_upload_file.html +122 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_batches.html +2 -1
- chellow-1765896461.0.0/chellow/templates/e/dc_batches_edit.html +26 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_bill.html +27 -5
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_bill_add.html +4 -4
- chellow-1765896461.0.0/chellow/templates/e/dc_bill_edit.html +70 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_bill_import.html +1 -1
- chellow-1765896461.0.0/chellow/templates/e/dc_bill_import_contract.html +130 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_contract.html +16 -2
- chellow-1765896461.0.0/chellow/templates/e/dc_element.html +41 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_element_add.html +36 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_element_edit.html +49 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_entry_add.html +33 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_entry_edit.html +39 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_issue.html +82 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_issue_add.html +26 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_issue_attach_supply.html +26 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_issue_edit.html +37 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_issues.html +57 -0
- chellow-1765896461.0.0/chellow/templates/e/dc_rate_script_edit.html +49 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/em_hh_data.html +0 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/em_site.html +13 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/em_totals.html +19 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/lafs.html +1 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/llfc.html +1 -1
- chellow-1765896461.0.0/chellow/templates/e/markdown_docs.html +83 -0
- chellow-1765896461.0.0/chellow/templates/e/mop_batch.html +135 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_batch_add.html +2 -3
- chellow-1765896461.0.0/chellow/templates/e/mop_batch_edit.html +58 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_batch_file.html +1 -2
- chellow-1765896461.0.0/chellow/templates/e/mop_batch_upload_file.html +122 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_batches.html +2 -1
- chellow-1765896461.0.0/chellow/templates/e/mop_batches_edit.html +26 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_bill.html +31 -8
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_bill_add.html +7 -27
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_bill_import.html +1 -1
- chellow-1765896461.0.0/chellow/templates/e/mop_bill_import_contract.html +130 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_contract.html +15 -5
- chellow-1765896461.0.0/chellow/templates/e/mop_element.html +41 -0
- chellow-1765896461.0.0/chellow/templates/e/mop_element_add.html +36 -0
- chellow-1765896461.0.0/chellow/templates/e/mop_element_edit.html +49 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/site_add_e_supply.html +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/site_add_e_supply_form.html +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_batch.html +5 -9
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_batch_add.html +2 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_batch_edit.html +1 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_batch_file.html +3 -5
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_batch_file_add.html +18 -11
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_batch_upload_file.html +83 -9
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_batches.html +4 -4
- chellow-1765896461.0.0/chellow/templates/e/supplier_batches_edit.html +26 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_bill.html +29 -6
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_bill_add.html +3 -3
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_bill_import.html +1 -1
- chellow-1765896461.0.0/chellow/templates/e/supplier_bill_import_contract.html +118 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_contract.html +15 -1
- chellow-1765896461.0.0/chellow/templates/e/supplier_contract_edit.html +40 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_element.html +45 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_element_add.html +36 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_element_edit.html +51 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_entry_add.html +33 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_entry_edit.html +39 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_issue.html +81 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_issue_add.html +26 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_issue_attach_supply.html +26 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_issue_edit.html +37 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_issues.html +54 -0
- chellow-1765896461.0.0/chellow/templates/e/supplier_rate_script_edit.html +50 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supply.html +7 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supply_eras.html +8 -20
- chellow-1765896461.0.0/chellow/templates/e/supply_issues.html +50 -0
- chellow-1765896461.0.0/chellow/templates/fake_batch_updater.html +99 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/bill_import.html +4 -4
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supplier_contracts.html +24 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/general_imports.html +126 -27
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/home.html +2 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/macros.html +14 -4
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/rate_server.html +26 -0
- chellow-1765896461.0.0/chellow/templates/report_run_bill_check.html +159 -0
- chellow-1765896461.0.0/chellow/templates/report_run_ecoes_comparison.html +167 -0
- chellow-1737970902.0.0/chellow/templates/report_run_bill_check.html → chellow-1765896461.0.0/chellow/templates/report_run_g_bill_check.html +69 -86
- chellow-1765896461.0.0/chellow/templates/report_run_missing_e_bills.html +97 -0
- chellow-1765896461.0.0/chellow/templates/report_run_row_bill_check.html +247 -0
- chellow-1765896461.0.0/chellow/templates/report_run_row_g_bill_check.html +261 -0
- chellow-1765896461.0.0/chellow/templates/reports/channel_snags.html +95 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/site.html +3 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/testing.py +2 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/utils.py +50 -5
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/views.py +264 -73
- chellow-1765896461.0.0/pyproject.toml +83 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/bill_parsers/test_activity_mop_stark_xlsx.py +5 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/bill_parsers/test_annual_mop_stark_xlsx.py +20 -4
- chellow-1765896461.0.0/test/e/bill_parsers/test_bill_parser_amr_dc_stark_xlsx.py +90 -0
- chellow-1765896461.0.0/test/e/bill_parsers/test_bill_parser_csv.py +244 -0
- chellow-1765896461.0.0/test/e/bill_parsers/test_bill_parser_drax_edi.py +340 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/bill_parsers/test_bill_parser_engie_edi.py +181 -140
- chellow-1765896461.0.0/test/e/bill_parsers/test_bill_parser_engie_xls.py +330 -0
- chellow-1765896461.0.0/test/e/bill_parsers/test_bill_parser_haven_edi.py +1011 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi_tprs.py +76 -10
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/bill_parsers/test_bill_parser_mm.py +58 -0
- chellow-1765896461.0.0/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx.py +279 -0
- chellow-1765896461.0.0/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx.py +778 -0
- chellow-1765896461.0.0/test/e/bill_parsers/test_bill_parser_sse_edi.py +238 -0
- chellow-1765896461.0.0/test/e/bill_parsers/test_bill_parser_sww_xls.py +298 -0
- chellow-1765896461.0.0/test/e/test_bill_importer.py +288 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_ccl.py +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_cfd.py +27 -15
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_computer.py +195 -12
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_dno_rate_parser.py +98 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_duos.py +293 -11
- chellow-1765896461.0.0/test/e/test_energy_management.py +216 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_hh_importer.py +0 -2
- chellow-1737970902.0.0/test/e/test_laf_importer.py → chellow-1765896461.0.0/test/e/test_lafs.py +1 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_ro.py +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_scenario.py +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_tlms.py +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_tnuos.py +2 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_triad.py +223 -3
- chellow-1737970902.0.0/test/e/test_e_views.py → chellow-1765896461.0.0/test/e/test_views.py +1581 -228
- chellow-1765896461.0.0/test/gas/bill_parsers/test_bill_parser_bgs_xlsx.py +604 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/gas/test_gas_views.py +63 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_g_monthly_duration.py +5 -5
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_g_supplies_snapshot.py +4 -4
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_g_virtual_bills.py +1 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_109.py +0 -2
- chellow-1765896461.0.0/test/reports/test_report_111.py +1347 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_169.py +3 -3
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_181.py +1 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_187.py +64 -33
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_219.py +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_231.py +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_241.py +1 -3
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_247.py +700 -105
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_29.py +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_291.py +1 -5
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_33.py +0 -14
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_387.py +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_41.py +31 -35
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_429.py +120 -26
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_59.py +26 -43
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_87.py +0 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_asset_comparison.py +1 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_bills.py +2 -2
- chellow-1765896461.0.0/test/reports/test_report_channel_snags.py +596 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_csv_llfcs.py +1 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_csv_site_hh_data.py +4 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_csv_site_snags.py +1 -1
- chellow-1765896461.0.0/test/reports/test_report_dno_vl_parser.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_ecoes_comparison.py +192 -6
- chellow-1765896461.0.0/test/reports/test_report_missing_e_bills.py +489 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_sscs.py +1 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_supply_contacts.py +1 -1
- chellow-1765896461.0.0/test/test_edi_lib.py +0 -0
- chellow-1765896461.0.0/test/test_fake_batch_updater.py +74 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/test_general_import.py +286 -28
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/test_models.py +0 -24
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/test_rate_server.py +4 -2
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/test_utils.py +6 -1
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/test_views.py +29 -10
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/utils.py +1 -1
- chellow-1737970902.0.0/VERSION +0 -1
- chellow-1737970902.0.0/bin/chellow_service_monitor.sh +0 -16
- chellow-1737970902.0.0/chellow/commands.py +0 -52
- chellow-1737970902.0.0/chellow/e/aahedc.py +0 -17
- chellow-1737970902.0.0/chellow/e/bill_importer.py +0 -203
- chellow-1737970902.0.0/chellow/e/bill_parsers/activity_mop_stark_xlsx.py +0 -125
- chellow-1737970902.0.0/chellow/e/bill_parsers/annual_mop_stark_xlsx.py +0 -137
- chellow-1737970902.0.0/chellow/e/bill_parsers/csv.py +0 -151
- chellow-1737970902.0.0/chellow/e/bill_parsers/engie_edi.py +0 -468
- chellow-1737970902.0.0/chellow/e/bill_parsers/engie_xls.py +0 -425
- chellow-1737970902.0.0/chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py +0 -151
- chellow-1737970902.0.0/chellow/e/bill_parsers/settlement_dc_stark_xlsx.py +0 -172
- chellow-1737970902.0.0/chellow/e/bill_parsers/sww_xls.py +0 -186
- chellow-1737970902.0.0/chellow/e/energy_management.py +0 -294
- chellow-1737970902.0.0/chellow/e/ro.py +0 -18
- chellow-1737970902.0.0/chellow/reports/report_111.py +0 -857
- chellow-1737970902.0.0/chellow/reports/report_233.py +0 -150
- chellow-1737970902.0.0/chellow/templates/e/channel_snags.html +0 -129
- chellow-1737970902.0.0/chellow/templates/e/dc_batch.html +0 -185
- chellow-1737970902.0.0/chellow/templates/e/dc_batch_edit.html +0 -66
- chellow-1737970902.0.0/chellow/templates/e/dc_batch_file_edit.html +0 -64
- chellow-1737970902.0.0/chellow/templates/e/dc_batch_upload_file.html +0 -54
- chellow-1737970902.0.0/chellow/templates/e/dc_bill_edit.html +0 -90
- chellow-1737970902.0.0/chellow/templates/e/dc_rate_script_edit.html +0 -66
- chellow-1737970902.0.0/chellow/templates/e/mop_batch.html +0 -182
- chellow-1737970902.0.0/chellow/templates/e/mop_batch_edit.html +0 -66
- chellow-1737970902.0.0/chellow/templates/e/mop_batch_upload_file.html +0 -56
- chellow-1737970902.0.0/chellow/templates/e/supplier_bill_imports.html +0 -421
- chellow-1737970902.0.0/chellow/templates/e/supplier_contract_edit.html +0 -52
- chellow-1737970902.0.0/chellow/templates/e/supplier_rate_script_edit.html +0 -65
- chellow-1737970902.0.0/chellow/templates/report_run_ecoes_comparison.html +0 -139
- chellow-1737970902.0.0/chellow/templates/report_run_row_bill_check.html +0 -191
- chellow-1737970902.0.0/pyproject.toml +0 -71
- chellow-1737970902.0.0/setup.cfg +0 -6
- chellow-1737970902.0.0/test/e/bill_parsers/test_bill_parser_csv.py +0 -119
- chellow-1737970902.0.0/test/e/bill_parsers/test_bill_parser_engie_xls.py +0 -179
- chellow-1737970902.0.0/test/e/bill_parsers/test_bill_parser_haven_edi.py +0 -541
- chellow-1737970902.0.0/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills.nonsettlement.dc.stark.xlsx +0 -0
- chellow-1737970902.0.0/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills_old.nonsettlement.dc.stark.xlsx +0 -0
- chellow-1737970902.0.0/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/test_bill_parser_nonsettlement_dc_stark_xlsx.py +0 -101
- chellow-1737970902.0.0/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx/bills.settlement.dc.stark.xlsx +0 -0
- chellow-1737970902.0.0/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx/test_bill_parser_settlement_dc_stark_xlsx.py +0 -11
- chellow-1737970902.0.0/test/e/bill_parsers/test_bill_parser_sse_edi.py +0 -134
- chellow-1737970902.0.0/test/e/bill_parsers/test_bill_parser_sww_xls.py +0 -139
- chellow-1737970902.0.0/test/e/test_bill_importer.py +0 -30
- chellow-1737970902.0.0/test/reports/test_report_111.py +0 -544
- chellow-1737970902.0.0/test/reports/test_report_233.py +0 -28
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/.ebextensions/chellow.config +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/.gitignore +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/application.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/bin/chellow_start.sh +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/api.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/__init__.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/__init__.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/bgb_edi.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/edf_export_xlsx.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/engie_export_xlsx.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/engie_xlsx.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/gdf_csv.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/bill_parsers/haven_csv.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/ccl.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/hh_parser_bg_csv.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/hh_parser_df2.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/hh_parser_edf_csv.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/hh_parser_schneider_csv.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/hh_parser_schneider_xlsx.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/hh_parser_simple_csv.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/hh_parser_vital_xlsx.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/mdd_importer.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/e/scenario.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/gas/bill_import.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/gas/bill_parser_csv.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/gas/bill_parser_engie_edi.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/gas/ccl.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/gas/cv.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/gas/engine.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/proxy.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/__init__.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_109.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_181.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_183.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_219.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_231.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_241.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_29.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_291.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_387.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_41.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_81.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_87.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_asset_comparison.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_batches.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_csv_llfcs.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_csv_site_snags.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_g_supply_virtual_bill.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_g_virtual_bills.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_g_virtual_bills_hh.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/reports/report_supply_contacts.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/static/images/favicon.svg +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/static/images/favicon_test.svg +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/static/images/logo.png +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/static/js/htmx.min.js +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/403.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/base.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/bill_type.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/bill_types.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/chain.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/csv_sites_monthly_duration.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/downloads.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/asset_comparison.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/channel.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/channel_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/channel_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/channel_snag.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/channel_snag_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/comm.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/comms.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/cop.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/cops.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/csv_bills.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/csv_register_reads.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/csv_sites_hh_data.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/csv_sites_triad.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/csv_supplies_hh_data.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/csv_supplies_snapshot.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/csv_supplies_triad.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_bill_imports.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_contract_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_contract_hh_import.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_contract_hh_imports.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_contract_properties.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_contract_properties_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_contracts.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_contracts_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_rate_script.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dc_rate_script_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dno.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dno_rate_script.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dno_rate_script_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dno_rate_script_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dnos.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dtc_meter_type.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/dtc_meter_types.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/duration_report.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/elexon.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/em_months.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/energisation_status.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/energisation_statuses.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/era_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/era_edit_form.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/era_supplier_bill_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/generator_type.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/generator_types.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/gsp_group.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/gsp_groups.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/hh_datum_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/lcc.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/llfc_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/llfcs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/market_role.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/market_roles.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/meter_payment_type.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/meter_payment_types.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/meter_type.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/meter_types.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_batch_file_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_bill_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_bill_imports.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_contract_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_contract_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_contracts.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_rate_script.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_rate_script_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mop_rate_script_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc_llfc.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc_llfc_ssc.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc_llfc_ssc_pc.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc_llfc_ssc_pcs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc_llfc_sscs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc_llfcs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc_participant.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc_participants.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc_ssc.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtc_sscs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/mtcs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/ods_monthly_duration.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/participant.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/participants.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/parties.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/party.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/pc.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/pcs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/read_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/read_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/read_type.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/read_types.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/scenario.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/scenario_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/scenario_docs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/scenario_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/scenarios.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/site_hh_data.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/site_site_snags.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/site_snag.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/site_snag_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/site_snags.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/site_snags_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/source.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/sources.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/ssc.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/sscs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_batch_file_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_bill_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_contract_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_contracts.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_rate_script.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supplier_rate_script_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supply_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supply_hh_data.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supply_months.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supply_note_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supply_note_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supply_notes.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supply_post.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/supply_virtual_bill.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/tpr.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/e/tprs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/edi_viewer.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/batch.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/batch_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/batch_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/batches.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/bill.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/bill_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/bill_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/bill_imports.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/dn.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/dns.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/era_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/exit_zone.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/industry_auto_importer.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/industry_contract.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/industry_contract_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/industry_contract_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/industry_contracts.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/industry_rate_script.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/industry_rate_script_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/industry_rate_script_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/ldz.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/read_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/read_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/read_type.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/read_types.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/reading_frequencies.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/reading_frequency.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/reports.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supplier_contract.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supplier_contract_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supplier_contract_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supplier_rate_script.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supplier_rate_script_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supplier_rate_script_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supplies.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supply.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supply_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supply_note_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supply_note_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/supply_notes.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/unit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/g/units.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/general_import.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/input_date.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/local_report.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/local_reports.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/national_grid.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/non_core_auto_importer.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/non_core_contract.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/non_core_contract_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/non_core_contracts.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/non_core_rate_script.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/non_core_rate_script_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/non_core_rate_script_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/object_summary.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/report_run.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/report_run_asset_comparison.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/report_run_monthly_duration_org.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/report_run_row.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/report_run_supply_contacts.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/report_runs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/scenario.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/scenario_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/scenario_docs.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/scenario_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/scenarios.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/site_add.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/site_edit.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/site_gen_graph.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/site_months.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/site_used_graph.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/sites.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/supplies.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/system.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/tester.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/user.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/user_roles.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/chellow/templates/users.html +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/gpl.txt +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/requirements.txt +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/systemd/chellow.service +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/systemd/chellow_upgrader.service +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/systemd/chellow_upgrader.timer +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/conftest.py +0 -0
- /chellow-1737970902.0.0/test/reports/test_report_dno_vl_parser.py → /chellow-1765896461.0.0/test/e/__init__.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/bill_parsers/test_bill_parser_edf_export_xlsx.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/bill_parsers/test_bill_parser_engie_xlsx.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/bill_parsers/test_bill_parser_haven_csv.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/system_price/prices.xls +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/system_price/test_system_price.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_aahedc.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_bsuos.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_hh_parser_df2.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_hh_parser_vital_xlsx.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_mdd_importer.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/e/test_rcrc_importer.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/gas/bill_parsers/test_g_bill_parser_engie_edi.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/gas/bill_parsers/test_g_bill_parser_total_edi.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/gas/test_dn_rate_parser.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/gas/test_engine.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/gas/test_g_cv.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/gas/test_transportation.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_g_supply_virtual_bill.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_g_virtual_bills_hh.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_183.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_81.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/reports/test_report_batches.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/test_chellow.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/test_dloads.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/test_edi_viewer.py +0 -0
- {chellow-1737970902.0.0 → chellow-1765896461.0.0}/test/test_testing.py +0 -0
|
@@ -10,7 +10,7 @@ jobs:
|
|
|
10
10
|
# Label of the container job
|
|
11
11
|
test:
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
|
-
container: python:3.
|
|
13
|
+
container: python:3.11
|
|
14
14
|
|
|
15
15
|
services:
|
|
16
16
|
postgres:
|
|
@@ -38,7 +38,7 @@ jobs:
|
|
|
38
38
|
|
|
39
39
|
build:
|
|
40
40
|
runs-on: ubuntu-latest
|
|
41
|
-
container: python:3.
|
|
41
|
+
container: python:3.11
|
|
42
42
|
needs: test
|
|
43
43
|
steps:
|
|
44
44
|
- uses: actions/checkout@v4
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1765896461.0.0
|
|
4
4
|
Summary: Web Application for checking UK energy bills.
|
|
5
5
|
Project-URL: Homepage, https://github.com/WessexWater/chellow
|
|
6
6
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
7
7
|
Classifier: Operating System :: OS Independent
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Requires-Python: >=3.
|
|
10
|
-
Requires-Dist: flask-restx==1.2
|
|
11
|
-
Requires-Dist: flask==
|
|
9
|
+
Requires-Python: >=3.11
|
|
10
|
+
Requires-Dist: flask-restx==1.3.2
|
|
11
|
+
Requires-Dist: flask==3.1.2
|
|
12
|
+
Requires-Dist: markdown-it-py==4.0.0
|
|
12
13
|
Requires-Dist: odio==0.0.23
|
|
13
|
-
Requires-Dist: openpyxl==3.1.
|
|
14
|
-
Requires-Dist: paramiko==
|
|
15
|
-
Requires-Dist:
|
|
16
|
-
Requires-Dist: pg8000==1.31.1
|
|
14
|
+
Requires-Dist: openpyxl==3.1.5
|
|
15
|
+
Requires-Dist: paramiko==4.0.0
|
|
16
|
+
Requires-Dist: pg8000==1.31.5
|
|
17
17
|
Requires-Dist: pip>=9.0.1
|
|
18
|
-
Requires-Dist: psutil==
|
|
19
|
-
Requires-Dist: pympler==1.
|
|
20
|
-
Requires-Dist: pypdf==4.
|
|
18
|
+
Requires-Dist: psutil==7.1.1
|
|
19
|
+
Requires-Dist: pympler==1.1
|
|
20
|
+
Requires-Dist: pypdf==6.4.0
|
|
21
21
|
Requires-Dist: python-dateutil==2.8.2
|
|
22
|
-
Requires-Dist: pytz==
|
|
23
|
-
Requires-Dist: requests==2.32.
|
|
24
|
-
Requires-Dist: sqlalchemy==2.0.
|
|
25
|
-
Requires-Dist: waitress==3.0.
|
|
26
|
-
Requires-Dist: xlrd==2.0.
|
|
27
|
-
Requires-Dist: zish==0.1.
|
|
22
|
+
Requires-Dist: pytz==2025.2
|
|
23
|
+
Requires-Dist: requests==2.32.5
|
|
24
|
+
Requires-Dist: sqlalchemy==2.0.44
|
|
25
|
+
Requires-Dist: waitress==3.0.2
|
|
26
|
+
Requires-Dist: xlrd==2.0.2
|
|
27
|
+
Requires-Dist: zish==0.1.12
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
29
29
|
|
|
30
30
|
# Chellow
|
|
@@ -46,7 +46,7 @@ Chellow is a web application for checking UK electricity and gas bills. It's des
|
|
|
46
46
|
for organizations with high electricity consumption. The software is hosted at
|
|
47
47
|
https://github.com/WessexWater/chellow.
|
|
48
48
|
|
|
49
|
-
[](https://github.com/WessexWater/chellow/workflows/chellow)
|
|
49
|
+
[](https://github.com/WessexWater/chellow/actions/workflows/chellow.yml)
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
## Installation
|
|
@@ -54,8 +54,7 @@ https://github.com/WessexWater/chellow.
|
|
|
54
54
|
Chellow is a Python web application that uses the PostgreSQL database. To install
|
|
55
55
|
Chellow, follow these steps:
|
|
56
56
|
|
|
57
|
-
* Install [PostgreSQL](http://www.postgresql.org/)
|
|
58
|
-
* Set the PostgreSQL time zone to 'UTC'.
|
|
57
|
+
* Install [PostgreSQL](http://www.postgresql.org/) 15
|
|
59
58
|
* Create a PostgreSQL database: `createdb --encoding=UTF8 chellow`
|
|
60
59
|
* Set up the following environment variables to configure Chellow:
|
|
61
60
|
|
|
@@ -75,7 +74,7 @@ in Windows an environment variable can be set by doing:
|
|
|
75
74
|
|
|
76
75
|
`set PGUSER=postgres`
|
|
77
76
|
|
|
78
|
-
* Install Python 3.
|
|
77
|
+
* Install Python 3.11
|
|
79
78
|
* Create a virtual environment: `python3 -m venv venv`
|
|
80
79
|
* Activate the virtual environment: `source venv/bin/activate`
|
|
81
80
|
* Install Chellow: `pip install chellow`
|
|
@@ -85,6 +84,19 @@ in Windows an environment variable can be set by doing:
|
|
|
85
84
|
`admin@example.com` and the password `admin`, and then the home page should appear.
|
|
86
85
|
Change the admin password from the `users` page.
|
|
87
86
|
|
|
87
|
+
### Azure
|
|
88
|
+
|
|
89
|
+
SSH into the machine and you'll be in ``/home/site/wwwroot``.
|
|
90
|
+
|
|
91
|
+
* Create a virtual environment: ``python -m venv antenv``
|
|
92
|
+
* Activate the virtual environment with: ``source antenv/bin/activate``
|
|
93
|
+
*
|
|
94
|
+
In ``/home/site/wwwroot`` create a file called ``app.py`` containing the following:
|
|
95
|
+
|
|
96
|
+
import chellow
|
|
97
|
+
|
|
98
|
+
app = chellow.create_app()
|
|
99
|
+
|
|
88
100
|
|
|
89
101
|
### Manually Upgrading Chellow
|
|
90
102
|
|
|
@@ -17,7 +17,7 @@ Chellow is a web application for checking UK electricity and gas bills. It's des
|
|
|
17
17
|
for organizations with high electricity consumption. The software is hosted at
|
|
18
18
|
https://github.com/WessexWater/chellow.
|
|
19
19
|
|
|
20
|
-
[](https://github.com/WessexWater/chellow/workflows/chellow)
|
|
20
|
+
[](https://github.com/WessexWater/chellow/actions/workflows/chellow.yml)
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
## Installation
|
|
@@ -25,8 +25,7 @@ https://github.com/WessexWater/chellow.
|
|
|
25
25
|
Chellow is a Python web application that uses the PostgreSQL database. To install
|
|
26
26
|
Chellow, follow these steps:
|
|
27
27
|
|
|
28
|
-
* Install [PostgreSQL](http://www.postgresql.org/)
|
|
29
|
-
* Set the PostgreSQL time zone to 'UTC'.
|
|
28
|
+
* Install [PostgreSQL](http://www.postgresql.org/) 15
|
|
30
29
|
* Create a PostgreSQL database: `createdb --encoding=UTF8 chellow`
|
|
31
30
|
* Set up the following environment variables to configure Chellow:
|
|
32
31
|
|
|
@@ -46,7 +45,7 @@ in Windows an environment variable can be set by doing:
|
|
|
46
45
|
|
|
47
46
|
`set PGUSER=postgres`
|
|
48
47
|
|
|
49
|
-
* Install Python 3.
|
|
48
|
+
* Install Python 3.11
|
|
50
49
|
* Create a virtual environment: `python3 -m venv venv`
|
|
51
50
|
* Activate the virtual environment: `source venv/bin/activate`
|
|
52
51
|
* Install Chellow: `pip install chellow`
|
|
@@ -56,6 +55,19 @@ in Windows an environment variable can be set by doing:
|
|
|
56
55
|
`admin@example.com` and the password `admin`, and then the home page should appear.
|
|
57
56
|
Change the admin password from the `users` page.
|
|
58
57
|
|
|
58
|
+
### Azure
|
|
59
|
+
|
|
60
|
+
SSH into the machine and you'll be in ``/home/site/wwwroot``.
|
|
61
|
+
|
|
62
|
+
* Create a virtual environment: ``python -m venv antenv``
|
|
63
|
+
* Activate the virtual environment with: ``source antenv/bin/activate``
|
|
64
|
+
*
|
|
65
|
+
In ``/home/site/wwwroot`` create a file called ``app.py`` containing the following:
|
|
66
|
+
|
|
67
|
+
import chellow
|
|
68
|
+
|
|
69
|
+
app = chellow.create_app()
|
|
70
|
+
|
|
59
71
|
|
|
60
72
|
### Manually Upgrading Chellow
|
|
61
73
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1765896461.0.0"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
cd /var/www/chellow
|
|
4
|
+
source venv/bin/activate
|
|
5
|
+
|
|
6
|
+
if [[ $* == *--test* ]] ; then
|
|
7
|
+
if pip list --outdated --extra-index-url https://test.pypi.org/simple/ | grep chellow ; then
|
|
8
|
+
echo "Found a new Chellow version."
|
|
9
|
+
|
|
10
|
+
echo "Stopping Chellow"
|
|
11
|
+
/usr/bin/systemctl stop chellow
|
|
12
|
+
|
|
13
|
+
echo "Doing a pip upgrade of Chellow."
|
|
14
|
+
pip install chellow --upgrade --extra-index-url https://test.pypi.org/simple/
|
|
15
|
+
|
|
16
|
+
echo "Starting Chellow"
|
|
17
|
+
/usr/bin/systemctl start chellow
|
|
18
|
+
else
|
|
19
|
+
echo "No new version found."
|
|
20
|
+
fi
|
|
21
|
+
else
|
|
22
|
+
if pip list --outdated | grep chellow ; then
|
|
23
|
+
echo "Found a new Chellow version."
|
|
24
|
+
|
|
25
|
+
echo "Stopping Chellow"
|
|
26
|
+
/usr/bin/systemctl stop chellow
|
|
27
|
+
|
|
28
|
+
echo "Doing a pip upgrade of Chellow."
|
|
29
|
+
pip install chellow --upgrade
|
|
30
|
+
|
|
31
|
+
echo "Starting Chellow"
|
|
32
|
+
/usr/bin/systemctl start chellow
|
|
33
|
+
else
|
|
34
|
+
echo "No new version found."
|
|
35
|
+
fi
|
|
36
|
+
fi
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
import json
|
|
1
2
|
import os
|
|
3
|
+
from base64 import b64decode
|
|
2
4
|
from datetime import datetime as Datetime
|
|
3
5
|
from importlib.metadata import version
|
|
4
6
|
from pathlib import Path
|
|
5
7
|
|
|
6
8
|
from flask import Flask, Response, g, make_response, render_template, request
|
|
7
9
|
|
|
10
|
+
from markdown_it import MarkdownIt
|
|
11
|
+
|
|
12
|
+
from markupsafe import Markup
|
|
8
13
|
|
|
9
14
|
from sqlalchemy import select
|
|
10
15
|
|
|
@@ -22,6 +27,7 @@ import chellow.e.hh_importer
|
|
|
22
27
|
import chellow.e.rcrc
|
|
23
28
|
import chellow.e.system_price
|
|
24
29
|
import chellow.e.views
|
|
30
|
+
import chellow.fake_batch_updater
|
|
25
31
|
import chellow.gas.cv
|
|
26
32
|
import chellow.gas.views
|
|
27
33
|
import chellow.national_grid
|
|
@@ -62,6 +68,7 @@ def get_importer_modules():
|
|
|
62
68
|
chellow.national_grid,
|
|
63
69
|
chellow.rate_server,
|
|
64
70
|
chellow.rrun,
|
|
71
|
+
chellow.fake_batch_updater,
|
|
65
72
|
)
|
|
66
73
|
|
|
67
74
|
|
|
@@ -125,17 +132,45 @@ def create_app(testing=False, instance_path=None):
|
|
|
125
132
|
g.config = {}
|
|
126
133
|
ad_props = g.config.get("ad_authentication", {})
|
|
127
134
|
ad_auth_on = ad_props.get("on", False)
|
|
135
|
+
easy_auth_props = g.config.get("easy_auth", {})
|
|
136
|
+
easy_auth_on = easy_auth_props.get("on", False)
|
|
137
|
+
path = request.path
|
|
138
|
+
if path in ("/health", "/robots933456.txt"):
|
|
139
|
+
return
|
|
128
140
|
if ad_auth_on:
|
|
129
141
|
username = request.headers["X-Isrw-Proxy-Logon-User"].upper()
|
|
130
|
-
user = g.sess.
|
|
142
|
+
user = g.sess.scalars(
|
|
143
|
+
select(User).where(User.email_address == username)
|
|
144
|
+
).first()
|
|
131
145
|
if user is None:
|
|
132
146
|
try:
|
|
133
147
|
username = ad_props["default_user"]
|
|
134
|
-
user = (
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
148
|
+
user = g.sess.scalars(
|
|
149
|
+
select(User).where(User.email_address == username)
|
|
150
|
+
).first()
|
|
151
|
+
except KeyError:
|
|
152
|
+
user = None
|
|
153
|
+
if user is not None:
|
|
154
|
+
g.user = user
|
|
155
|
+
elif easy_auth_on:
|
|
156
|
+
jwt_enc = request.headers["X-MS-CLIENT-PRINCIPAL"]
|
|
157
|
+
jwt = json.loads(b64decode(jwt_enc))
|
|
158
|
+
for claim in jwt["claims"]:
|
|
159
|
+
if claim["typ"] == (
|
|
160
|
+
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/"
|
|
161
|
+
"emailaddress"
|
|
162
|
+
):
|
|
163
|
+
username = claim["val"]
|
|
164
|
+
user = g.sess.scalars(
|
|
165
|
+
select(User).where(User.email_address == username)
|
|
166
|
+
).first()
|
|
167
|
+
break
|
|
168
|
+
if user is None:
|
|
169
|
+
try:
|
|
170
|
+
username = easy_auth_props["default_user"]
|
|
171
|
+
user = g.sess.scalars(
|
|
172
|
+
select(User).where(User.email_address == username)
|
|
173
|
+
).first()
|
|
139
174
|
except KeyError:
|
|
140
175
|
user = None
|
|
141
176
|
if user is not None:
|
|
@@ -154,25 +189,20 @@ def create_app(testing=False, instance_path=None):
|
|
|
154
189
|
key = None
|
|
155
190
|
|
|
156
191
|
email = ips[key]
|
|
157
|
-
g.user = (
|
|
158
|
-
|
|
159
|
-
)
|
|
192
|
+
g.user = g.sess.scalars(
|
|
193
|
+
select(User).where(User.email_address == email)
|
|
194
|
+
).first()
|
|
160
195
|
except KeyError:
|
|
161
196
|
pass
|
|
162
197
|
else:
|
|
163
|
-
user = (
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
.first()
|
|
167
|
-
)
|
|
198
|
+
user = g.sess.scalars(
|
|
199
|
+
select(User).where(User.email_address == auth.username)
|
|
200
|
+
).first()
|
|
168
201
|
if user is not None and user.password_matches(auth.password):
|
|
169
202
|
g.user = user
|
|
170
203
|
|
|
171
204
|
# Got our user
|
|
172
|
-
path = request.path
|
|
173
205
|
method = request.method
|
|
174
|
-
if path in ("/health",):
|
|
175
|
-
return
|
|
176
206
|
|
|
177
207
|
if g.user is not None:
|
|
178
208
|
if "X-Isrw-Proxy-Logon-User" in request.headers:
|
|
@@ -225,7 +255,9 @@ def create_app(testing=False, instance_path=None):
|
|
|
225
255
|
g.sess.commit()
|
|
226
256
|
return
|
|
227
257
|
|
|
228
|
-
if
|
|
258
|
+
if (not easy_auth_on) and (
|
|
259
|
+
(g.user is None) or (not ad_auth_on and auth is None)
|
|
260
|
+
):
|
|
229
261
|
return Response(
|
|
230
262
|
"Could not verify your access level for that URL.\n"
|
|
231
263
|
"You have to login with proper credentials",
|
|
@@ -299,6 +331,11 @@ def create_app(testing=False, instance_path=None):
|
|
|
299
331
|
def dumps_filter(d):
|
|
300
332
|
return dumps(d)
|
|
301
333
|
|
|
334
|
+
@app.template_filter("markdown")
|
|
335
|
+
def markdown_filter(txt):
|
|
336
|
+
md = MarkdownIt()
|
|
337
|
+
return Markup(md.render(txt))
|
|
338
|
+
|
|
302
339
|
return app
|
|
303
340
|
|
|
304
341
|
|
|
@@ -12,7 +12,9 @@ from zish import loads
|
|
|
12
12
|
from chellow.models import Contract, RateScript, Session
|
|
13
13
|
from chellow.utils import (
|
|
14
14
|
HH,
|
|
15
|
+
ct_datetime,
|
|
15
16
|
hh_format,
|
|
17
|
+
to_utc,
|
|
16
18
|
utc_datetime,
|
|
17
19
|
utc_datetime_now,
|
|
18
20
|
utc_datetime_parse,
|
|
@@ -24,11 +26,23 @@ bh_importer = None
|
|
|
24
26
|
|
|
25
27
|
def _run(log_f, sess):
|
|
26
28
|
log_f("Starting to check bank holidays")
|
|
27
|
-
|
|
29
|
+
contract_name = "bank_holidays"
|
|
30
|
+
contract = Contract.find_non_core_by_name(sess, contract_name)
|
|
31
|
+
if contract is None:
|
|
32
|
+
contract = Contract.insert_non_core(
|
|
33
|
+
sess,
|
|
34
|
+
contract_name,
|
|
35
|
+
"",
|
|
36
|
+
{"enabled": True},
|
|
37
|
+
to_utc(ct_datetime(1996, 4, 1)),
|
|
38
|
+
None,
|
|
39
|
+
{},
|
|
40
|
+
)
|
|
41
|
+
sess.commit()
|
|
28
42
|
contract_props = contract.make_properties()
|
|
29
43
|
|
|
30
|
-
if contract_props.get("enabled",
|
|
31
|
-
url_str =
|
|
44
|
+
if contract_props.get("enabled", True):
|
|
45
|
+
url_str = "https://www.gov.uk/bank-holidays/england-and-wales.ics"
|
|
32
46
|
|
|
33
47
|
log_f(f"Downloading from {url_str}.")
|
|
34
48
|
res = requests.get(url_str)
|
|
@@ -91,7 +91,7 @@ class DloadFile:
|
|
|
91
91
|
def open_file(base, user, mode="r", newline=None, is_zip=False):
|
|
92
92
|
global download_id
|
|
93
93
|
|
|
94
|
-
base =
|
|
94
|
+
base = "".join(x if (x.isalnum() or x in "_.") else "_" for x in base)
|
|
95
95
|
try:
|
|
96
96
|
lock.acquire()
|
|
97
97
|
if len(list(download_path.iterdir())) == 0:
|
|
@@ -108,7 +108,7 @@ def open_file(base, user, mode="r", newline=None, is_zip=False):
|
|
|
108
108
|
un = user.proxy_username
|
|
109
109
|
else:
|
|
110
110
|
un = user.email_address
|
|
111
|
-
uname =
|
|
111
|
+
uname = "".join(x if (x.isalnum() or x in "_") else "_" for x in un)
|
|
112
112
|
|
|
113
113
|
names = tuple("_".join((serial, v, uname, base)) for v in ("RUNNING", "FINISHED"))
|
|
114
114
|
running_name, finished_name = tuple(download_path / name for name in names)
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
from decimal import Decimal
|
|
2
|
+
|
|
3
|
+
from sqlalchemy import select
|
|
4
|
+
|
|
5
|
+
from chellow.models import Contract, RateScript
|
|
6
|
+
from chellow.national_grid import api_get
|
|
7
|
+
from chellow.utils import ct_datetime, to_utc
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def hh(supply_source):
|
|
11
|
+
try:
|
|
12
|
+
aahedc_cache = supply_source.caches["aahedc"]
|
|
13
|
+
except KeyError:
|
|
14
|
+
aahedc_cache = supply_source.caches["aahedc"] = {}
|
|
15
|
+
|
|
16
|
+
for hh in supply_source.hh_data:
|
|
17
|
+
hh["aahedc-kwh"] = hh["gsp-kwh"]
|
|
18
|
+
try:
|
|
19
|
+
rate = aahedc_cache[hh["start-date"]]
|
|
20
|
+
except KeyError:
|
|
21
|
+
hh_start = hh["start-date"]
|
|
22
|
+
rates = supply_source.non_core_rate("aahedc", hh_start)
|
|
23
|
+
rate = aahedc_cache[hh_start] = float(rates["aahedc_gbp_per_gsp_kwh"])
|
|
24
|
+
|
|
25
|
+
hh["aahedc-rate"] = rate
|
|
26
|
+
hh["aahedc-gbp"] = hh["gsp-kwh"] * rate
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def national_grid_import(sess, log, set_progress, s):
|
|
30
|
+
log("Starting to check for new AAHEDC rates")
|
|
31
|
+
|
|
32
|
+
contract_name = "aahedc"
|
|
33
|
+
contract = Contract.find_non_core_by_name(sess, contract_name)
|
|
34
|
+
if contract is None:
|
|
35
|
+
contract = Contract.insert_non_core(
|
|
36
|
+
sess, contract_name, "", {}, to_utc(ct_datetime(1996, 4, 1)), None, {}
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
params = {"sql": """SELECT * FROM "ffd29cc8-3c55-4e83-aa0e-73212d4fedba" """}
|
|
40
|
+
res_j = api_get(s, "datastore_search_sql", params=params)
|
|
41
|
+
for record in res_j["result"]["records"]:
|
|
42
|
+
# {
|
|
43
|
+
# "_full_text": "'-07':4 '-15':5 '0.012247':7 '0.028 '2026':2 'final':1",
|
|
44
|
+
# "Published Date": "2025-07-15",
|
|
45
|
+
# "AAHEDC tariff excluding the Shetland Assistance Amount in p/kwh":
|
|
46
|
+
# "0.028737",
|
|
47
|
+
# "Shetland Tariff in p/kwh": "0.012247",
|
|
48
|
+
# "Year FY": 2026,
|
|
49
|
+
# "Publication Type": "Final",
|
|
50
|
+
# "_id": 7,
|
|
51
|
+
# "Total Scheme Tariff in p/kwh": "0.040984"
|
|
52
|
+
# }
|
|
53
|
+
|
|
54
|
+
fy_year = int(record["Year FY"]) - 1
|
|
55
|
+
fy_start = to_utc(ct_datetime(fy_year, 4, 1))
|
|
56
|
+
if fy_start < contract.start_rate_script.start_date:
|
|
57
|
+
continue
|
|
58
|
+
|
|
59
|
+
rs = sess.execute(
|
|
60
|
+
select(RateScript).where(
|
|
61
|
+
RateScript.contract == contract,
|
|
62
|
+
RateScript.start_date == fy_start,
|
|
63
|
+
)
|
|
64
|
+
).scalar_one_or_none()
|
|
65
|
+
if rs is None:
|
|
66
|
+
rs = contract.insert_rate_script(sess, fy_start, {})
|
|
67
|
+
|
|
68
|
+
rs_script = rs.make_script()
|
|
69
|
+
try:
|
|
70
|
+
rs_record = rs_script["record"]
|
|
71
|
+
except KeyError:
|
|
72
|
+
rs_record = rs_script["record"] = {}
|
|
73
|
+
|
|
74
|
+
record_published_date = record["Published Date"]
|
|
75
|
+
|
|
76
|
+
if (
|
|
77
|
+
"Published Date" not in rs_record
|
|
78
|
+
or rs_record["Published Date"] < record_published_date
|
|
79
|
+
):
|
|
80
|
+
rs_script["record"] = record
|
|
81
|
+
rs_script["aahedc_gbp_per_gsp_kwh"] = Decimal(
|
|
82
|
+
record["Total Scheme Tariff in p/kwh"]
|
|
83
|
+
) / Decimal("100")
|
|
84
|
+
rs.update(rs_script)
|
|
85
|
+
sess.commit()
|
|
86
|
+
|
|
87
|
+
log("Finished Checking for AAHEDC Tariffs")
|
|
88
|
+
sess.commit()
|