chellow 1753182209.0.0__py3-none-any.whl → 1753430805.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
CHANGED
|
@@ -54,7 +54,7 @@ def get_rate(row, idx):
|
|
|
54
54
|
return None
|
|
55
55
|
|
|
56
56
|
val = cell.value
|
|
57
|
-
if val
|
|
57
|
+
if val in (None, "-"):
|
|
58
58
|
return None
|
|
59
59
|
elif isinstance(val, str) and len(val) == 0:
|
|
60
60
|
return None
|
|
@@ -318,10 +318,11 @@ def tab_ehv(sheet, gsp_rates):
|
|
|
318
318
|
band = 0
|
|
319
319
|
else:
|
|
320
320
|
band_val = get_value(row, band_col)
|
|
321
|
-
if band_val
|
|
321
|
+
if band_val in (None, ""):
|
|
322
322
|
band = 0
|
|
323
323
|
else:
|
|
324
324
|
band = int(band_val)
|
|
325
|
+
|
|
325
326
|
tariffs[llfc] = {
|
|
326
327
|
"super-red-gbp-per-kwh": get_rate(
|
|
327
328
|
row, col_match(title_row, f"{polarity} super red")
|
|
@@ -425,19 +426,27 @@ def find_rates(file_name, file_like):
|
|
|
425
426
|
|
|
426
427
|
|
|
427
428
|
GSP_MAP = (
|
|
429
|
+
("eastern-power-networks-", "_A"),
|
|
428
430
|
("gsp a", "_A"),
|
|
429
431
|
("gsp b", "_B"),
|
|
430
432
|
("gsp c", "_C"),
|
|
433
|
+
("lond", "_C"),
|
|
431
434
|
("gsp d", "_D"),
|
|
435
|
+
("spm-", "_D"),
|
|
432
436
|
("gsp e", "_E"),
|
|
437
|
+
("mide", "_E"),
|
|
433
438
|
("gsp f", "_F"),
|
|
439
|
+
("enwl-", "_G"),
|
|
434
440
|
("gsp g", "_G"),
|
|
435
441
|
("gsp h", "_H"),
|
|
442
|
+
("sepd", "_H"),
|
|
436
443
|
("gsp j", "_J"),
|
|
437
444
|
("gsp k", "_K"),
|
|
438
445
|
("gsp l", "_L"),
|
|
446
|
+
("sweb", "_L"),
|
|
439
447
|
("gsp m", "_M"),
|
|
440
448
|
("gsp n", "_N"),
|
|
449
|
+
("spd", "_N"),
|
|
441
450
|
("gsp p", "_P"),
|
|
442
451
|
("gsp_a", "_A"),
|
|
443
452
|
("gsp_b", "_B"),
|
|
@@ -453,10 +462,6 @@ GSP_MAP = (
|
|
|
453
462
|
("gsp_m", "_M"),
|
|
454
463
|
("gsp_n", "_N"),
|
|
455
464
|
("gsp_p", "_P"),
|
|
456
|
-
("lond", "_C"),
|
|
457
|
-
("mide", "_E"),
|
|
458
|
-
("sepd", "_H"),
|
|
459
|
-
("sweb", "_L"),
|
|
460
465
|
)
|
|
461
466
|
|
|
462
467
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1753430805.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)
|
|
@@ -22,7 +22,7 @@ chellow/e/bsuos.py,sha256=2L7pgiGbV4k1Udfzjj4B2Qye02sV_FhNjwh7_sIxXFg,15525
|
|
|
22
22
|
chellow/e/ccl.py,sha256=30dh_SvlgzsTQPPAJNZWILaMvbeDsv9-P-S1JxS5_SQ,3184
|
|
23
23
|
chellow/e/cfd.py,sha256=CWLdYeNjgqT6Ro8YRf4vhwXIAJ2aV4Wi6HLNClVSeaQ,14260
|
|
24
24
|
chellow/e/computer.py,sha256=lt4Zlr8EOClL1acuuvKA-tNPCI5RRHnAZbsaGQnB9j4,68835
|
|
25
|
-
chellow/e/dno_rate_parser.py,sha256=
|
|
25
|
+
chellow/e/dno_rate_parser.py,sha256=EO3uIYD0uiT8uumI5wnODMsFwYGrdB5HexuOu-2aFkw,21875
|
|
26
26
|
chellow/e/duos.py,sha256=RHrn93I1ASO2uYkuF18qlhG4p-jpuJhd_g3o69wtP4U,31004
|
|
27
27
|
chellow/e/elexon.py,sha256=eOmX_wpxj6Ty6eaEgGAgXX-MgyJkYQSAT6DtJeP1rUE,5544
|
|
28
28
|
chellow/e/energy_management.py,sha256=aXC2qlGt3FAODlNl_frWzVYAQrJLP8FFOiNX3m-QE_Y,12388
|
|
@@ -385,6 +385,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
|
|
|
385
385
|
chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
|
|
386
386
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
387
387
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
388
|
-
chellow-
|
|
389
|
-
chellow-
|
|
390
|
-
chellow-
|
|
388
|
+
chellow-1753430805.0.0.dist-info/METADATA,sha256=KXvypCtSqk4Y6tVncDUkiwbGwJWf_adeA98upSyLz1g,12585
|
|
389
|
+
chellow-1753430805.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
390
|
+
chellow-1753430805.0.0.dist-info/RECORD,,
|
|
File without changes
|