chellow 1743424861.0.0__py3-none-any.whl → 1744117996.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/cfd.py CHANGED
@@ -48,7 +48,7 @@ def hh(data_source, use_bill_check=False):
48
48
 
49
49
  for h in data_source.hh_data:
50
50
  try:
51
- h["cfd-rate"] = cfd_cache[h["start-date"]]
51
+ h["cfd-rates"] = cfd_cache[h["start-date"]]
52
52
  except KeyError:
53
53
  h_start = h["start-date"]
54
54
  if use_bill_check:
@@ -104,7 +104,10 @@ def hh(data_source, use_bill_check=False):
104
104
  levy_rate_str = effective_ocl_rate
105
105
  levy_rate = float(levy_rate_str) / 1000
106
106
 
107
- h["cfd-rate"] = cfd_cache[h_start] = base_rate + levy_rate
107
+ h["cfd-rates"] = cfd_cache[h_start] = {
108
+ "interim": base_rate,
109
+ "operational": levy_rate,
110
+ }
108
111
 
109
112
 
110
113
  def lcc_import(sess, log, set_progress, s):
@@ -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: 1743424861.0.0
3
+ Version: 1744117996.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)
@@ -19,7 +19,7 @@ chellow/e/bill_importer.py,sha256=7UcnqNlKbJc2GhW9gy8sDp9GuqambJVpZLvbafOZztA,74
19
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
- chellow/e/cfd.py,sha256=Gm435c42LFwZx1n-1UY1Tdx6mL1is7E0vRLWQe8RPOo,14184
22
+ chellow/e/cfd.py,sha256=CWLdYeNjgqT6Ro8YRf4vhwXIAJ2aV4Wi6HLNClVSeaQ,14260
23
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
@@ -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-1743424861.0.0.dist-info/METADATA,sha256=Dbr5CG7Z4lWIk6ZmhzrC_pAJ2YXB8LJlYZ_Qk4nN7cE,12238
382
- chellow-1743424861.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
383
- chellow-1743424861.0.0.dist-info/RECORD,,
381
+ chellow-1744117996.0.0.dist-info/METADATA,sha256=IGcls75TAmHV4KCDkxyOmPJpZLiFhgiMkiuB_08LXNU,12238
382
+ chellow-1744117996.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
383
+ chellow-1744117996.0.0.dist-info/RECORD,,