chellow 1699537199.0.0__py3-none-any.whl → 1699877950.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/gas/dn_rate_parser.py +5 -5
- chellow/templates/e/era_edit.html +1 -2
- chellow/templates/e/site_add_e_supply.html +1 -2
- chellow/templates/input_date.html +2 -2
- chellow/templates/macros.html +3 -2
- {chellow-1699537199.0.0.dist-info → chellow-1699877950.0.0.dist-info}/METADATA +1 -1
- {chellow-1699537199.0.0.dist-info → chellow-1699877950.0.0.dist-info}/RECORD +8 -8
- {chellow-1699537199.0.0.dist-info → chellow-1699877950.0.0.dist-info}/WHEEL +0 -0
chellow/gas/dn_rate_parser.py
CHANGED
|
@@ -249,10 +249,10 @@ def find_nts_rates(file_name, file_like, col):
|
|
|
249
249
|
for sheet in book.worksheets:
|
|
250
250
|
title = sheet.title.strip().lower()
|
|
251
251
|
if title.startswith("nts unit rates"):
|
|
252
|
-
rates["so_entry_gbp_per_kwh"] = get_nts_rate(sheet, col,
|
|
253
|
-
rates["so_exit_gbp_per_kwh"] = get_nts_rate(sheet, col,
|
|
254
|
-
rates["to_entry_gbp_per_kwh"] = get_nts_rate(sheet, col,
|
|
255
|
-
rates["to_exit_gbp_per_kwh"] = get_nts_rate(sheet, col,
|
|
252
|
+
rates["so_entry_gbp_per_kwh"] = get_nts_rate(sheet, col, 11)
|
|
253
|
+
rates["so_exit_gbp_per_kwh"] = get_nts_rate(sheet, col, 13)
|
|
254
|
+
rates["to_entry_gbp_per_kwh"] = get_nts_rate(sheet, col, 10)
|
|
255
|
+
rates["to_exit_gbp_per_kwh"] = get_nts_rate(sheet, col, 12)
|
|
256
256
|
|
|
257
257
|
return rates
|
|
258
258
|
|
|
@@ -317,7 +317,7 @@ def rate_server_import(sess, log, set_progress, s, paths):
|
|
|
317
317
|
|
|
318
318
|
nts_rs_2_script = nts_rs_2.make_script()
|
|
319
319
|
if nts_rs_2_script.get("a_file_name") != file_name:
|
|
320
|
-
nts_rs_2.update(
|
|
320
|
+
nts_rs_2.update(find_nts_2_rates(file_name, BytesIO(download(s, url))))
|
|
321
321
|
log(f"Updated NTS rate script for {hh_format(oct_start)}")
|
|
322
322
|
|
|
323
323
|
dn_rs_script = dn_rs.make_script()
|
|
@@ -69,8 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
<form action="/e/eras/{{era.id}}/edit" method="post">
|
|
71
71
|
<fieldset hx-get="/e/eras/{{era.id}}/edit/form" hx-params="*"
|
|
72
|
-
hx-trigger="load, change"
|
|
73
|
-
hx-include="[name='source_id'],[name='start_year'],[name='start_month'],[name='start_day'],[name='start_hour'],[name='start_minute'],[name='pc_id'],[name='name'],[name='imp_mpan_core'],[name='exp_mpan_core'],[name='mop_account'],[name='dc_account'],[name='dc_contract_id'],[name='mop_contract_id'],[name='imp_supplier_account'],[name='exp_supplier_account'],[name='imp_llfc_id'],[name='exp_llfc_id'],[name='mtc_participant_id'],[name='has_imp_mpan'],[name='has_exp_mpan'],[name='dno_id'],[name='gsp_group_id'],[name='ssc_id'],[name='cop_id'],[name='comm_id'],[name='energisation_status_id'],[name='is_ended'],[name='imp_supplier_contract_id'],[name='exp_supplier_contract_id'],[name='imp_sc'],[name='exp_sc'],[name='msn']">
|
|
72
|
+
hx-trigger="load, change" hx-include="this">
|
|
74
73
|
{{input_hidden_checkbox('is_ended', initial=era.finish_date != None)}}
|
|
75
74
|
{{input_hidden('source_id', initial=era.supply.source.id)}}
|
|
76
75
|
{{input_hidden('cop_id', initial=era.cop.id)}}
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
{% block content %}
|
|
14
14
|
<form action="/e/sites/{{site.id}}/add_e_supply" method="post">
|
|
15
15
|
<fieldset hx-get="/e/sites/{{site.id}}/add_e_supply/form" hx-params="*"
|
|
16
|
-
hx-trigger="load, change"
|
|
17
|
-
hx-include="[name='source_id'],[name='start_year'],[name='start_month'],[name='start_day'],[name='start_hour'],[name='start_minute'],[name='pc_id'],[name='name'],[name='imp_mpan_core'],[name='exp_mpan_core'],[name='mop_account'],[name='dc_account'],[name='dc_contract_id'],[name='mop_contract_id'],[name='imp_supplier_account'],[name='exp_supplier_account'],[name='imp_llfc_id'],[name='exp_llfc_id'],[name='mtc_participant_id'],[name='has_imp_mpan'],[name='has_exp_mpan'],[name='dno_id'],[name='gsp_group_id'],[name='ssc_id'],[name='cop_id'],[name='comm_id'],[name='energisation_status_id'],[name='imp_supplier_contract_id'],[name='exp_supplier_contract_id']">
|
|
16
|
+
hx-trigger="load, change" hx-include="this">
|
|
18
17
|
{{ input_hidden('source_id')}}
|
|
19
18
|
<input type="hidden" name="cop_id" value="{{request.values.cop_id}}">
|
|
20
19
|
<input type="hidden" name="comm_id" value="{{request.values.comm_id}}">
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{% extends "macros.html" %}
|
|
2
2
|
|
|
3
3
|
{% block html %}
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
<input type="hidden" name="prefix" value="{{prefix}}">
|
|
5
|
+
<input type="hidden" name="resolution" value="{{resolution}}">
|
|
6
6
|
|
|
7
7
|
{{input_text(year_name, initial=initial.year, size=4, maxlength=4)}}
|
|
8
8
|
|
chellow/templates/macros.html
CHANGED
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
{%- if is_dynamic -%}
|
|
18
18
|
, change
|
|
19
19
|
{%- endif -%}" hx-include="this">
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
<input type="hidden" name="prefix" value="{{prefix}}">
|
|
21
|
+
<input type="hidden" name="resolution" value="{{resolution}}">
|
|
22
|
+
|
|
22
23
|
{% if initial %}
|
|
23
24
|
{{input_hidden(year_name, initial=initial.year)}}
|
|
24
25
|
{{input_hidden(month_name, initial=initial.month)}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1699877950.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)
|
|
@@ -57,7 +57,7 @@ chellow/gas/bill_parser_csv.py,sha256=Ecdy-apFT-mWAxddAsM4k1s-9-FpIaOfjP0oFc0rdQ
|
|
|
57
57
|
chellow/gas/bill_parser_engie_edi.py,sha256=2nlroUfNS4DV7fMLiTS_0MZanyFdmRn-4guR3dSK-Vg,8813
|
|
58
58
|
chellow/gas/ccl.py,sha256=f4__2kBd6b8n1-7JKKjsJQ2Y0ZxqrIZJ12Y9BQDBxKc,281
|
|
59
59
|
chellow/gas/cv.py,sha256=ORi3xCJlcRlmGTiluZ9ZTA-GYt6vTyeyQ-bSAoXMqO4,7250
|
|
60
|
-
chellow/gas/dn_rate_parser.py,sha256=
|
|
60
|
+
chellow/gas/dn_rate_parser.py,sha256=8ybJYqYsOyMnt-8IVVapZivkuJLJ8pHav4Chif8JNfQ,11338
|
|
61
61
|
chellow/gas/engine.py,sha256=PUrwwQi7XokloQwU1Wjvot6K73OqwxOUme-MePti6-Q,25243
|
|
62
62
|
chellow/gas/transportation.py,sha256=Bkg8TWOs-v0ES-4qqwbleiOhqbE_t2KauUx9JYMZELM,5300
|
|
63
63
|
chellow/gas/views.py,sha256=0kcz5u5tnCzILwdTi2Ck62ZrDcLlo3AW3cuhJUhvlMQ,55961
|
|
@@ -114,10 +114,10 @@ chellow/templates/edi_viewer.html,sha256=szUthgHOdph6Of-7f_1LeC_zYlNJaMeS5ctn6xT
|
|
|
114
114
|
chellow/templates/general_import.html,sha256=SMemHGu466Be3_cAWSS6Hn-Kv-1psbEMDD6NQG6bfbI,1013
|
|
115
115
|
chellow/templates/general_imports.html,sha256=BbMs_OyLgJ6nZQZBINMZAO4TMxJha1HFNoA35N_mE_E,12230
|
|
116
116
|
chellow/templates/home.html,sha256=5GXzbgFeceQAnr8nQEg911v0xT4hJN1H0-5Npo9GbAE,5516
|
|
117
|
-
chellow/templates/input_date.html,sha256=
|
|
117
|
+
chellow/templates/input_date.html,sha256=rpgB5n0LfN8Y5djN_ZiuSxqdskxzCoKrEqI7hyJkVQo,1248
|
|
118
118
|
chellow/templates/local_report.html,sha256=pV7_0QwyQ-D3OS9LXrly5pq3qprZnwTCoq6vCnMTkS4,1332
|
|
119
119
|
chellow/templates/local_reports.html,sha256=4wbfVkY4wUfSSfWjxqIsvCpIsa9k7H_dGAjznrG5jNM,701
|
|
120
|
-
chellow/templates/macros.html,sha256=
|
|
120
|
+
chellow/templates/macros.html,sha256=L9vpDsM1mDY0UEt8sJVzNAOKCivRaLl5g8qgk_fuvSw,5181
|
|
121
121
|
chellow/templates/national_grid.html,sha256=8W92tsjlqPSB0J--nyFIi-wzFae9CyDr6fODXLZp8ic,991
|
|
122
122
|
chellow/templates/non_core_auto_importer.html,sha256=s9SluRN1bHTHjd8GP6uFhk6LrZYG8dqBG3y94zUKe5Q,944
|
|
123
123
|
chellow/templates/non_core_contract.html,sha256=X876Aywk0WHb5i2sk7E7ZN6AnHbvJM9wK1GzMiLY5B0,1671
|
|
@@ -204,7 +204,7 @@ chellow/templates/e/em_site.html,sha256=LQJ1RJe7IJCZ-dsmd-Ku3hhNEeKUq3BimEBKJPNZ
|
|
|
204
204
|
chellow/templates/e/em_totals.html,sha256=D_H12qF6b8heVeSGzcl4u7xRvtPLUtM1zWYrwEFRFTM,678
|
|
205
205
|
chellow/templates/e/energisation_status.html,sha256=hvD1qMpLYjmWWGIrv-5Ko3KbRL3a6MdQXcO3Fr4_cHA,478
|
|
206
206
|
chellow/templates/e/energisation_statuses.html,sha256=qwRIH7jqKA1MgajsWOeZAH89iRpOfsNW_fAqXymUQ3E,587
|
|
207
|
-
chellow/templates/e/era_edit.html,sha256=
|
|
207
|
+
chellow/templates/e/era_edit.html,sha256=hW2_8Yt1n6VbT15a3PJ4Tn7wwVKyU-IkYDSLC1ZWCRQ,4022
|
|
208
208
|
chellow/templates/e/era_edit_form.html,sha256=dd2AjxZjrKw01CCEBkXEQZ8biuep0APcOm1cYjgcG9I,4749
|
|
209
209
|
chellow/templates/e/era_supplier_bill_add.html,sha256=TgcIFuX-_sXXYFsn9yGT-QqMrZe6uLxWoJ-G0f-VELU,2050
|
|
210
210
|
chellow/templates/e/generator_type.html,sha256=En0lQSU_mc-QLMG5Hx-gDINVoqyfa4X9RYwopzpm33g,439
|
|
@@ -269,7 +269,7 @@ chellow/templates/e/scenario_add.html,sha256=qQpxvhlrQqrNYiIQTHu_NvSoeSKuRNEJQYw
|
|
|
269
269
|
chellow/templates/e/scenario_docs.html,sha256=dvl-2wppHGaVqG16w9PERE_65u2eJAIOTh-lHCX_dW4,5162
|
|
270
270
|
chellow/templates/e/scenario_edit.html,sha256=Uf64v_qsBP0BxaFEIz214CC_dZXlvro4zvQXH_towhA,1070
|
|
271
271
|
chellow/templates/e/scenarios.html,sha256=zlNhZvQEcuwLgHObVHS-4THur5Lz9Jf1G6xD98-jamI,847
|
|
272
|
-
chellow/templates/e/site_add_e_supply.html,sha256=
|
|
272
|
+
chellow/templates/e/site_add_e_supply.html,sha256=GqPtk8yYJzMij14SzNREGSpCaVD2YcOJSmu-Dn00bGo,2636
|
|
273
273
|
chellow/templates/e/site_add_e_supply_form.html,sha256=rL-hEdT6ORiBHC8yxxoQA-ofFKozOdk47olRkzusvhY,5308
|
|
274
274
|
chellow/templates/e/site_hh_data.html,sha256=1Ld5IIM3G84tVCAwtlJNGJTnrASS7d84AgaPwwHNEMI,1413
|
|
275
275
|
chellow/templates/e/site_site_snags.html,sha256=vWpsFyxZj7GOrMXQz2rKq9zOQdVsqeUVtdBzehp9J5w,847
|
|
@@ -357,6 +357,6 @@ chellow/templates/g/supply_note_edit.html,sha256=6UQf_qbhFDys3cVsTp-c7ABWZpggW9R
|
|
|
357
357
|
chellow/templates/g/supply_notes.html,sha256=WR3YwGh_qqTklSJ7JqWX6BKBc9rk_jMff4RiWZiF2CM,936
|
|
358
358
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
359
359
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
360
|
-
chellow-
|
|
361
|
-
chellow-
|
|
362
|
-
chellow-
|
|
360
|
+
chellow-1699877950.0.0.dist-info/METADATA,sha256=ux1gN6B0EhEEvIskOS2TEiVrFpzkH21dH9ql7K64DVE,12160
|
|
361
|
+
chellow-1699877950.0.0.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
|
|
362
|
+
chellow-1699877950.0.0.dist-info/RECORD,,
|
|
File without changes
|