stinger-ipc 0.0.7__py3-none-any.whl → 0.0.8__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.
- {stinger_ipc-0.0.7.dist-info → stinger_ipc-0.0.8.dist-info}/METADATA +1 -1
- {stinger_ipc-0.0.7.dist-info → stinger_ipc-0.0.8.dist-info}/RECORD +10 -10
- stingeripc/templates/html/app.js.jinja2 +12 -4
- stingeripc/templates/html/index.html.jinja2 +11 -6
- stingeripc/tools/markdown_generator.py +1 -1
- {stinger_ipc-0.0.7.dist-info → stinger_ipc-0.0.8.dist-info}/WHEEL +0 -0
- {stinger_ipc-0.0.7.dist-info → stinger_ipc-0.0.8.dist-info}/entry_points.txt +0 -0
- {stinger_ipc-0.0.7.dist-info → stinger_ipc-0.0.8.dist-info}/licenses/LICENSE +0 -0
- {stinger_ipc-0.0.7.dist-info → stinger_ipc-0.0.8.dist-info}/top_level.txt +0 -0
- /stingeripc/templates/html/{style.css.jinja2 → styles.css.jinja2} +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
stinger_ipc-0.0.
|
1
|
+
stinger_ipc-0.0.8.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
|
2
2
|
stingeripc/__init__.py,sha256=PTr5WfMfB-GL4vp3-XMU8IwGv3Q5RXQ24H7JuEo3hdk,133
|
3
3
|
stingeripc/args.py,sha256=x3P8GRu9-jyiMl62t0FPqbWY18FbhMVN4eSa2UzUv6c,3960
|
4
4
|
stingeripc/asyncapi.py,sha256=DJZuz_LiQEJjQGlnfRtgOToWVD55uLw5ZoiZ95-bxZc,23291
|
@@ -22,9 +22,9 @@ stingeripc/templates/cpp/include/structs.hpp.jinja2,sha256=DJAAq07DWJmYAEI9An5yx
|
|
22
22
|
stingeripc/templates/cpp/src/broker.cpp.jinja2,sha256=32bfKFJIzHe8w4JKZKjJ-wv8vVrYtOULyRK8f2lF1ow,9345
|
23
23
|
stingeripc/templates/cpp/src/client.cpp.jinja2,sha256=lfIbb-Usnru44-5EmrAGzjFiLqkoiSt-9VYkIrugXSI,9010
|
24
24
|
stingeripc/templates/cpp/src/server.cpp.jinja2,sha256=hs27uqLCwYR_1cvhwZwGiXTpEnsoBiGlMJE0pbY5cPg,7765
|
25
|
-
stingeripc/templates/html/app.js.jinja2,sha256=
|
26
|
-
stingeripc/templates/html/index.html.jinja2,sha256=
|
27
|
-
stingeripc/templates/html/
|
25
|
+
stingeripc/templates/html/app.js.jinja2,sha256=07USEiNgd1euaahPTz3tfcV-aFKEBX83NAVgYVbvr98,4110
|
26
|
+
stingeripc/templates/html/index.html.jinja2,sha256=egY_0riMki6czNQLTldOMlRdapFKNMouDfwMIcnDtuo,2155
|
27
|
+
stingeripc/templates/html/styles.css.jinja2,sha256=C0-ZZk4SIzG9dv9x9MrfhHrtkHBj7jRBFIQ98BFlrcg,3323
|
28
28
|
stingeripc/templates/markdown/index.md.jinja2,sha256=yB1Jpawc1VdBAzmnCI0ikdvVlcjZXf-2xRs159XSnHg,6432
|
29
29
|
stingeripc/templates/python/__init__.py.jinja2,sha256=jdZ07ogzJLOgzqqkHjj2_8hld9uBDnvB1DXPXnWkt98,22
|
30
30
|
stingeripc/templates/python/client.py.jinja2,sha256=lUlnh-Z2ulDaomx-bR7RAgovmZ4QYLjck0c_885x8DY,16461
|
@@ -47,11 +47,11 @@ stingeripc/templates/rust/server/examples/server.rs.jinja2,sha256=9no7UyiGEaqDdq
|
|
47
47
|
stingeripc/templates/rust/server/src/lib.rs.jinja2,sha256=dJL5YY776laUmFa4-LltUv6hvxfRkjcWWgj7hGRZ1ps,14831
|
48
48
|
stingeripc/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
49
49
|
stingeripc/tools/cli.py,sha256=oLfVQx4EqRgZ2AH9Xl7X6neXle-aJE55bSXTEvH7RDE,2303
|
50
|
-
stingeripc/tools/markdown_generator.py,sha256=
|
50
|
+
stingeripc/tools/markdown_generator.py,sha256=HVEWcMjAfVnuWY29kxfAW1mvSxQSF-rdYFA2kWdLOn0,1174
|
51
51
|
stingeripc/tools/python_generator.py,sha256=GJwGI6DntkJPJjHN4xSeTD60KgY32gI43IvIByxWSsw,1845
|
52
52
|
stingeripc/tools/rust_generator.py,sha256=9E7SMDM-iHE3O26QI3ieAHIInlrLepWMAFRnflKk3KI,2235
|
53
|
-
stinger_ipc-0.0.
|
54
|
-
stinger_ipc-0.0.
|
55
|
-
stinger_ipc-0.0.
|
56
|
-
stinger_ipc-0.0.
|
57
|
-
stinger_ipc-0.0.
|
53
|
+
stinger_ipc-0.0.8.dist-info/METADATA,sha256=G0NbCW1CGNCEuue1ZCNaxZI-5QVuvjO6cbpCwf-X6XU,6037
|
54
|
+
stinger_ipc-0.0.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
55
|
+
stinger_ipc-0.0.8.dist-info/entry_points.txt,sha256=bh8k8mvtAog4MKTd82ALSHqQkuD069VrZ-vNlde6XjE,204
|
56
|
+
stinger_ipc-0.0.8.dist-info/top_level.txt,sha256=mSNwAf83_1qiTP_vu7XEPBrZu-fDusT1FFyQZzCrRcU,11
|
57
|
+
stinger_ipc-0.0.8.dist-info/RECORD,,
|
@@ -22,10 +22,18 @@ app.controller("myCtrl", function ($scope, $filter, $location) {
|
|
22
22
|
|
23
23
|
$scope.timePattern = new RegExp("^[0-2][0-9]:[0-5][0-9]$");
|
24
24
|
$scope.online = false;
|
25
|
-
$scope.
|
26
|
-
"
|
27
|
-
|
28
|
-
|
25
|
+
$scope.signals = { {%-for sig_name, signal in stinger.signals.items() %}
|
26
|
+
"{{sig_name | lowerCamelCase}}": {
|
27
|
+
"subscription_id": null,
|
28
|
+
"name": "{{sig_name}}",
|
29
|
+
"received": [],
|
30
|
+
"mqtt_topic": "{{signal.topic}}"
|
31
|
+
}{%if not loop.last%},{%endif%}
|
32
|
+
{%endfor-%} };
|
33
|
+
|
34
|
+
$scope.properties = {
|
35
|
+
|
36
|
+
};
|
29
37
|
|
30
38
|
$scope.console = {
|
31
39
|
showing: false,
|
@@ -12,27 +12,32 @@
|
|
12
12
|
{%for sig_name, sig in stinger.signals.items() %}
|
13
13
|
<div class="signal-box" id="signal-box-{{ sig_name }}">
|
14
14
|
<h3 class="signal-title">{{ sig_name }}</h3>
|
15
|
-
<
|
16
|
-
|
15
|
+
<div class="signal-doc">{%if sig.documentation %}
|
16
|
+
{%markdown%}
|
17
|
+
{{ sig.documentation }}
|
18
|
+
{%endmarkdown%}
|
19
|
+
{%endif%}</div>
|
20
|
+
<div class="last-signal-value" ng-show="signals['{{sig_name|lowerCamelCase}}']"></div>
|
17
21
|
</div>
|
18
22
|
{%endfor%}
|
19
|
-
|
23
|
+
{%raw%}
|
20
24
|
<div id="console" ng-class="{ 'expanded' : (console.showing) }">
|
21
25
|
<div class="top" ng-click=" console.showing = !console.showing ">Request Console <span ng-show="console.showing && console.requests.length > 0" ng-click="console.requests = []"> - Clear</span>
|
22
26
|
<p class="expanded-toggle">{{ console.showing ? 'Hide' : 'Show' }}</p>
|
23
27
|
</div>
|
24
28
|
<div id="request-list">
|
25
29
|
<p ng-repeat="msg in console.requests" class="entry">
|
26
|
-
|
30
|
+
<strong>{{msg.name}}:</strong> <em>{{msg.topic}}</em> <span class="elapsedTime" ng-show="msg.responseTime">{{msg.responseTime - msg.requestTime}}ms</span><span class="elapsedTime" ng-show="msg.eventTime">{{msg.eventTime}}</span>
|
27
31
|
<span class="outgoing" ng-show="msg.payload">{{msg.payload}}</span>
|
28
32
|
<span class="incoming" ng-show="msg.response">{{msg.response}}</span>
|
29
33
|
<span ng-repeat="result in msg.results" class="action-result">{{result}}</span>
|
30
34
|
</p>
|
31
35
|
</div>
|
32
36
|
</div>
|
37
|
+
{%endraw%}
|
33
38
|
|
34
39
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.8.2/angular.min.js"></script>
|
35
|
-
<script src="https://unpkg.com/mqtt/dist/mqtt.min.js"></script>
|
36
|
-
<script src="
|
40
|
+
<script src="https://unpkg.com/mqtt@5.14.0/dist/mqtt.min.js"></script>
|
41
|
+
<script src="app.js"></script>
|
37
42
|
</body>
|
38
43
|
</html>
|
@@ -17,7 +17,7 @@ def main(inname: Annotated[Path, typer.Argument(exists=True, file_okay=True, dir
|
|
17
17
|
}
|
18
18
|
output_dir = Path(outdir).resolve()
|
19
19
|
print(f"[bold green]Output directory:[/bold green] {output_dir}")
|
20
|
-
t = jj2.
|
20
|
+
t = jj2.MarkdownTemplator(output_dir=output_dir)
|
21
21
|
t.add_template_dir(
|
22
22
|
os.path.join(os.path.dirname(__file__), "../templates", "markdown")
|
23
23
|
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|