chellow 1753430805.0.0__py3-none-any.whl → 1753706177.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/hh_importer.py CHANGED
@@ -201,7 +201,7 @@ class HhImportTask(threading.Thread):
201
201
  lock.release()
202
202
 
203
203
  def run(self):
204
- while not self.stopped.isSet():
204
+ while not self.stopped.is_set():
205
205
  self.import_now()
206
206
  timeout = None if self.is_error else self.wait_seconds
207
207
  self.going.wait(timeout=timeout)
chellow/e/tlms.py CHANGED
@@ -148,13 +148,7 @@ def elexon_import(sess, log, set_progress, s, scripting_key):
148
148
 
149
149
  set_progress(values[0])
150
150
 
151
- if values[3] == "":
152
- for zone in GSP_GROUP_LOOKUP.keys():
153
- values[3] = zone
154
- _process_line(
155
- cache, sess, contract, log, values, complete_date, caches
156
- )
157
- else:
151
+ if len(values) > 5:
158
152
  _process_line(cache, sess, contract, log, values, complete_date, caches)
159
153
 
160
154
  for rscript in cache["rate_scripts"]:
@@ -25,7 +25,7 @@
25
25
  </tr>
26
26
  <tr>
27
27
  <td>{{task.is_locked()}}</td>
28
- <td>{{task.stopped.isSet()}}</td>
28
+ <td>{{task.stopped.is_set()}}</td>
29
29
  </tr>
30
30
  </table>
31
31
 
@@ -1,19 +1,19 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1753430805.0.0
3
+ Version: 1753706177.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)
7
7
  Classifier: Operating System :: OS Independent
8
8
  Classifier: Programming Language :: Python :: 3
9
- Requires-Python: >=3.9
9
+ Requires-Python: >=3.11
10
10
  Requires-Dist: flask-restx==1.3.0
11
11
  Requires-Dist: flask==3.1.1
12
12
  Requires-Dist: jsonschema==4.17.3
13
13
  Requires-Dist: odio==0.0.23
14
14
  Requires-Dist: openpyxl==3.1.5
15
15
  Requires-Dist: paramiko==3.4.1
16
- Requires-Dist: pep3143daemon==0.0.6
16
+ Requires-Dist: pep3143daemon==0.1.0
17
17
  Requires-Dist: pg8000==1.31.1
18
18
  Requires-Dist: pip>=9.0.1
19
19
  Requires-Dist: psutil==5.9.5
@@ -76,7 +76,7 @@ in Windows an environment variable can be set by doing:
76
76
 
77
77
  `set PGUSER=postgres`
78
78
 
79
- * Install Python 3.9 (tested on the [CPython 3.9.8](http://www.python.org/) interpreter)
79
+ * Install Python 3.11
80
80
  * Create a virtual environment: `python3 -m venv venv`
81
81
  * Activate the virtual environment: `source venv/bin/activate`
82
82
  * Install Chellow: `pip install chellow`
@@ -26,7 +26,7 @@ chellow/e/dno_rate_parser.py,sha256=EO3uIYD0uiT8uumI5wnODMsFwYGrdB5HexuOu-2aFkw,
26
26
  chellow/e/duos.py,sha256=RHrn93I1ASO2uYkuF18qlhG4p-jpuJhd_g3o69wtP4U,31004
27
27
  chellow/e/elexon.py,sha256=eOmX_wpxj6Ty6eaEgGAgXX-MgyJkYQSAT6DtJeP1rUE,5544
28
28
  chellow/e/energy_management.py,sha256=aXC2qlGt3FAODlNl_frWzVYAQrJLP8FFOiNX3m-QE_Y,12388
29
- chellow/e/hh_importer.py,sha256=adfogJgPWsJurPOVSBLLQ7m68s1LhfQmDYpAFnGm0eM,21510
29
+ chellow/e/hh_importer.py,sha256=JBVCNSpM-DMu9_io516KojvujwZEQq6upDSsMbtu_sI,21511
30
30
  chellow/e/hh_parser_bg_csv.py,sha256=W5SU2MSpa8BGA0VJw1JXF-IwbCNLFy8fe35yxLZ7gEw,2453
31
31
  chellow/e/hh_parser_df2.py,sha256=nZT198EZWo_G26IfJZncI_kOo-UdsXzFYDmDf3qyEs8,5089
32
32
  chellow/e/hh_parser_edf_csv.py,sha256=CLkkL1Z6BPgVV_3uwS6McmtMzgXkoEIoJnH8FsQk1C8,2839
@@ -41,7 +41,7 @@ chellow/e/rcrc.py,sha256=92CA1uIotIHd1epQ_jEPdJKzXqDFV-AoJOJeRO6MEyA,4274
41
41
  chellow/e/ro.py,sha256=dZKZv_9wXSWuwcb3jiKavoD_9ot-PZseNVeEEe0siLo,596
42
42
  chellow/e/scenario.py,sha256=FLgh03r_SgXx0hMWFbAvwsz2ScDL8LUwYWSWVv2rQlg,24973
43
43
  chellow/e/system_price.py,sha256=6w5J7bzwFAZubE2zdOFRiS8IIrVP8hkoIOaG2yCt-Ic,6232
44
- chellow/e/tlms.py,sha256=K2n-dF6qNW7VQp4m_sVK1HWnXarmAIzpotWXYqWQacY,9363
44
+ chellow/e/tlms.py,sha256=pyL32hPiYd09FbpXVMnBjHsWFEQHs-Az945V7EShGiY,9116
45
45
  chellow/e/tnuos.py,sha256=NBmc-f3oezrl4gviAKobljHfICTpBKxxxEGBGJi_lRk,4927
46
46
  chellow/e/triad.py,sha256=uQIngSrz8irBXQ0Rp_s8nAUzu-y2Ms7aj4B38_Ff8y8,13720
47
47
  chellow/e/views.py,sha256=7nvH0D3Q1Q1bmTtPTzHKmMt8uNnhhF9GYHWRxZIBWT0,220622
@@ -192,7 +192,7 @@ chellow/templates/e/csv_sites_triad.html,sha256=Btlx3P3L-ACYo6FjOky5s3a_pAlMyUe_
192
192
  chellow/templates/e/csv_supplies_hh_data.html,sha256=IQxLdEDKROsobIOvyp4lBm1c_GlnagjLuNHOSzgPGII,1701
193
193
  chellow/templates/e/csv_supplies_snapshot.html,sha256=6F1UL7TUH-yE3qYJulsLX7qca-gUhTye56n6xXWgpF8,748
194
194
  chellow/templates/e/csv_supplies_triad.html,sha256=4ppGGWuUNlTPXdBvK_-O55WCHwVniKYpGY34K0LLEK0,422
195
- chellow/templates/e/dc_auto_importer.html,sha256=sVQIFLIyJvuh9sFU3xuQ-Vl_49TjP5FWw5UAX9QnG6s,1165
195
+ chellow/templates/e/dc_auto_importer.html,sha256=pUTQkrcNZLAo_ttFPwG0kyHZ-VCKSonsnwHjw_kkWhU,1166
196
196
  chellow/templates/e/dc_batch.html,sha256=Q3HKAE_gV8X5HGxsU5Yg5exmGhojMJ2P3PrA4m4Gbio,4795
197
197
  chellow/templates/e/dc_batch_add.html,sha256=SjNP-5pS4u_UgSKfoSJsoog9yFRP9obbzbu7zK64x_w,1113
198
198
  chellow/templates/e/dc_batch_edit.html,sha256=S8Btt7Eg2BUcOshqyfVkmNzehne9doYVbK93iTEvP6g,1962
@@ -385,6 +385,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
385
385
  chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
386
386
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
387
387
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
388
- chellow-1753430805.0.0.dist-info/METADATA,sha256=KXvypCtSqk4Y6tVncDUkiwbGwJWf_adeA98upSyLz1g,12585
389
- chellow-1753430805.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
390
- chellow-1753430805.0.0.dist-info/RECORD,,
388
+ chellow-1753706177.0.0.dist-info/METADATA,sha256=hDTpywwjrBXlrUqUeORa0HKtxpXIs3ddk90kZhStmmw,12519
389
+ chellow-1753706177.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
390
+ chellow-1753706177.0.0.dist-info/RECORD,,