chellow 1728986476.0.0__py3-none-any.whl → 1729012049.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/bill_parsers/mm.py +2 -1
- chellow/e/computer.py +8 -2
- chellow/templates/e/scenario_docs.html +2 -1
- {chellow-1728986476.0.0.dist-info → chellow-1729012049.0.0.dist-info}/METADATA +1 -1
- {chellow-1728986476.0.0.dist-info → chellow-1729012049.0.0.dist-info}/RECORD +6 -6
- {chellow-1728986476.0.0.dist-info → chellow-1729012049.0.0.dist-info}/WHEEL +0 -0
chellow/e/bill_parsers/mm.py
CHANGED
|
@@ -172,7 +172,8 @@ def _handle_0461(headers, pre_record, record):
|
|
|
172
172
|
mpan_core = parse_mpan_core(parts["mpan_core"])
|
|
173
173
|
headers["mpan_core"] = mpan_core
|
|
174
174
|
units = CONSUMPTION_UNITS_LOOKUP[parts["units"].strip()]
|
|
175
|
-
|
|
175
|
+
register_code = parts["register_code"].strip()
|
|
176
|
+
if units == "kWh" and not register_code.startswith("NOCHARGE"):
|
|
176
177
|
headers["kwh"] += Decimal(parts["quantity"])
|
|
177
178
|
|
|
178
179
|
prev_read_date_str = parts["prev_read_date"].strip()
|
chellow/e/computer.py
CHANGED
|
@@ -993,7 +993,10 @@ class SupplySource(DataSource):
|
|
|
993
993
|
else:
|
|
994
994
|
self.llfc = era.imp_llfc
|
|
995
995
|
|
|
996
|
-
|
|
996
|
+
if "imp_sc" in self.era_map:
|
|
997
|
+
self.sc = self.era_map["imp_sc"]
|
|
998
|
+
else:
|
|
999
|
+
self.sc = era.imp_sc
|
|
997
1000
|
self.supplier_account = era.imp_supplier_account
|
|
998
1001
|
|
|
999
1002
|
if era.imp_supplier_contract.id in self.era_map_supplier_contracts:
|
|
@@ -1020,7 +1023,10 @@ class SupplySource(DataSource):
|
|
|
1020
1023
|
else:
|
|
1021
1024
|
self.llfc = era.exp_llfc
|
|
1022
1025
|
|
|
1023
|
-
|
|
1026
|
+
if "exp_sc" in self.era_map:
|
|
1027
|
+
self.sc = self.era_map["exp_sc"]
|
|
1028
|
+
else:
|
|
1029
|
+
self.sc = era.exp_sc
|
|
1024
1030
|
self.supplier_account = era.exp_supplier_account
|
|
1025
1031
|
|
|
1026
1032
|
if era.exp_supplier_contract is None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1729012049.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)
|
|
@@ -20,7 +20,7 @@ chellow/e/bmarketidx.py,sha256=C0BaHn2RxIuWH2QzA-OmSP0fbUGvW9tqEUhLnzOEdmA,7968
|
|
|
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=
|
|
23
|
+
chellow/e/computer.py,sha256=24aBfC-aYoTseRwQSNRAb1PwTKp0zL9aispceL8drcU,67469
|
|
24
24
|
chellow/e/dno_rate_parser.py,sha256=A5TP6KjyfT5lVWh7dX4SiXRi6wnf2lGv-H_T4Sod8CI,21731
|
|
25
25
|
chellow/e/duos.py,sha256=nwviRjz-qIt3GxIMHk0hItIT4dtKsxOWq9TUC1z-hO8,30864
|
|
26
26
|
chellow/e/elexon.py,sha256=ALhXS9Es7PV0z9ukPbIramn3cf3iLyFi-PMWPSm5iOs,5487
|
|
@@ -55,7 +55,7 @@ chellow/e/bill_parsers/gdf_csv.py,sha256=ZfK3Oc6oP28p_P9DIevLNB_zW2WLcEJ3Lvb1gL3
|
|
|
55
55
|
chellow/e/bill_parsers/haven_csv.py,sha256=0uENq8IgVNqdxfBQMBxLTSZWCOuDHXZC0xzk52SbfyE,13652
|
|
56
56
|
chellow/e/bill_parsers/haven_edi.py,sha256=YGPHRxPOhje9s32jqPHHELni2tooOYj3cMC_qaZVPq4,16107
|
|
57
57
|
chellow/e/bill_parsers/haven_edi_tprs.py,sha256=ZVX9CCqUybsot_Z0BEOJPvl9x5kSr7fEWyuJXvZDcz4,11841
|
|
58
|
-
chellow/e/bill_parsers/mm.py,sha256=
|
|
58
|
+
chellow/e/bill_parsers/mm.py,sha256=56_nfXNrt_ZZRwoHnj5xTi6Emh9I2wY4JJSaNxmwcCc,10038
|
|
59
59
|
chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py,sha256=yogXTuQHGRL7IiqvRWr2C9V24ez1j9Yx0128UygPE_k,4723
|
|
60
60
|
chellow/e/bill_parsers/settlement_dc_stark_xlsx.py,sha256=PlEqCZuJ9DfQXeeYQ64jtf3ML7sUt_tt61QOOTnkE5c,6380
|
|
61
61
|
chellow/e/bill_parsers/sse_edi.py,sha256=L85DOfNkqexeEIEr8pCBn_2sHJI-zEaw6cogpE3YyYM,15204
|
|
@@ -278,7 +278,7 @@ chellow/templates/e/read_type.html,sha256=volKteZB79famXrzN_Bgqy9JT9C4a50vXLkuZ0
|
|
|
278
278
|
chellow/templates/e/read_types.html,sha256=CknHXNEkBnsAprqI66ftvnnMFBdR_kqI7o26rxjlrJA,473
|
|
279
279
|
chellow/templates/e/scenario.html,sha256=E8o3WQwAEejzaMPzeuUqyt9fWWNSDtN96qkJz0slDEo,1522
|
|
280
280
|
chellow/templates/e/scenario_add.html,sha256=qQpxvhlrQqrNYiIQTHu_NvSoeSKuRNEJQYwLqRlQ8_U,516
|
|
281
|
-
chellow/templates/e/scenario_docs.html,sha256
|
|
281
|
+
chellow/templates/e/scenario_docs.html,sha256=QxcX30Y0EJ0KDH0OBZs91a48FSehUEpT8qT1QhuXnRk,4971
|
|
282
282
|
chellow/templates/e/scenario_edit.html,sha256=Uf64v_qsBP0BxaFEIz214CC_dZXlvro4zvQXH_towhA,1070
|
|
283
283
|
chellow/templates/e/scenarios.html,sha256=zlNhZvQEcuwLgHObVHS-4THur5Lz9Jf1G6xD98-jamI,847
|
|
284
284
|
chellow/templates/e/site_add_e_supply.html,sha256=_gi1ejI4TMTMX9vCW7z2kToR2XKR6qoVh67qp_VrDsM,2731
|
|
@@ -369,6 +369,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
|
|
|
369
369
|
chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
|
|
370
370
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
371
371
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
372
|
-
chellow-
|
|
373
|
-
chellow-
|
|
374
|
-
chellow-
|
|
372
|
+
chellow-1729012049.0.0.dist-info/METADATA,sha256=KGncQBfTFXII_d4142UqVWnPjzQDIkmVbxHvd9Bj9-Y,12204
|
|
373
|
+
chellow-1729012049.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
374
|
+
chellow-1729012049.0.0.dist-info/RECORD,,
|
|
File without changes
|