chellow 1733390302.0.0__py3-none-any.whl → 1734005435.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.

Files changed (49) hide show
  1. chellow/__init__.py +0 -1
  2. chellow/e/bill_parsers/mm.py +27 -5
  3. chellow/e/computer.py +1 -7
  4. chellow/e/views.py +126 -10
  5. chellow/gas/engine.py +1 -3
  6. chellow/gas/views.py +3 -2
  7. chellow/reports/report_109.py +2 -3
  8. chellow/reports/report_111.py +2 -3
  9. chellow/reports/report_169.py +2 -3
  10. chellow/reports/report_181.py +2 -3
  11. chellow/reports/report_183.py +3 -4
  12. chellow/reports/report_187.py +2 -3
  13. chellow/reports/report_219.py +2 -3
  14. chellow/reports/report_231.py +2 -3
  15. chellow/reports/report_233.py +2 -3
  16. chellow/reports/report_241.py +2 -3
  17. chellow/reports/report_247.py +2 -3
  18. chellow/reports/report_29.py +2 -3
  19. chellow/reports/report_291.py +2 -3
  20. chellow/reports/report_33.py +2 -3
  21. chellow/reports/report_387.py +2 -3
  22. chellow/reports/report_41.py +2 -3
  23. chellow/reports/report_429.py +2 -3
  24. chellow/reports/report_59.py +2 -3
  25. chellow/reports/report_81.py +2 -3
  26. chellow/reports/report_87.py +3 -7
  27. chellow/reports/report_asset_comparison.py +2 -3
  28. chellow/reports/report_batches.py +2 -3
  29. chellow/reports/report_bills.py +4 -3
  30. chellow/reports/report_csv_llfcs.py +2 -3
  31. chellow/reports/report_csv_site_hh_data.py +2 -3
  32. chellow/reports/report_csv_site_snags.py +2 -3
  33. chellow/reports/report_ecoes_comparison.py +2 -3
  34. chellow/reports/report_g_monthly_duration.py +2 -3
  35. chellow/reports/report_g_supplies_snapshot.py +2 -3
  36. chellow/reports/report_g_supply_virtual_bill.py +2 -3
  37. chellow/reports/report_g_virtual_bills.py +2 -3
  38. chellow/reports/report_g_virtual_bills_hh.py +2 -3
  39. chellow/reports/report_sscs.py +2 -3
  40. chellow/reports/report_supply_contacts.py +2 -3
  41. chellow/templates/e/dc_contract_properties_edit.html +10 -10
  42. chellow/templates/e/site_hh_data.html +73 -49
  43. chellow/templates/site.html +1 -1
  44. chellow/utils.py +0 -2
  45. chellow/views.py +33 -167
  46. {chellow-1733390302.0.0.dist-info → chellow-1734005435.0.0.dist-info}/METADATA +1 -1
  47. {chellow-1733390302.0.0.dist-info → chellow-1734005435.0.0.dist-info}/RECORD +48 -49
  48. chellow/templates/site_hh_data.html +0 -75
  49. {chellow-1733390302.0.0.dist-info → chellow-1734005435.0.0.dist-info}/WHEEL +0 -0
@@ -1,75 +0,0 @@
1
- {% extends "base.html" %}
2
-
3
- {% block title %}
4
- Sites » {{site.code}} {{site.name}} » HH data
5
- {% endblock %}
6
-
7
- {% block inside_head %}
8
- <style>
9
- tbody > tr {
10
- scroll-margin-top: 8em;
11
- }
12
-
13
- tbody > tr:target {
14
- background-color: yellow;
15
- }
16
- </style>
17
- {% endblock %}
18
-
19
- {% block nav %}
20
- <a href="/sites">Sites</a> &raquo;
21
- <a href="/sites/{{site.id}}">{{site.code}} {{site.name}}</a> &raquo; HH data
22
- {% endblock %}
23
-
24
- {% block content %}
25
- <form>
26
- <fieldset>
27
- <label>Month</label> {{input_date(resolution='month')}}
28
- <input type="submit" value="Show">
29
- </fieldset>
30
- </form>
31
- <table class="sticky">
32
- <caption>HH Data</caption>
33
- <thead>
34
- <tr>
35
- <th>HH Starting</th>
36
- <th>Imported kWh</th>
37
- <th>Used kWh</th>
38
- <th>Displaced kWh</th>
39
- <th>Generated kWh</th>
40
- <th>Exported kWh</th>
41
- <th>Parasitic kWh</th>
42
- {% for supply in supplies %}
43
- {% set pref = supply.name + ' '+ supply.source.code +
44
- (' ' + supply.generator_type.code if
45
- supply.generator_type != None else '') %}
46
- <th style="border-left-width: medium;">{{pref}} Imp kWh</th>
47
- <th>{{pref}} Imp Status</th>
48
- <th>{{pref}} Exp kWh</th>
49
- <th>{{pref}} Exp Status</th>
50
- {% endfor %}
51
- </tr>
52
- </thead>
53
- <tbody>
54
- {% for hh in hh_data %}
55
- {% set start_str = hh.start_date|hh_format %}
56
- <tr id="{{start_str}}">
57
- <td style="white-space: nowrap">{{start_str}}</td>
58
- <td>{{hh.import_kwh}}</td>
59
- <td>{{hh.used_kwh}}</td>
60
- <td>{{hh.displaced_kwh}}</td>
61
- <td>{{hh.generated_kwh}}</td>
62
- <td>{{hh.export_kwh}}</td>
63
- <td>{{hh.parasitic_kwh}}</td>
64
- {% for datum in hh.supplies %}
65
- <td style="border-left-width: medium;"
66
- >{{datum.import_kwh}}</td>
67
- <td>{{datum.import_status}}</td>
68
- <td>{{datum.export_kwh}}</td>
69
- <td>{{datum.export_status}}</td>
70
- {% endfor %}
71
- </tr>
72
- {% endfor %}
73
- </tbody>
74
- </table>
75
- {% endblock %}