chellow 1743064888.0.0__py3-none-any.whl → 1743596801.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
@@ -229,7 +229,5 @@ def startup():
229
229
 
230
230
  @atexit.register
231
231
  def shutdown():
232
- global bmarketidx_importer
233
-
234
232
  if bmarketidx_importer is not None:
235
233
  bmarketidx_importer.stop()
chellow/e/computer.py CHANGED
@@ -1575,6 +1575,16 @@ def _find_hhs(caches, sess, pairs, chunk_start, chunk_finish):
1575
1575
  if hh_after(pairs[-1]["start-date"], chunk_finish):
1576
1576
  del pairs[-1]
1577
1577
 
1578
+ # If nothing left
1579
+ if len(pairs) == 0:
1580
+ pairs.append(
1581
+ {
1582
+ "start-date": chunk_start,
1583
+ "finish-date": chunk_finish,
1584
+ "tprs": {"00001": 0},
1585
+ }
1586
+ )
1587
+
1578
1588
  # squash
1579
1589
  if hh_before(pairs[0]["start-date"], chunk_start):
1580
1590
  pairs[0]["start-date"] = chunk_start
@@ -248,7 +248,7 @@ def find_nts_rates(file_name, file_like, col):
248
248
 
249
249
  for sheet in book.worksheets:
250
250
  title = sheet.title.strip().lower()
251
- if title.startswith("nts unit rates"):
251
+ if title.startswith("nts unit rates") or title.startswith("ngt unit rates"):
252
252
  rates["so_entry_gbp_per_kwh"] = get_nts_rate(sheet, col, 11)
253
253
  rates["so_exit_gbp_per_kwh"] = get_nts_rate(sheet, col, 13)
254
254
  rates["to_entry_gbp_per_kwh"] = get_nts_rate(sheet, col, 10)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1743064888.0.0
3
+ Version: 1743596801.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)
@@ -16,11 +16,11 @@ chellow/views.py,sha256=2WCU-_8lDuSDROvNlCGsAQVLSMh5qrD2wmeSr2G-umA,83872
16
16
  chellow/e/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  chellow/e/aahedc.py,sha256=d2usudp7KYWpU6Pk3fal5EQ47EbvkvKeaFGylnb3NWw,606
18
18
  chellow/e/bill_importer.py,sha256=7UcnqNlKbJc2GhW9gy8sDp9GuqambJVpZLvbafOZztA,7411
19
- chellow/e/bmarketidx.py,sha256=C0BaHn2RxIuWH2QzA-OmSP0fbUGvW9tqEUhLnzOEdmA,7968
19
+ chellow/e/bmarketidx.py,sha256=9PDY-JKQwcQhGpgJEj8EktQXrUITBvQ35YryzTxwle8,7936
20
20
  chellow/e/bsuos.py,sha256=hdP9vnOJSuZl46OAkJeUg1XJYvYIBj4J6Sqce1Hy9Vs,15542
21
21
  chellow/e/ccl.py,sha256=30dh_SvlgzsTQPPAJNZWILaMvbeDsv9-P-S1JxS5_SQ,3184
22
22
  chellow/e/cfd.py,sha256=Gm435c42LFwZx1n-1UY1Tdx6mL1is7E0vRLWQe8RPOo,14184
23
- chellow/e/computer.py,sha256=KkYNaD4W13s_BvtyPrYbfZ9MU73hKi-IIL-g4OOQxBA,67787
23
+ chellow/e/computer.py,sha256=aGti5aXRTdC85M-WRiAoZkC_76sqfAiP-79ggWZF09Q,68020
24
24
  chellow/e/dno_rate_parser.py,sha256=A5TP6KjyfT5lVWh7dX4SiXRi6wnf2lGv-H_T4Sod8CI,21731
25
25
  chellow/e/duos.py,sha256=RHrn93I1ASO2uYkuF18qlhG4p-jpuJhd_g3o69wtP4U,31004
26
26
  chellow/e/elexon.py,sha256=ALhXS9Es7PV0z9ukPbIramn3cf3iLyFi-PMWPSm5iOs,5487
@@ -69,7 +69,7 @@ chellow/gas/bill_parser_engie_edi.py,sha256=Ko0vZP-QdVQ1uuhS_5cdrii60_cM4b_LFJMo
69
69
  chellow/gas/bill_parser_total_edi.py,sha256=bMAeIkzHwNhv0qdKYXtRl-tzUUYtjNkbM3PMl3NurFc,11225
70
70
  chellow/gas/ccl.py,sha256=DMlcPUELZi00CaDekVJINYk3GgH5apFrImVdmkbyba0,2913
71
71
  chellow/gas/cv.py,sha256=4cdYYQ8Qak6NeYdBCB4YaQ0jX8-UkaydIIdibCQuXxM,7344
72
- chellow/gas/dn_rate_parser.py,sha256=Mq8rAcUEUxIQOks59bsCKl8GrefvoHbrTCHqon9N0z0,11340
72
+ chellow/gas/dn_rate_parser.py,sha256=pmdYcqcvx8lt65Qt0dLLPi5igSET336KA0NBlNYYRTA,11378
73
73
  chellow/gas/engine.py,sha256=d2rR1y8b3u2QhmfqyFwwLu_loeZxY_3WwwtDyGJfam0,25282
74
74
  chellow/gas/transportation.py,sha256=Bkg8TWOs-v0ES-4qqwbleiOhqbE_t2KauUx9JYMZELM,5300
75
75
  chellow/gas/views.py,sha256=GeCvi6BGTUN7bu7sVkypNckwG3Crl6AbUcRob9qMi0E,59733
@@ -378,6 +378,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
378
378
  chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
379
379
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
380
380
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
381
- chellow-1743064888.0.0.dist-info/METADATA,sha256=oHexYBTO180YrkMUw4nfb367QAhustBqHytoVAu2Aao,12238
382
- chellow-1743064888.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
383
- chellow-1743064888.0.0.dist-info/RECORD,,
381
+ chellow-1743596801.0.0.dist-info/METADATA,sha256=dA5iSa2RlUjZr0s1E1rpNaVAu6cXlYqtSsVyKtjES-g,12238
382
+ chellow-1743596801.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
383
+ chellow-1743596801.0.0.dist-info/RECORD,,