chellow 1716909517.0.0__py3-none-any.whl → 1716928285.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
CHANGED
|
@@ -73,7 +73,7 @@ CHARGE_UNITS_LOOKUP = {
|
|
|
73
73
|
ELEMENT_LOOKUP = {
|
|
74
74
|
"10ANNUAL": "standing",
|
|
75
75
|
"20RS0108": "unrestricted",
|
|
76
|
-
"9WANNUAL": "
|
|
76
|
+
"9WANNUAL": "site-fee",
|
|
77
77
|
"20RS0123": "day",
|
|
78
78
|
"30RS0123": "night",
|
|
79
79
|
"90ANNUAL": "duos-fixed",
|
|
@@ -181,14 +181,14 @@ def _handle_0470(headers, pre_record, record):
|
|
|
181
181
|
def _handle_1455(headers, pre_record, record):
|
|
182
182
|
parts = _chop_record(record, ccl_kwh=13, unknown_1=8, ccl_rate=15, ccl_gbp=13)
|
|
183
183
|
bd = headers["breakdown"]
|
|
184
|
-
bd["
|
|
185
|
-
if "
|
|
186
|
-
ccl_rates = bd["
|
|
184
|
+
bd["ccl-kwh"] += Decimal(parts["ccl_kwh"])
|
|
185
|
+
if "ccl-rate" in bd:
|
|
186
|
+
ccl_rates = bd["ccl-rate"]
|
|
187
187
|
else:
|
|
188
|
-
ccl_rates = bd["
|
|
188
|
+
ccl_rates = bd["ccl-rate"] = set()
|
|
189
189
|
|
|
190
190
|
ccl_rates.add(Decimal(parts["ccl_rate"]) / Decimal("100"))
|
|
191
|
-
bd["
|
|
191
|
+
bd["ccl-gbp"] += Decimal(parts["ccl_gbp"]) / Decimal("100")
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
def _handle_1460(headers, pre_record, record):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1716928285.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)
|
|
@@ -51,7 +51,7 @@ chellow/e/bill_parsers/gdf_csv.py,sha256=ZfK3Oc6oP28p_P9DIevLNB_zW2WLcEJ3Lvb1gL3
|
|
|
51
51
|
chellow/e/bill_parsers/haven_csv.py,sha256=0uENq8IgVNqdxfBQMBxLTSZWCOuDHXZC0xzk52SbfyE,13652
|
|
52
52
|
chellow/e/bill_parsers/haven_edi.py,sha256=YGPHRxPOhje9s32jqPHHELni2tooOYj3cMC_qaZVPq4,16107
|
|
53
53
|
chellow/e/bill_parsers/haven_edi_tprs.py,sha256=ZVX9CCqUybsot_Z0BEOJPvl9x5kSr7fEWyuJXvZDcz4,11841
|
|
54
|
-
chellow/e/bill_parsers/mm.py,sha256=
|
|
54
|
+
chellow/e/bill_parsers/mm.py,sha256=5ChR3uVImZ6pJe_wZFeDkA06uxcVlyWWizwKJnMR_gg,8528
|
|
55
55
|
chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py,sha256=yogXTuQHGRL7IiqvRWr2C9V24ez1j9Yx0128UygPE_k,4723
|
|
56
56
|
chellow/e/bill_parsers/settlement_dc_stark_xlsx.py,sha256=gKeYMdUO4bVycV8n1lWs5AIfF3bHZLkM6tkasD4rhHs,6239
|
|
57
57
|
chellow/e/bill_parsers/sse_edi.py,sha256=L85DOfNkqexeEIEr8pCBn_2sHJI-zEaw6cogpE3YyYM,15204
|
|
@@ -364,6 +364,6 @@ chellow/templates/g/supply_note_edit.html,sha256=6UQf_qbhFDys3cVsTp-c7ABWZpggW9R
|
|
|
364
364
|
chellow/templates/g/supply_notes.html,sha256=WR3YwGh_qqTklSJ7JqWX6BKBc9rk_jMff4RiWZiF2CM,936
|
|
365
365
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
366
366
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
367
|
-
chellow-
|
|
368
|
-
chellow-
|
|
369
|
-
chellow-
|
|
367
|
+
chellow-1716928285.0.0.dist-info/METADATA,sha256=lq5aS6s7xy1rEuw15YFDiVcv3oNv-OeA3IM1cyaKgqc,12205
|
|
368
|
+
chellow-1716928285.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
|
369
|
+
chellow-1716928285.0.0.dist-info/RECORD,,
|
|
File without changes
|