chellow 1699541219.0.0__py3-none-any.whl → 1699877950.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/gas/dn_rate_parser.py
CHANGED
|
@@ -249,10 +249,10 @@ def find_nts_rates(file_name, file_like, col):
|
|
|
249
249
|
for sheet in book.worksheets:
|
|
250
250
|
title = sheet.title.strip().lower()
|
|
251
251
|
if title.startswith("nts unit rates"):
|
|
252
|
-
rates["so_entry_gbp_per_kwh"] = get_nts_rate(sheet, col,
|
|
253
|
-
rates["so_exit_gbp_per_kwh"] = get_nts_rate(sheet, col,
|
|
254
|
-
rates["to_entry_gbp_per_kwh"] = get_nts_rate(sheet, col,
|
|
255
|
-
rates["to_exit_gbp_per_kwh"] = get_nts_rate(sheet, col,
|
|
252
|
+
rates["so_entry_gbp_per_kwh"] = get_nts_rate(sheet, col, 11)
|
|
253
|
+
rates["so_exit_gbp_per_kwh"] = get_nts_rate(sheet, col, 13)
|
|
254
|
+
rates["to_entry_gbp_per_kwh"] = get_nts_rate(sheet, col, 10)
|
|
255
|
+
rates["to_exit_gbp_per_kwh"] = get_nts_rate(sheet, col, 12)
|
|
256
256
|
|
|
257
257
|
return rates
|
|
258
258
|
|
|
@@ -317,7 +317,7 @@ def rate_server_import(sess, log, set_progress, s, paths):
|
|
|
317
317
|
|
|
318
318
|
nts_rs_2_script = nts_rs_2.make_script()
|
|
319
319
|
if nts_rs_2_script.get("a_file_name") != file_name:
|
|
320
|
-
nts_rs_2.update(
|
|
320
|
+
nts_rs_2.update(find_nts_2_rates(file_name, BytesIO(download(s, url))))
|
|
321
321
|
log(f"Updated NTS rate script for {hh_format(oct_start)}")
|
|
322
322
|
|
|
323
323
|
dn_rs_script = dn_rs.make_script()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1699877950.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)
|
|
@@ -57,7 +57,7 @@ chellow/gas/bill_parser_csv.py,sha256=Ecdy-apFT-mWAxddAsM4k1s-9-FpIaOfjP0oFc0rdQ
|
|
|
57
57
|
chellow/gas/bill_parser_engie_edi.py,sha256=2nlroUfNS4DV7fMLiTS_0MZanyFdmRn-4guR3dSK-Vg,8813
|
|
58
58
|
chellow/gas/ccl.py,sha256=f4__2kBd6b8n1-7JKKjsJQ2Y0ZxqrIZJ12Y9BQDBxKc,281
|
|
59
59
|
chellow/gas/cv.py,sha256=ORi3xCJlcRlmGTiluZ9ZTA-GYt6vTyeyQ-bSAoXMqO4,7250
|
|
60
|
-
chellow/gas/dn_rate_parser.py,sha256=
|
|
60
|
+
chellow/gas/dn_rate_parser.py,sha256=8ybJYqYsOyMnt-8IVVapZivkuJLJ8pHav4Chif8JNfQ,11338
|
|
61
61
|
chellow/gas/engine.py,sha256=PUrwwQi7XokloQwU1Wjvot6K73OqwxOUme-MePti6-Q,25243
|
|
62
62
|
chellow/gas/transportation.py,sha256=Bkg8TWOs-v0ES-4qqwbleiOhqbE_t2KauUx9JYMZELM,5300
|
|
63
63
|
chellow/gas/views.py,sha256=0kcz5u5tnCzILwdTi2Ck62ZrDcLlo3AW3cuhJUhvlMQ,55961
|
|
@@ -357,6 +357,6 @@ chellow/templates/g/supply_note_edit.html,sha256=6UQf_qbhFDys3cVsTp-c7ABWZpggW9R
|
|
|
357
357
|
chellow/templates/g/supply_notes.html,sha256=WR3YwGh_qqTklSJ7JqWX6BKBc9rk_jMff4RiWZiF2CM,936
|
|
358
358
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
359
359
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
360
|
-
chellow-
|
|
361
|
-
chellow-
|
|
362
|
-
chellow-
|
|
360
|
+
chellow-1699877950.0.0.dist-info/METADATA,sha256=ux1gN6B0EhEEvIskOS2TEiVrFpzkH21dH9ql7K64DVE,12160
|
|
361
|
+
chellow-1699877950.0.0.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
|
|
362
|
+
chellow-1699877950.0.0.dist-info/RECORD,,
|
|
File without changes
|