chellow 1742914638.0.0__tar.gz → 1767090201.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.
Files changed (581) hide show
  1. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/.github/workflows/chellow.yml +2 -2
  2. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/PKG-INFO +33 -22
  3. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/README.md +16 -4
  4. chellow-1767090201.0.0/VERSION +1 -0
  5. chellow-1767090201.0.0/bin/chellow_upgrader.sh +36 -0
  6. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/__init__.py +57 -18
  7. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/bank_holidays.py +17 -3
  8. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/dloads.py +2 -2
  9. chellow-1767090201.0.0/chellow/e/aahedc.py +88 -0
  10. chellow-1767090201.0.0/chellow/e/bill_importer.py +259 -0
  11. chellow-1767090201.0.0/chellow/e/bill_parsers/activity_mop_stark_xlsx.py +140 -0
  12. chellow-1767090201.0.0/chellow/e/bill_parsers/amr_dc_stark_xlsx.py +200 -0
  13. chellow-1767090201.0.0/chellow/e/bill_parsers/annual_mop_stark_xlsx.py +155 -0
  14. chellow-1767090201.0.0/chellow/e/bill_parsers/csv.py +189 -0
  15. chellow-1767090201.0.0/chellow/e/bill_parsers/drax_edi.py +504 -0
  16. chellow-1767090201.0.0/chellow/e/bill_parsers/engie_edi.py +423 -0
  17. chellow-1767090201.0.0/chellow/e/bill_parsers/engie_xls.py +411 -0
  18. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/haven_edi.py +189 -228
  19. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/haven_edi_tprs.py +74 -67
  20. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/mm.py +24 -13
  21. chellow-1767090201.0.0/chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py +175 -0
  22. chellow-1767090201.0.0/chellow/e/bill_parsers/settlement_dc_stark_xlsx.py +276 -0
  23. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/sse_edi.py +107 -75
  24. chellow-1767090201.0.0/chellow/e/bill_parsers/sww_xls.py +173 -0
  25. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bmarketidx.py +13 -3
  26. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bsuos.py +26 -3
  27. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/cfd.py +70 -69
  28. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/computer.py +39 -22
  29. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/dno_rate_parser.py +336 -67
  30. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/duos.py +62 -13
  31. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/elexon.py +9 -2
  32. chellow-1767090201.0.0/chellow/e/energy_management.py +278 -0
  33. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/hh_importer.py +1 -1
  34. chellow-1767090201.0.0/chellow/e/isd.py +282 -0
  35. chellow-1742914638.0.0/chellow/e/laf_import.py → chellow-1767090201.0.0/chellow/e/lafs.py +69 -4
  36. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/lcc.py +1 -1
  37. chellow-1767090201.0.0/chellow/e/rab.py +75 -0
  38. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/rcrc.py +14 -1
  39. chellow-1767090201.0.0/chellow/e/ro.py +98 -0
  40. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/system_price.py +1 -1
  41. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/tlms.py +156 -9
  42. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/tnuos.py +13 -1
  43. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/triad.py +16 -6
  44. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/views.py +1381 -589
  45. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/edi_lib.py +4 -27
  46. chellow-1767090201.0.0/chellow/fake_batch_updater.py +330 -0
  47. chellow-1767090201.0.0/chellow/gas/bill_parser_bgs_xlsx.py +274 -0
  48. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/gas/bill_parser_total_edi.py +2 -1
  49. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/gas/dn_rate_parser.py +1 -1
  50. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/gas/transportation.py +0 -22
  51. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/gas/views.py +4 -4
  52. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/general_import.py +508 -161
  53. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/models.py +180 -62
  54. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/national_grid.py +7 -2
  55. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/rate_server.py +3 -1
  56. chellow-1767090201.0.0/chellow/reports/report_111.py +782 -0
  57. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_169.py +2 -1
  58. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_187.py +20 -28
  59. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_247.py +112 -157
  60. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_33.py +0 -6
  61. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_59.py +8 -8
  62. chellow-1767090201.0.0/chellow/reports/report_channel_snags.py +305 -0
  63. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_csv_site_hh_data.py +7 -4
  64. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_ecoes_comparison.py +87 -40
  65. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_g_monthly_duration.py +4 -4
  66. chellow-1767090201.0.0/chellow/reports/report_missing_bills.py +157 -0
  67. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_sscs.py +5 -5
  68. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/rrun.py +5 -2
  69. chellow-1767090201.0.0/chellow/templates/dashboard.html +54 -0
  70. chellow-1767090201.0.0/chellow/templates/e/channel_snags.html +72 -0
  71. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_auto_importer.html +1 -1
  72. chellow-1767090201.0.0/chellow/templates/e/dc_batch.html +138 -0
  73. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_batch_add.html +2 -3
  74. chellow-1767090201.0.0/chellow/templates/e/dc_batch_edit.html +62 -0
  75. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_batch_file.html +2 -3
  76. chellow-1767090201.0.0/chellow/templates/e/dc_batch_file_edit.html +52 -0
  77. chellow-1767090201.0.0/chellow/templates/e/dc_batch_upload_file.html +122 -0
  78. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_batches.html +2 -1
  79. chellow-1767090201.0.0/chellow/templates/e/dc_batches_edit.html +26 -0
  80. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_bill.html +27 -5
  81. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_bill_add.html +4 -4
  82. chellow-1767090201.0.0/chellow/templates/e/dc_bill_edit.html +70 -0
  83. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_bill_import.html +1 -1
  84. chellow-1767090201.0.0/chellow/templates/e/dc_bill_import_contract.html +130 -0
  85. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_contract.html +16 -2
  86. chellow-1767090201.0.0/chellow/templates/e/dc_element.html +41 -0
  87. chellow-1767090201.0.0/chellow/templates/e/dc_element_add.html +36 -0
  88. chellow-1767090201.0.0/chellow/templates/e/dc_element_edit.html +49 -0
  89. chellow-1767090201.0.0/chellow/templates/e/dc_entry_add.html +33 -0
  90. chellow-1767090201.0.0/chellow/templates/e/dc_entry_edit.html +39 -0
  91. chellow-1767090201.0.0/chellow/templates/e/dc_issue.html +84 -0
  92. chellow-1767090201.0.0/chellow/templates/e/dc_issue_add.html +26 -0
  93. chellow-1767090201.0.0/chellow/templates/e/dc_issue_attach_supply.html +26 -0
  94. chellow-1767090201.0.0/chellow/templates/e/dc_issue_edit.html +37 -0
  95. chellow-1767090201.0.0/chellow/templates/e/dc_issues.html +78 -0
  96. chellow-1767090201.0.0/chellow/templates/e/dc_rate_script_edit.html +49 -0
  97. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/em_hh_data.html +0 -1
  98. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/em_site.html +13 -2
  99. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/em_totals.html +19 -0
  100. chellow-1767090201.0.0/chellow/templates/e/isd.html +55 -0
  101. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/lafs.html +1 -1
  102. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/llfc.html +1 -1
  103. chellow-1767090201.0.0/chellow/templates/e/markdown_docs.html +83 -0
  104. chellow-1767090201.0.0/chellow/templates/e/mop_batch.html +135 -0
  105. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_batch_add.html +2 -3
  106. chellow-1767090201.0.0/chellow/templates/e/mop_batch_edit.html +58 -0
  107. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_batch_file.html +1 -2
  108. chellow-1767090201.0.0/chellow/templates/e/mop_batch_upload_file.html +122 -0
  109. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_batches.html +2 -1
  110. chellow-1767090201.0.0/chellow/templates/e/mop_batches_edit.html +26 -0
  111. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_bill.html +31 -8
  112. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_bill_add.html +7 -27
  113. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_bill_import.html +1 -1
  114. chellow-1767090201.0.0/chellow/templates/e/mop_bill_import_contract.html +130 -0
  115. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_contract.html +15 -5
  116. chellow-1767090201.0.0/chellow/templates/e/mop_element.html +41 -0
  117. chellow-1767090201.0.0/chellow/templates/e/mop_element_add.html +36 -0
  118. chellow-1767090201.0.0/chellow/templates/e/mop_element_edit.html +49 -0
  119. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/site_add_e_supply.html +0 -2
  120. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/site_add_e_supply_form.html +0 -2
  121. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_batch.html +5 -9
  122. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_batch_add.html +2 -2
  123. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_batch_edit.html +1 -1
  124. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_batch_file.html +3 -5
  125. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_batch_file_add.html +18 -11
  126. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_batch_upload_file.html +83 -9
  127. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_batches.html +4 -4
  128. chellow-1767090201.0.0/chellow/templates/e/supplier_batches_edit.html +26 -0
  129. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_bill.html +29 -6
  130. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_bill_add.html +3 -3
  131. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_bill_import.html +1 -1
  132. chellow-1767090201.0.0/chellow/templates/e/supplier_bill_import_contract.html +118 -0
  133. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_contract.html +15 -1
  134. chellow-1767090201.0.0/chellow/templates/e/supplier_contract_edit.html +40 -0
  135. chellow-1767090201.0.0/chellow/templates/e/supplier_element.html +45 -0
  136. chellow-1767090201.0.0/chellow/templates/e/supplier_element_add.html +36 -0
  137. chellow-1767090201.0.0/chellow/templates/e/supplier_element_edit.html +51 -0
  138. chellow-1767090201.0.0/chellow/templates/e/supplier_entry_add.html +33 -0
  139. chellow-1767090201.0.0/chellow/templates/e/supplier_entry_edit.html +39 -0
  140. chellow-1767090201.0.0/chellow/templates/e/supplier_issue.html +83 -0
  141. chellow-1767090201.0.0/chellow/templates/e/supplier_issue_add.html +26 -0
  142. chellow-1767090201.0.0/chellow/templates/e/supplier_issue_attach_supply.html +26 -0
  143. chellow-1767090201.0.0/chellow/templates/e/supplier_issue_edit.html +37 -0
  144. chellow-1767090201.0.0/chellow/templates/e/supplier_issues.html +54 -0
  145. chellow-1767090201.0.0/chellow/templates/e/supplier_rate_script_edit.html +50 -0
  146. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supply.html +7 -0
  147. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supply_eras.html +8 -20
  148. chellow-1767090201.0.0/chellow/templates/e/supply_issues.html +50 -0
  149. chellow-1767090201.0.0/chellow/templates/fake_batch_updater.html +99 -0
  150. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/bill_import.html +4 -4
  151. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/general_imports.html +122 -28
  152. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/home.html +3 -0
  153. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/macros.html +14 -4
  154. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/rate_server.html +26 -0
  155. chellow-1767090201.0.0/chellow/templates/report_run_bill_check.html +159 -0
  156. chellow-1767090201.0.0/chellow/templates/report_run_ecoes_comparison.html +167 -0
  157. chellow-1767090201.0.0/chellow/templates/report_run_missing_e_bills.html +97 -0
  158. chellow-1767090201.0.0/chellow/templates/report_run_row_bill_check.html +247 -0
  159. chellow-1767090201.0.0/chellow/templates/reports/channel_snags.html +95 -0
  160. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/site.html +3 -2
  161. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/testing.py +2 -2
  162. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/utils.py +50 -5
  163. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/views.py +166 -90
  164. chellow-1767090201.0.0/pyproject.toml +83 -0
  165. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/bill_parsers/test_activity_mop_stark_xlsx.py +26 -3
  166. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/bill_parsers/test_annual_mop_stark_xlsx.py +20 -4
  167. chellow-1767090201.0.0/test/e/bill_parsers/test_bill_parser_amr_dc_stark_xlsx.py +90 -0
  168. chellow-1767090201.0.0/test/e/bill_parsers/test_bill_parser_csv.py +244 -0
  169. chellow-1767090201.0.0/test/e/bill_parsers/test_bill_parser_drax_edi.py +340 -0
  170. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/bill_parsers/test_bill_parser_engie_edi.py +179 -138
  171. chellow-1767090201.0.0/test/e/bill_parsers/test_bill_parser_engie_xls.py +330 -0
  172. chellow-1767090201.0.0/test/e/bill_parsers/test_bill_parser_haven_edi.py +1011 -0
  173. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi_tprs.py +76 -10
  174. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/bill_parsers/test_bill_parser_mm.py +24 -0
  175. chellow-1767090201.0.0/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx.py +279 -0
  176. chellow-1767090201.0.0/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx.py +778 -0
  177. chellow-1767090201.0.0/test/e/bill_parsers/test_bill_parser_sse_edi.py +238 -0
  178. chellow-1767090201.0.0/test/e/bill_parsers/test_bill_parser_sww_xls.py +298 -0
  179. chellow-1767090201.0.0/test/e/test_bill_importer.py +288 -0
  180. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_ccl.py +0 -2
  181. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_cfd.py +27 -15
  182. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_computer.py +195 -12
  183. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_dno_rate_parser.py +98 -1
  184. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_duos.py +293 -11
  185. chellow-1767090201.0.0/test/e/test_energy_management.py +216 -0
  186. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_hh_importer.py +0 -2
  187. chellow-1742914638.0.0/test/e/test_laf_importer.py → chellow-1767090201.0.0/test/e/test_lafs.py +1 -1
  188. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_ro.py +0 -2
  189. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_scenario.py +0 -2
  190. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_tlms.py +0 -2
  191. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_tnuos.py +2 -2
  192. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_triad.py +223 -3
  193. chellow-1742914638.0.0/test/e/test_e_views.py → chellow-1767090201.0.0/test/e/test_views.py +1805 -328
  194. chellow-1767090201.0.0/test/gas/bill_parsers/test_bill_parser_bgs_xlsx.py +604 -0
  195. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_g_monthly_duration.py +5 -5
  196. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_g_virtual_bills.py +1 -1
  197. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_109.py +0 -2
  198. chellow-1767090201.0.0/test/reports/test_report_111.py +1347 -0
  199. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_169.py +3 -3
  200. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_181.py +1 -1
  201. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_187.py +64 -33
  202. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_219.py +0 -2
  203. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_231.py +0 -2
  204. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_241.py +1 -3
  205. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_247.py +688 -93
  206. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_29.py +0 -2
  207. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_291.py +1 -5
  208. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_33.py +0 -14
  209. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_387.py +0 -2
  210. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_41.py +31 -35
  211. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_59.py +26 -43
  212. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_87.py +0 -2
  213. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_asset_comparison.py +1 -1
  214. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_bills.py +0 -2
  215. chellow-1767090201.0.0/test/reports/test_report_channel_snags.py +596 -0
  216. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_csv_llfcs.py +1 -1
  217. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_csv_site_hh_data.py +4 -2
  218. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_csv_site_snags.py +1 -1
  219. chellow-1767090201.0.0/test/reports/test_report_dno_vl_parser.py +0 -0
  220. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_ecoes_comparison.py +244 -7
  221. chellow-1767090201.0.0/test/reports/test_report_missing_e_bills.py +489 -0
  222. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_sscs.py +1 -1
  223. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_supply_contacts.py +1 -1
  224. chellow-1767090201.0.0/test/test_edi_lib.py +0 -0
  225. chellow-1767090201.0.0/test/test_fake_batch_updater.py +74 -0
  226. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/test_general_import.py +286 -28
  227. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/test_models.py +0 -24
  228. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/test_rate_server.py +4 -2
  229. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/test_utils.py +6 -1
  230. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/test_views.py +29 -10
  231. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/utils.py +1 -1
  232. chellow-1742914638.0.0/VERSION +0 -1
  233. chellow-1742914638.0.0/bin/chellow_service_monitor.sh +0 -16
  234. chellow-1742914638.0.0/chellow/commands.py +0 -52
  235. chellow-1742914638.0.0/chellow/e/aahedc.py +0 -17
  236. chellow-1742914638.0.0/chellow/e/bill_importer.py +0 -203
  237. chellow-1742914638.0.0/chellow/e/bill_parsers/activity_mop_stark_xlsx.py +0 -125
  238. chellow-1742914638.0.0/chellow/e/bill_parsers/annual_mop_stark_xlsx.py +0 -137
  239. chellow-1742914638.0.0/chellow/e/bill_parsers/csv.py +0 -151
  240. chellow-1742914638.0.0/chellow/e/bill_parsers/engie_edi.py +0 -486
  241. chellow-1742914638.0.0/chellow/e/bill_parsers/engie_xls.py +0 -425
  242. chellow-1742914638.0.0/chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py +0 -151
  243. chellow-1742914638.0.0/chellow/e/bill_parsers/settlement_dc_stark_xlsx.py +0 -172
  244. chellow-1742914638.0.0/chellow/e/bill_parsers/sww_xls.py +0 -186
  245. chellow-1742914638.0.0/chellow/e/energy_management.py +0 -294
  246. chellow-1742914638.0.0/chellow/e/ro.py +0 -18
  247. chellow-1742914638.0.0/chellow/reports/report_111.py +0 -857
  248. chellow-1742914638.0.0/chellow/reports/report_233.py +0 -150
  249. chellow-1742914638.0.0/chellow/templates/e/channel_snags.html +0 -129
  250. chellow-1742914638.0.0/chellow/templates/e/dc_batch.html +0 -185
  251. chellow-1742914638.0.0/chellow/templates/e/dc_batch_edit.html +0 -66
  252. chellow-1742914638.0.0/chellow/templates/e/dc_batch_file_edit.html +0 -64
  253. chellow-1742914638.0.0/chellow/templates/e/dc_batch_upload_file.html +0 -54
  254. chellow-1742914638.0.0/chellow/templates/e/dc_bill_edit.html +0 -90
  255. chellow-1742914638.0.0/chellow/templates/e/dc_rate_script_edit.html +0 -66
  256. chellow-1742914638.0.0/chellow/templates/e/mop_batch.html +0 -182
  257. chellow-1742914638.0.0/chellow/templates/e/mop_batch_edit.html +0 -66
  258. chellow-1742914638.0.0/chellow/templates/e/mop_batch_upload_file.html +0 -56
  259. chellow-1742914638.0.0/chellow/templates/e/supplier_bill_imports.html +0 -421
  260. chellow-1742914638.0.0/chellow/templates/e/supplier_contract_edit.html +0 -52
  261. chellow-1742914638.0.0/chellow/templates/e/supplier_rate_script_edit.html +0 -65
  262. chellow-1742914638.0.0/chellow/templates/report_run_bill_check.html +0 -199
  263. chellow-1742914638.0.0/chellow/templates/report_run_ecoes_comparison.html +0 -139
  264. chellow-1742914638.0.0/chellow/templates/report_run_row_bill_check.html +0 -191
  265. chellow-1742914638.0.0/pyproject.toml +0 -72
  266. chellow-1742914638.0.0/setup.cfg +0 -6
  267. chellow-1742914638.0.0/test/e/bill_parsers/test_bill_parser_csv.py +0 -119
  268. chellow-1742914638.0.0/test/e/bill_parsers/test_bill_parser_engie_xls.py +0 -179
  269. chellow-1742914638.0.0/test/e/bill_parsers/test_bill_parser_haven_edi.py +0 -541
  270. chellow-1742914638.0.0/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills.nonsettlement.dc.stark.xlsx +0 -0
  271. chellow-1742914638.0.0/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills_old.nonsettlement.dc.stark.xlsx +0 -0
  272. chellow-1742914638.0.0/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/test_bill_parser_nonsettlement_dc_stark_xlsx.py +0 -101
  273. chellow-1742914638.0.0/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx.py +0 -211
  274. chellow-1742914638.0.0/test/e/bill_parsers/test_bill_parser_sse_edi.py +0 -134
  275. chellow-1742914638.0.0/test/e/bill_parsers/test_bill_parser_sww_xls.py +0 -139
  276. chellow-1742914638.0.0/test/e/test_bill_importer.py +0 -30
  277. chellow-1742914638.0.0/test/reports/test_report_111.py +0 -544
  278. chellow-1742914638.0.0/test/reports/test_report_233.py +0 -28
  279. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/.ebextensions/chellow.config +0 -0
  280. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/.gitignore +0 -0
  281. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/application.py +0 -0
  282. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/bin/chellow_start.sh +0 -0
  283. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/api.py +0 -0
  284. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/__init__.py +0 -0
  285. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/__init__.py +0 -0
  286. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/bgb_edi.py +0 -0
  287. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/edf_export_xlsx.py +0 -0
  288. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/engie_export_xlsx.py +0 -0
  289. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/engie_xlsx.py +0 -0
  290. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/gdf_csv.py +0 -0
  291. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/bill_parsers/haven_csv.py +0 -0
  292. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/ccl.py +0 -0
  293. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/hh_parser_bg_csv.py +0 -0
  294. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/hh_parser_df2.py +0 -0
  295. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/hh_parser_edf_csv.py +0 -0
  296. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/hh_parser_schneider_csv.py +0 -0
  297. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/hh_parser_schneider_xlsx.py +0 -0
  298. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/hh_parser_simple_csv.py +0 -0
  299. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/hh_parser_vital_xlsx.py +0 -0
  300. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/mdd_importer.py +0 -0
  301. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/e/scenario.py +0 -0
  302. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/gas/bill_import.py +0 -0
  303. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/gas/bill_parser_csv.py +0 -0
  304. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/gas/bill_parser_engie_edi.py +0 -0
  305. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/gas/ccl.py +0 -0
  306. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/gas/cv.py +0 -0
  307. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/gas/engine.py +0 -0
  308. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/proxy.py +0 -0
  309. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/__init__.py +0 -0
  310. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_109.py +0 -0
  311. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_181.py +0 -0
  312. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_183.py +0 -0
  313. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_219.py +0 -0
  314. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_231.py +0 -0
  315. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_241.py +0 -0
  316. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_29.py +0 -0
  317. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_291.py +0 -0
  318. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_387.py +0 -0
  319. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_41.py +0 -0
  320. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_429.py +0 -0
  321. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_81.py +0 -0
  322. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_87.py +0 -0
  323. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_asset_comparison.py +0 -0
  324. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_batches.py +0 -0
  325. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_bills.py +0 -0
  326. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_csv_llfcs.py +0 -0
  327. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_csv_site_snags.py +0 -0
  328. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_g_supplies_snapshot.py +0 -0
  329. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_g_supply_virtual_bill.py +0 -0
  330. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_g_virtual_bills.py +0 -0
  331. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_g_virtual_bills_hh.py +0 -0
  332. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/reports/report_supply_contacts.py +0 -0
  333. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/static/css/chellow.css +0 -0
  334. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/static/images/favicon.svg +0 -0
  335. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/static/images/favicon_test.svg +0 -0
  336. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/static/images/logo.png +0 -0
  337. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/static/js/htmx.min.js +0 -0
  338. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/403.html +0 -0
  339. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/base.html +0 -0
  340. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/bill_type.html +0 -0
  341. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/bill_types.html +0 -0
  342. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/chain.html +0 -0
  343. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/csv_sites_monthly_duration.html +0 -0
  344. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/downloads.html +0 -0
  345. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/asset_comparison.html +0 -0
  346. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/channel.html +0 -0
  347. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/channel_add.html +0 -0
  348. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/channel_edit.html +0 -0
  349. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/channel_snag.html +0 -0
  350. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/channel_snag_edit.html +0 -0
  351. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/comm.html +0 -0
  352. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/comms.html +0 -0
  353. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/cop.html +0 -0
  354. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/cops.html +0 -0
  355. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/csv_bills.html +0 -0
  356. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/csv_register_reads.html +0 -0
  357. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/csv_sites_hh_data.html +0 -0
  358. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/csv_sites_triad.html +0 -0
  359. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/csv_supplies_hh_data.html +0 -0
  360. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/csv_supplies_snapshot.html +0 -0
  361. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/csv_supplies_triad.html +0 -0
  362. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_bill_imports.html +0 -0
  363. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_contract_edit.html +0 -0
  364. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_contract_hh_import.html +0 -0
  365. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_contract_hh_imports.html +0 -0
  366. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_contract_properties.html +0 -0
  367. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_contract_properties_edit.html +0 -0
  368. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_contracts.html +0 -0
  369. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_contracts_add.html +0 -0
  370. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_rate_script.html +0 -0
  371. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dc_rate_script_add.html +0 -0
  372. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dno.html +0 -0
  373. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dno_rate_script.html +0 -0
  374. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dno_rate_script_add.html +0 -0
  375. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dno_rate_script_edit.html +0 -0
  376. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dnos.html +0 -0
  377. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dtc_meter_type.html +0 -0
  378. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/dtc_meter_types.html +0 -0
  379. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/duration_report.html +0 -0
  380. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/elexon.html +0 -0
  381. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/em_months.html +0 -0
  382. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/energisation_status.html +0 -0
  383. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/energisation_statuses.html +0 -0
  384. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/era_edit.html +0 -0
  385. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/era_edit_form.html +0 -0
  386. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/era_supplier_bill_add.html +0 -0
  387. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/generator_type.html +0 -0
  388. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/generator_types.html +0 -0
  389. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/gsp_group.html +0 -0
  390. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/gsp_groups.html +0 -0
  391. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/hh_datum_edit.html +0 -0
  392. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/lcc.html +0 -0
  393. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/llfc_edit.html +0 -0
  394. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/llfcs.html +0 -0
  395. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/market_role.html +0 -0
  396. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/market_roles.html +0 -0
  397. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/meter_payment_type.html +0 -0
  398. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/meter_payment_types.html +0 -0
  399. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/meter_type.html +0 -0
  400. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/meter_types.html +0 -0
  401. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_batch_file_edit.html +0 -0
  402. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_bill_edit.html +0 -0
  403. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_bill_imports.html +0 -0
  404. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_contract_add.html +0 -0
  405. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_contract_edit.html +0 -0
  406. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_contracts.html +0 -0
  407. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_rate_script.html +0 -0
  408. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_rate_script_add.html +0 -0
  409. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mop_rate_script_edit.html +0 -0
  410. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc.html +0 -0
  411. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc_llfc.html +0 -0
  412. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc_llfc_ssc.html +0 -0
  413. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc_llfc_ssc_pc.html +0 -0
  414. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc_llfc_ssc_pcs.html +0 -0
  415. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc_llfc_sscs.html +0 -0
  416. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc_llfcs.html +0 -0
  417. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc_participant.html +0 -0
  418. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc_participants.html +0 -0
  419. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc_ssc.html +0 -0
  420. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtc_sscs.html +0 -0
  421. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/mtcs.html +0 -0
  422. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/ods_monthly_duration.html +0 -0
  423. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/participant.html +0 -0
  424. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/participants.html +0 -0
  425. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/parties.html +0 -0
  426. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/party.html +0 -0
  427. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/pc.html +0 -0
  428. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/pcs.html +0 -0
  429. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/read_add.html +0 -0
  430. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/read_edit.html +0 -0
  431. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/read_type.html +0 -0
  432. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/read_types.html +0 -0
  433. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/scenario.html +0 -0
  434. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/scenario_add.html +0 -0
  435. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/scenario_docs.html +0 -0
  436. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/scenario_edit.html +0 -0
  437. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/scenarios.html +0 -0
  438. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/site_hh_data.html +0 -0
  439. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/site_site_snags.html +0 -0
  440. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/site_snag.html +0 -0
  441. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/site_snag_edit.html +0 -0
  442. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/site_snags.html +0 -0
  443. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/site_snags_edit.html +0 -0
  444. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/source.html +0 -0
  445. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/sources.html +0 -0
  446. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/ssc.html +0 -0
  447. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/sscs.html +0 -0
  448. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_batch_file_edit.html +0 -0
  449. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_bill_edit.html +0 -0
  450. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_contract_add.html +0 -0
  451. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_contracts.html +0 -0
  452. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_rate_script.html +0 -0
  453. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supplier_rate_script_add.html +0 -0
  454. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supply_edit.html +0 -0
  455. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supply_hh_data.html +0 -0
  456. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supply_months.html +0 -0
  457. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supply_note_add.html +0 -0
  458. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supply_note_edit.html +0 -0
  459. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supply_notes.html +0 -0
  460. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supply_post.html +0 -0
  461. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/supply_virtual_bill.html +0 -0
  462. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/tpr.html +0 -0
  463. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/e/tprs.html +0 -0
  464. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/edi_viewer.html +0 -0
  465. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/batch.html +0 -0
  466. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/batch_add.html +0 -0
  467. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/batch_edit.html +0 -0
  468. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/batches.html +0 -0
  469. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/bill.html +0 -0
  470. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/bill_add.html +0 -0
  471. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/bill_edit.html +0 -0
  472. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/bill_imports.html +0 -0
  473. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/dn.html +0 -0
  474. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/dns.html +0 -0
  475. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/era_edit.html +0 -0
  476. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/exit_zone.html +0 -0
  477. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/industry_auto_importer.html +0 -0
  478. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/industry_contract.html +0 -0
  479. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/industry_contract_add.html +0 -0
  480. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/industry_contract_edit.html +0 -0
  481. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/industry_contracts.html +0 -0
  482. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/industry_rate_script.html +0 -0
  483. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/industry_rate_script_add.html +0 -0
  484. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/industry_rate_script_edit.html +0 -0
  485. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/ldz.html +0 -0
  486. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/read_add.html +0 -0
  487. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/read_edit.html +0 -0
  488. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/read_type.html +0 -0
  489. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/read_types.html +0 -0
  490. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/reading_frequencies.html +0 -0
  491. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/reading_frequency.html +0 -0
  492. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/reports.html +0 -0
  493. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supplier_contract.html +0 -0
  494. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supplier_contract_add.html +0 -0
  495. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supplier_contract_edit.html +0 -0
  496. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supplier_contracts.html +0 -0
  497. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supplier_rate_script.html +0 -0
  498. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supplier_rate_script_add.html +0 -0
  499. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supplier_rate_script_edit.html +0 -0
  500. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supplies.html +0 -0
  501. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supply.html +0 -0
  502. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supply_edit.html +0 -0
  503. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supply_note_add.html +0 -0
  504. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supply_note_edit.html +0 -0
  505. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/supply_notes.html +0 -0
  506. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/unit.html +0 -0
  507. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/g/units.html +0 -0
  508. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/general_import.html +0 -0
  509. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/input_date.html +0 -0
  510. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/local_report.html +0 -0
  511. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/local_reports.html +0 -0
  512. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/national_grid.html +0 -0
  513. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/non_core_auto_importer.html +0 -0
  514. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/non_core_contract.html +0 -0
  515. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/non_core_contract_edit.html +0 -0
  516. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/non_core_contracts.html +0 -0
  517. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/non_core_rate_script.html +0 -0
  518. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/non_core_rate_script_add.html +0 -0
  519. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/non_core_rate_script_edit.html +0 -0
  520. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/object_summary.html +0 -0
  521. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/report_run.html +0 -0
  522. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/report_run_asset_comparison.html +0 -0
  523. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/report_run_g_bill_check.html +0 -0
  524. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/report_run_monthly_duration_org.html +0 -0
  525. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/report_run_row.html +0 -0
  526. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/report_run_row_g_bill_check.html +0 -0
  527. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/report_run_supply_contacts.html +0 -0
  528. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/report_runs.html +0 -0
  529. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/scenario.html +0 -0
  530. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/scenario_add.html +0 -0
  531. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/scenario_docs.html +0 -0
  532. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/scenario_edit.html +0 -0
  533. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/scenarios.html +0 -0
  534. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/site_add.html +0 -0
  535. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/site_edit.html +0 -0
  536. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/site_gen_graph.html +0 -0
  537. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/site_months.html +0 -0
  538. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/site_used_graph.html +0 -0
  539. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/sites.html +0 -0
  540. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/supplies.html +0 -0
  541. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/system.html +0 -0
  542. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/tester.html +0 -0
  543. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/user.html +0 -0
  544. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/user_roles.html +0 -0
  545. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/chellow/templates/users.html +0 -0
  546. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/gpl.txt +0 -0
  547. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/requirements.txt +0 -0
  548. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/systemd/chellow.service +0 -0
  549. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/systemd/chellow_upgrader.service +0 -0
  550. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/systemd/chellow_upgrader.timer +0 -0
  551. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/conftest.py +0 -0
  552. /chellow-1742914638.0.0/test/reports/test_report_dno_vl_parser.py → /chellow-1767090201.0.0/test/e/__init__.py +0 -0
  553. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/bill_parsers/test_bill_parser_edf_export_xlsx.py +0 -0
  554. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/bill_parsers/test_bill_parser_engie_xlsx.py +0 -0
  555. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/bill_parsers/test_bill_parser_haven_csv.py +0 -0
  556. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/system_price/prices.xls +0 -0
  557. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/system_price/test_system_price.py +0 -0
  558. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_aahedc.py +0 -0
  559. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_bsuos.py +0 -0
  560. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_hh_parser_df2.py +0 -0
  561. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_hh_parser_vital_xlsx.py +0 -0
  562. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_mdd_importer.py +0 -0
  563. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/e/test_rcrc_importer.py +0 -0
  564. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/gas/bill_parsers/test_g_bill_parser_engie_edi.py +0 -0
  565. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/gas/bill_parsers/test_g_bill_parser_total_edi.py +0 -0
  566. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/gas/test_dn_rate_parser.py +0 -0
  567. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/gas/test_engine.py +0 -0
  568. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/gas/test_g_cv.py +0 -0
  569. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/gas/test_gas_views.py +0 -0
  570. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/gas/test_transportation.py +0 -0
  571. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_g_supplies_snapshot.py +0 -0
  572. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_g_supply_virtual_bill.py +0 -0
  573. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_g_virtual_bills_hh.py +0 -0
  574. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_183.py +0 -0
  575. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_429.py +0 -0
  576. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_81.py +0 -0
  577. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/reports/test_report_batches.py +0 -0
  578. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/test_chellow.py +0 -0
  579. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/test_dloads.py +0 -0
  580. {chellow-1742914638.0.0 → chellow-1767090201.0.0}/test/test_edi_viewer.py +0 -0
  581. {chellow-1742914638.0.0 → chellow-1767090201.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.9
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.9
41
+ container: python:3.11
42
42
  needs: test
43
43
  steps:
44
44
  - uses: actions/checkout@v4
@@ -1,31 +1,30 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1742914638.0.0
3
+ Version: 1767090201.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.9
10
- Requires-Dist: flask-restx==1.3.0
11
- Requires-Dist: flask==3.1.0
12
- Requires-Dist: jsonschema==4.17.3
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
13
13
  Requires-Dist: odio==0.0.23
14
- Requires-Dist: openpyxl==3.1.2
15
- Requires-Dist: paramiko==3.4.1
16
- Requires-Dist: pep3143daemon==0.0.6
17
- 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
18
17
  Requires-Dist: pip>=9.0.1
19
- Requires-Dist: psutil==5.9.5
20
- Requires-Dist: pympler==1.0.1
21
- Requires-Dist: pypdf==4.3.1
18
+ Requires-Dist: psutil==7.1.1
19
+ Requires-Dist: pympler==1.1
20
+ Requires-Dist: pypdf==6.4.0
22
21
  Requires-Dist: python-dateutil==2.8.2
23
- Requires-Dist: pytz==2022.6
24
- Requires-Dist: requests==2.32.2
25
- Requires-Dist: sqlalchemy==2.0.30
26
- Requires-Dist: waitress==3.0.1
27
- Requires-Dist: xlrd==2.0.1
28
- Requires-Dist: zish==0.1.11
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
29
28
  Description-Content-Type: text/markdown
30
29
 
31
30
  # Chellow
@@ -47,7 +46,7 @@ Chellow is a web application for checking UK electricity and gas bills. It's des
47
46
  for organizations with high electricity consumption. The software is hosted at
48
47
  https://github.com/WessexWater/chellow.
49
48
 
50
- [![Build Status](https://github.com/WessexWater/chellow/workflows/chellow/badge.svg)](https://github.com/WessexWater/chellow/workflows/chellow)
49
+ [![Build Status](https://github.com/WessexWater/chellow/actions/workflows/chellow.yml/badge.svg)](https://github.com/WessexWater/chellow/actions/workflows/chellow.yml)
51
50
 
52
51
 
53
52
  ## Installation
@@ -55,8 +54,7 @@ https://github.com/WessexWater/chellow.
55
54
  Chellow is a Python web application that uses the PostgreSQL database. To install
56
55
  Chellow, follow these steps:
57
56
 
58
- * Install [PostgreSQL](http://www.postgresql.org/) 12
59
- * Set the PostgreSQL time zone to 'UTC'.
57
+ * Install [PostgreSQL](http://www.postgresql.org/) 15
60
58
  * Create a PostgreSQL database: `createdb --encoding=UTF8 chellow`
61
59
  * Set up the following environment variables to configure Chellow:
62
60
 
@@ -76,7 +74,7 @@ in Windows an environment variable can be set by doing:
76
74
 
77
75
  `set PGUSER=postgres`
78
76
 
79
- * Install Python 3.9 (tested on the [CPython 3.9.8](http://www.python.org/) interpreter)
77
+ * Install Python 3.11
80
78
  * Create a virtual environment: `python3 -m venv venv`
81
79
  * Activate the virtual environment: `source venv/bin/activate`
82
80
  * Install Chellow: `pip install chellow`
@@ -86,6 +84,19 @@ in Windows an environment variable can be set by doing:
86
84
  `admin@example.com` and the password `admin`, and then the home page should appear.
87
85
  Change the admin password from the `users` page.
88
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
+
89
100
 
90
101
  ### Manually Upgrading Chellow
91
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
- [![Build Status](https://github.com/WessexWater/chellow/workflows/chellow/badge.svg)](https://github.com/WessexWater/chellow/workflows/chellow)
20
+ [![Build Status](https://github.com/WessexWater/chellow/actions/workflows/chellow.yml/badge.svg)](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/) 12
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.9 (tested on the [CPython 3.9.8](http://www.python.org/) interpreter)
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__ = "1767090201.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
 
@@ -19,9 +24,11 @@ import chellow.e.bmarketidx
19
24
  import chellow.e.bsuos
20
25
  import chellow.e.elexon
21
26
  import chellow.e.hh_importer
27
+ import chellow.e.isd
22
28
  import chellow.e.rcrc
23
29
  import chellow.e.system_price
24
30
  import chellow.e.views
31
+ import chellow.fake_batch_updater
25
32
  import chellow.gas.cv
26
33
  import chellow.gas.views
27
34
  import chellow.national_grid
@@ -52,6 +59,7 @@ TEMPLATE_FORMATS = {
52
59
 
53
60
  def get_importer_modules():
54
61
  return (
62
+ chellow.e.isd,
55
63
  chellow.e.elexon,
56
64
  chellow.e.bsuos,
57
65
  chellow.e.lcc,
@@ -62,6 +70,7 @@ def get_importer_modules():
62
70
  chellow.national_grid,
63
71
  chellow.rate_server,
64
72
  chellow.rrun,
73
+ chellow.fake_batch_updater,
65
74
  )
66
75
 
67
76
 
@@ -125,17 +134,45 @@ def create_app(testing=False, instance_path=None):
125
134
  g.config = {}
126
135
  ad_props = g.config.get("ad_authentication", {})
127
136
  ad_auth_on = ad_props.get("on", False)
137
+ easy_auth_props = g.config.get("easy_auth", {})
138
+ easy_auth_on = easy_auth_props.get("on", False)
139
+ path = request.path
140
+ if path in ("/health", "/robots933456.txt"):
141
+ return
128
142
  if ad_auth_on:
129
143
  username = request.headers["X-Isrw-Proxy-Logon-User"].upper()
130
- user = g.sess.query(User).filter(User.email_address == username).first()
144
+ user = g.sess.scalars(
145
+ select(User).where(User.email_address == username)
146
+ ).first()
131
147
  if user is None:
132
148
  try:
133
149
  username = ad_props["default_user"]
134
- user = (
135
- g.sess.query(User)
136
- .filter(User.email_address == username)
137
- .first()
138
- )
150
+ user = g.sess.scalars(
151
+ select(User).where(User.email_address == username)
152
+ ).first()
153
+ except KeyError:
154
+ user = None
155
+ if user is not None:
156
+ g.user = user
157
+ elif easy_auth_on:
158
+ jwt_enc = request.headers["X-MS-CLIENT-PRINCIPAL"]
159
+ jwt = json.loads(b64decode(jwt_enc))
160
+ for claim in jwt["claims"]:
161
+ if claim["typ"] == (
162
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/"
163
+ "emailaddress"
164
+ ):
165
+ username = claim["val"]
166
+ user = g.sess.scalars(
167
+ select(User).where(User.email_address == username)
168
+ ).first()
169
+ break
170
+ if user is None:
171
+ try:
172
+ username = easy_auth_props["default_user"]
173
+ user = g.sess.scalars(
174
+ select(User).where(User.email_address == username)
175
+ ).first()
139
176
  except KeyError:
140
177
  user = None
141
178
  if user is not None:
@@ -154,25 +191,20 @@ def create_app(testing=False, instance_path=None):
154
191
  key = None
155
192
 
156
193
  email = ips[key]
157
- g.user = (
158
- g.sess.query(User).filter(User.email_address == email).first()
159
- )
194
+ g.user = g.sess.scalars(
195
+ select(User).where(User.email_address == email)
196
+ ).first()
160
197
  except KeyError:
161
198
  pass
162
199
  else:
163
- user = (
164
- g.sess.query(User)
165
- .filter(User.email_address == auth.username)
166
- .first()
167
- )
200
+ user = g.sess.scalars(
201
+ select(User).where(User.email_address == auth.username)
202
+ ).first()
168
203
  if user is not None and user.password_matches(auth.password):
169
204
  g.user = user
170
205
 
171
206
  # Got our user
172
- path = request.path
173
207
  method = request.method
174
- if path in ("/health",):
175
- return
176
208
 
177
209
  if g.user is not None:
178
210
  if "X-Isrw-Proxy-Logon-User" in request.headers:
@@ -225,7 +257,9 @@ def create_app(testing=False, instance_path=None):
225
257
  g.sess.commit()
226
258
  return
227
259
 
228
- if g.user is None or (not ad_auth_on and auth is None):
260
+ if (not easy_auth_on) and (
261
+ (g.user is None) or (not ad_auth_on and auth is None)
262
+ ):
229
263
  return Response(
230
264
  "Could not verify your access level for that URL.\n"
231
265
  "You have to login with proper credentials",
@@ -299,6 +333,11 @@ def create_app(testing=False, instance_path=None):
299
333
  def dumps_filter(d):
300
334
  return dumps(d)
301
335
 
336
+ @app.template_filter("markdown")
337
+ def markdown_filter(txt):
338
+ md = MarkdownIt()
339
+ return Markup(md.render(txt))
340
+
302
341
  return app
303
342
 
304
343
 
@@ -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
- contract = Contract.get_non_core_by_name(sess, "bank_holidays")
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", False):
31
- url_str = contract_props["url"]
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 = base.replace("/", "").replace(" ", "")
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 = un.replace("@", "").replace(".", "").replace("\\", "")
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()