chellow 1716973778.0.0__py3-none-any.whl → 1716981874.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.

@@ -317,16 +317,16 @@ def tab_ehv(sheet, gsp_rates):
317
317
  band = "" if band_col is None else int(get_decimal(row, band_col))
318
318
  tariffs[llfc] = {
319
319
  "super-red-gbp-per-kwh": get_rate(
320
- row, col_match(title_row, polarity + " super red")
320
+ row, col_match(title_row, f"{polarity} super red")
321
321
  ),
322
- "gbp-per-day": get_zero_rate(
323
- row, col_match(title_row, polarity + " fixed")
322
+ "gbp-per-mpan-per-day": get_zero_rate(
323
+ row, col_match(title_row, f"{polarity} fixed")
324
324
  ),
325
325
  "gbp-per-kva-per-day": get_zero_rate(
326
- row, col_match(title_row, polarity + " capacity")
326
+ row, col_match(title_row, f"{polarity} capacity")
327
327
  ),
328
328
  "excess-gbp-per-kva-per-day": get_zero_rate(
329
- row, col_match(title_row, polarity + " exce")
329
+ row, col_match(title_row, f"{polarity} exce")
330
330
  ),
331
331
  "description": f"Designated EHV{band}",
332
332
  }
@@ -9,8 +9,19 @@ from werkzeug.exceptions import BadRequest
9
9
  from chellow.edi_lib import parse_edi, to_date, to_decimal
10
10
  from chellow.utils import HH, to_ct, to_utc
11
11
 
12
-
13
- READ_TYPE_MAP = {"00": "A", "01": "E", "02": "E"}
12
+ # From Total 2024-05-29
13
+ # ReadType == "C" = "00"
14
+ # ReadType == "N" = "00"
15
+ # ReadType == "A" = "00"
16
+ # ReadType == "PA" = "00"
17
+ # ReadType == "S" = "00"
18
+ # ReadType == "I" = "00"
19
+ # ReadType == "E" = "02"
20
+ # ReadType == "AE" = "02"
21
+ # ReadType == "M" = "02"
22
+ # ReadType == "PE" = "02"
23
+
24
+ READ_TYPE_MAP = {"00": "A", "02": "E"}
14
25
 
15
26
 
16
27
  SUPPLIER_CODE_MAP = {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1716973778.0.0
3
+ Version: 1716981874.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=V1DTT5XBQbt8hO1gae1u3315fZ4iuYk3XC7J2sUbhKQ,14352
22
22
  chellow/e/computer.py,sha256=KjHE57I3I7-1zPkyqX0mSjORlyUNfSEhQb2df4sCNkU,67244
23
- chellow/e/dno_rate_parser.py,sha256=thNjT7HeAcvwV5vACvyGZ-yYzCs4keiIJEoCL8FjJ3E,21488
23
+ chellow/e/dno_rate_parser.py,sha256=9A3SEBUQnnjx2Tw3CpA2q0KsJ-Pjgmt_mbADkEtsIzc,21497
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
@@ -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=k5b9vadgLdEb8dk1E-mZpcKGyxXh1AWYsNiGSUK5CBA,7172
62
+ chellow/gas/bill_parser_total_edi.py,sha256=pnh8qCd9NfXCZSbVxto9QIXoV7ri7exhLrUoP17brG0,7444
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-1716973778.0.0.dist-info/METADATA,sha256=BR86ws0YMWBZHavEOJuh7KngaxixyJ5Mh8yZ1Nwlz2g,12205
368
- chellow-1716973778.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
369
- chellow-1716973778.0.0.dist-info/RECORD,,
367
+ chellow-1716981874.0.0.dist-info/METADATA,sha256=fmNvL5WsuPfJpjPhbO-_ngbiDXSrDJInuOu_a_TRM4Y,12205
368
+ chellow-1716981874.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
369
+ chellow-1716981874.0.0.dist-info/RECORD,,