chellow 1753182209.0.0__py3-none-any.whl → 1753257333.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.

@@ -54,7 +54,7 @@ def get_rate(row, idx):
54
54
  return None
55
55
 
56
56
  val = cell.value
57
- if val is None:
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 is None:
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")
@@ -457,6 +458,7 @@ GSP_MAP = (
457
458
  ("mide", "_E"),
458
459
  ("sepd", "_H"),
459
460
  ("sweb", "_L"),
461
+ ("spd", "_N"),
460
462
  )
461
463
 
462
464
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1753182209.0.0
3
+ Version: 1753257333.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=NOVfS9HRDsc0rO282hU-IdrcuvMlC7VE8RySqd_5eT0,21762
25
+ chellow/e/dno_rate_parser.py,sha256=psJBBYHsZp1eQcrCyzPv7Tqo_AFhD5bneZSGpaQxDKs,21795
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-1753182209.0.0.dist-info/METADATA,sha256=7anKRCEEZQ42bSqtEd4uozS1hdVluvK83SWQvDymD1M,12585
389
- chellow-1753182209.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
390
- chellow-1753182209.0.0.dist-info/RECORD,,
388
+ chellow-1753257333.0.0.dist-info/METADATA,sha256=-Ap3LiI6IQUf4wShS13GeZg2nzWVwHSSXz5uqPcpaEE,12585
389
+ chellow-1753257333.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
390
+ chellow-1753257333.0.0.dist-info/RECORD,,