chellow 1717079706.0.0__py3-none-any.whl → 1717082284.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.

@@ -44,7 +44,7 @@ def _to_finish_date(date_str):
44
44
  def _process_ADJ(elements, headers):
45
45
  adjf = elements["ADJF"]
46
46
  if adjf[0] == "CV":
47
- headers["cv"] = Decimal(adjf[1]) / Decimal(100000)
47
+ headers["reads"][-1]["calorific_value"] = Decimal(adjf[1]) / Decimal(100000)
48
48
 
49
49
 
50
50
  def _process_BCD(elements, headers):
@@ -159,9 +159,6 @@ def _process_MTR(elements, headers):
159
159
  if isinstance(v, set):
160
160
  breakdown[k] = sorted(v)
161
161
 
162
- for read in headers["reads"]:
163
- read["calorific_value"] = headers["cv"]
164
-
165
162
  return {
166
163
  "raw_lines": "\n".join(headers["raw_lines"]),
167
164
  "mprn": headers["mprn"],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1717079706.0.0
3
+ Version: 1717082284.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)
@@ -59,7 +59,7 @@ chellow/e/bill_parsers/sww_xls.py,sha256=QEjiuvwvr5FuWCfqqVw8LaA_vZyAKsvRAS5fw3x
59
59
  chellow/gas/bill_import.py,sha256=w0lPgK_Drzh8rtnEBQe3qFuxrgzZ6qQSgpaGrrGznMU,6549
60
60
  chellow/gas/bill_parser_csv.py,sha256=Ecdy-apFT-mWAxddAsM4k1s-9-FpIaOfjP0oFc0rdQg,5557
61
61
  chellow/gas/bill_parser_engie_edi.py,sha256=Ko0vZP-QdVQ1uuhS_5cdrii60_cM4b_LFJMoY0pZqnk,8950
62
- chellow/gas/bill_parser_total_edi.py,sha256=pnh8qCd9NfXCZSbVxto9QIXoV7ri7exhLrUoP17brG0,7444
62
+ chellow/gas/bill_parser_total_edi.py,sha256=hbjvahC8mQ0RuyIEQVJu18XNqq7T_htnV-OYg6NSuiE,7379
63
63
  chellow/gas/ccl.py,sha256=DMlcPUELZi00CaDekVJINYk3GgH5apFrImVdmkbyba0,2913
64
64
  chellow/gas/cv.py,sha256=4cdYYQ8Qak6NeYdBCB4YaQ0jX8-UkaydIIdibCQuXxM,7344
65
65
  chellow/gas/dn_rate_parser.py,sha256=Mq8rAcUEUxIQOks59bsCKl8GrefvoHbrTCHqon9N0z0,11340
@@ -364,6 +364,6 @@ chellow/templates/g/supply_note_edit.html,sha256=6UQf_qbhFDys3cVsTp-c7ABWZpggW9R
364
364
  chellow/templates/g/supply_notes.html,sha256=WR3YwGh_qqTklSJ7JqWX6BKBc9rk_jMff4RiWZiF2CM,936
365
365
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
366
366
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
367
- chellow-1717079706.0.0.dist-info/METADATA,sha256=5kVS_Aht24beW5qemfU3ZruFDKewF95HjO-uBZBhkuo,12205
368
- chellow-1717079706.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
369
- chellow-1717079706.0.0.dist-info/RECORD,,
367
+ chellow-1717082284.0.0.dist-info/METADATA,sha256=R51vpnZmFopkXyh1C4taeutDYrIwvfVjjyZoox9OX0E,12205
368
+ chellow-1717082284.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
369
+ chellow-1717082284.0.0.dist-info/RECORD,,