chellow 1717079706.0.0__py3-none-any.whl → 1717422005.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/bmarketidx.py CHANGED
@@ -144,7 +144,7 @@ class BmarketidxImporter(threading.Thread):
144
144
  else:
145
145
  self.global_alert = (
146
146
  f"There's a problem with the <a "
147
- f"href='/e/non_core_contracts/{contract.id}/"
147
+ f"href='/non_core_contracts/{contract.id}/"
148
148
  f"automatic_importer'>bmarketidx automatic "
149
149
  f"importer</a>."
150
150
  )
@@ -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"],
@@ -84,4 +84,5 @@
84
84
  </tbody>
85
85
  </table>
86
86
 
87
+ <pre>{{bill.breakdown}}</pre>
87
88
  {% endblock %}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1717079706.0.0
3
+ Version: 1717422005.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)
@@ -15,7 +15,7 @@ chellow/views.py,sha256=eDvTQM_PUqRvrCQvBdlF5q7MEs7w2yJmRjcC8WDbHtE,79584
15
15
  chellow/e/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  chellow/e/aahedc.py,sha256=d2usudp7KYWpU6Pk3fal5EQ47EbvkvKeaFGylnb3NWw,606
17
17
  chellow/e/bill_importer.py,sha256=7UcnqNlKbJc2GhW9gy8sDp9GuqambJVpZLvbafOZztA,7411
18
- chellow/e/bmarketidx.py,sha256=0JCBBnP3xfLq2eFjXO_u-gzHyTizab4Pp6PRK6OZLcw,7134
18
+ chellow/e/bmarketidx.py,sha256=lao_Azld-aaimEQLsTCpGTaZKI8iFpg2K6CDFOG0seM,7132
19
19
  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
@@ -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
@@ -179,7 +179,7 @@ chellow/templates/e/dc_batch_file.html,sha256=O3iedi9NUhqgGcVc1GglZ4205v9h6z2ih7
179
179
  chellow/templates/e/dc_batch_file_edit.html,sha256=7HZFuqiKORq42FTj3Luzof3uZL8VnWnVDgHHQgS2eHM,1876
180
180
  chellow/templates/e/dc_batch_upload_file.html,sha256=n06sewt7vhgm85YVbeFUKUirvP7eDu_CnMHTSu-uDqo,1556
181
181
  chellow/templates/e/dc_batches.html,sha256=B2pOCEzFmu6-CvUr3nxuTNFsuST5euRYh30m_6Wh9Rk,1007
182
- chellow/templates/e/dc_bill.html,sha256=7-ACTqHCgIukHld392CiUs1aXwzAUxgsHIUdgey9J3U,2028
182
+ chellow/templates/e/dc_bill.html,sha256=RyndxSlc-dC2fzPOOoGQAFpR4g2lVE-pXAWpraEtp7Y,2059
183
183
  chellow/templates/e/dc_bill_add.html,sha256=73Sn_MKBsUuYYnDfUMCdX1Dul6GimMC9YXk6UIU17rk,1648
184
184
  chellow/templates/e/dc_bill_edit.html,sha256=0GsN-ZIc4q-z_xs8igC2ZS6t4soo2SvB3qRA6iC-AuM,2707
185
185
  chellow/templates/e/dc_bill_import.html,sha256=NHjMSoFizvFQIaPWuVE3nTCtMDTzJB0XmH8jXfV1tiA,2188
@@ -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-1717422005.0.0.dist-info/METADATA,sha256=Htpjp-p18RGbhe8l7jpmEErcTO1aCFxezxhbSBeCG1c,12205
368
+ chellow-1717422005.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
369
+ chellow-1717422005.0.0.dist-info/RECORD,,