chellow 1723449410.0.0__py3-none-any.whl → 1723630623.0.0__py3-none-any.whl
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/e/dno_rate_parser.py +8 -1
- chellow/reports/report_247.py +8 -8
- {chellow-1723449410.0.0.dist-info → chellow-1723630623.0.0.dist-info}/METADATA +1 -1
- {chellow-1723449410.0.0.dist-info → chellow-1723630623.0.0.dist-info}/RECORD +5 -5
- {chellow-1723449410.0.0.dist-info → chellow-1723630623.0.0.dist-info}/WHEEL +0 -0
chellow/e/dno_rate_parser.py
CHANGED
|
@@ -314,7 +314,14 @@ def tab_ehv(sheet, gsp_rates):
|
|
|
314
314
|
llfc = None if llfc_val is None else str(llfc_val).strip()
|
|
315
315
|
if llfc not in (None, ""):
|
|
316
316
|
band_col = col_find(title_row, "residual")
|
|
317
|
-
|
|
317
|
+
if band_col is None:
|
|
318
|
+
band = 0
|
|
319
|
+
else:
|
|
320
|
+
band_val = get_value(row, band_col)
|
|
321
|
+
if band_val is None:
|
|
322
|
+
band = 0
|
|
323
|
+
else:
|
|
324
|
+
band = int(band_val)
|
|
318
325
|
tariffs[llfc] = {
|
|
319
326
|
"super-red-gbp-per-kwh": get_rate(
|
|
320
327
|
row, col_match(title_row, f"{polarity} super red")
|
chellow/reports/report_247.py
CHANGED
|
@@ -259,12 +259,13 @@ def _process_site(
|
|
|
259
259
|
):
|
|
260
260
|
for sname in ("kwh", "net-gbp"):
|
|
261
261
|
month_data[f"{name}-{sname}"] = 0
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
262
|
+
for polarity in ("import", "export"):
|
|
263
|
+
month_data[f"billed-{polarity}-kwh"] = 0
|
|
264
|
+
for suf in ("net-gbp", "vat-gbp", "gross-gbp"):
|
|
265
|
+
month_data[f"billed-{polarity}-{suf}"] = 0
|
|
266
|
+
month_data[f"billed-supplier-{polarity}-{suf}"] = 0
|
|
267
|
+
month_data[f"billed-dc-{polarity}-{suf}"] = 0
|
|
268
|
+
month_data[f"billed-mop-{polarity}-{suf}"] = 0
|
|
268
269
|
|
|
269
270
|
if imp_ss is not None:
|
|
270
271
|
imp_supplier_contract = imp_ss.supplier_contract
|
|
@@ -286,7 +287,7 @@ def _process_site(
|
|
|
286
287
|
month_data["import-3rd-party-kwh"] += kwh
|
|
287
288
|
month_data["used-3rd-party-net-gbp"] += gbp
|
|
288
289
|
month_data["used-3rd-party-kwh"] += kwh
|
|
289
|
-
month_data["used-gbp"] += gbp
|
|
290
|
+
month_data["used-net-gbp"] += gbp
|
|
290
291
|
month_data["used-kwh"] += kwh
|
|
291
292
|
elif source_code == "3rd-party-reverse":
|
|
292
293
|
month_data["export-3rd-party-net-gbp"] += gbp
|
|
@@ -1032,7 +1033,6 @@ def content(
|
|
|
1032
1033
|
data_source_bill = Object()
|
|
1033
1034
|
data_source_bill.start_date = month_start
|
|
1034
1035
|
data_source_bill.finish_date = month_finish
|
|
1035
|
-
|
|
1036
1036
|
for site in sites:
|
|
1037
1037
|
if by_hh:
|
|
1038
1038
|
sf = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1723630623.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)
|
|
@@ -20,7 +20,7 @@ chellow/e/bsuos.py,sha256=hdP9vnOJSuZl46OAkJeUg1XJYvYIBj4J6Sqce1Hy9Vs,15542
|
|
|
20
20
|
chellow/e/ccl.py,sha256=30dh_SvlgzsTQPPAJNZWILaMvbeDsv9-P-S1JxS5_SQ,3184
|
|
21
21
|
chellow/e/cfd.py,sha256=RvJRLDLY-KvT299a8xF-HRmslPZczqTgJ9C1zBo55U8,14456
|
|
22
22
|
chellow/e/computer.py,sha256=CoYf9SA8zrh1NP_S1jKsfXsaBm5kFcjBbtPUJnx8M9A,67274
|
|
23
|
-
chellow/e/dno_rate_parser.py,sha256=
|
|
23
|
+
chellow/e/dno_rate_parser.py,sha256=A5TP6KjyfT5lVWh7dX4SiXRi6wnf2lGv-H_T4Sod8CI,21731
|
|
24
24
|
chellow/e/duos.py,sha256=nwviRjz-qIt3GxIMHk0hItIT4dtKsxOWq9TUC1z-hO8,30864
|
|
25
25
|
chellow/e/elexon.py,sha256=ALhXS9Es7PV0z9ukPbIramn3cf3iLyFi-PMWPSm5iOs,5487
|
|
26
26
|
chellow/e/energy_management.py,sha256=aXC2qlGt3FAODlNl_frWzVYAQrJLP8FFOiNX3m-QE_Y,12388
|
|
@@ -78,7 +78,7 @@ chellow/reports/report_219.py,sha256=cA0lfJKnJg41Zc4_gZB1KUXZ9JeJo0TiTlu5jm1bdDM
|
|
|
78
78
|
chellow/reports/report_231.py,sha256=uhO1algP7sibpZVaniqGs56HOCPCQeDO-Y-UfvFQwnI,5311
|
|
79
79
|
chellow/reports/report_233.py,sha256=cIatj-HHYW_GNIRsji-DlsmYjt8rUdm_5xujPLOYL8U,4537
|
|
80
80
|
chellow/reports/report_241.py,sha256=AlFmSHnfG2HWv_ICmWX7fNpPwLHjq7mo1QtOTjSKO3k,5384
|
|
81
|
-
chellow/reports/report_247.py,sha256=
|
|
81
|
+
chellow/reports/report_247.py,sha256=LMq3QQ5h1ipTYRxiE79kbkDEMEZuNDjAHnXwWbECT6Y,46223
|
|
82
82
|
chellow/reports/report_29.py,sha256=KDFjgrLBv4WbG9efCdu_geMR7gT_QV9N97Wfdt7aDc4,2736
|
|
83
83
|
chellow/reports/report_291.py,sha256=rqBXy6s7hMeYWw-yNX6w_L5t2yz6rNEeos_4xO7wf90,7519
|
|
84
84
|
chellow/reports/report_33.py,sha256=laVz-itDbJTdvC6LxLEeuY0eKpYx43Un4adiExPTEEE,16730
|
|
@@ -365,6 +365,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
|
|
|
365
365
|
chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
|
|
366
366
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
367
367
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
368
|
-
chellow-
|
|
369
|
-
chellow-
|
|
370
|
-
chellow-
|
|
368
|
+
chellow-1723630623.0.0.dist-info/METADATA,sha256=uO1r5mgkkgQ1MMmvsArp3l4hFOLWwvrTKbMx64XWh0U,12241
|
|
369
|
+
chellow-1723630623.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
370
|
+
chellow-1723630623.0.0.dist-info/RECORD,,
|
|
File without changes
|