runtimepy 5.7.7__py3-none-any.whl → 5.7.9__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.
- runtimepy/__init__.py +2 -2
- runtimepy/data/css/bootstrap_extra.css +3 -0
- runtimepy/data/md/RuntimeStruct.md +1 -0
- runtimepy/net/server/websocket/state.py +1 -0
- runtimepy/requirements.txt +1 -1
- runtimepy/sample/peer.py +4 -1
- runtimepy/sample/program.py +2 -0
- runtimepy/schemas.py +5 -0
- {runtimepy-5.7.7.dist-info → runtimepy-5.7.9.dist-info}/LICENSE +1 -1
- {runtimepy-5.7.7.dist-info → runtimepy-5.7.9.dist-info}/METADATA +8 -8
- {runtimepy-5.7.7.dist-info → runtimepy-5.7.9.dist-info}/RECORD +14 -14
- {runtimepy-5.7.7.dist-info → runtimepy-5.7.9.dist-info}/WHEEL +1 -1
- {runtimepy-5.7.7.dist-info → runtimepy-5.7.9.dist-info}/entry_points.txt +0 -0
- {runtimepy-5.7.7.dist-info → runtimepy-5.7.9.dist-info}/top_level.txt +0 -0
runtimepy/__init__.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# =====================================
|
|
2
2
|
# generator=datazen
|
|
3
3
|
# version=3.1.4
|
|
4
|
-
# hash=
|
|
4
|
+
# hash=5d30f53776c61076df3ffeca2fdb30a1
|
|
5
5
|
# =====================================
|
|
6
6
|
|
|
7
7
|
"""
|
|
@@ -10,7 +10,7 @@ Useful defaults and other package metadata.
|
|
|
10
10
|
|
|
11
11
|
DESCRIPTION = "A framework for implementing Python services."
|
|
12
12
|
PKG_NAME = "runtimepy"
|
|
13
|
-
VERSION = "5.7.
|
|
13
|
+
VERSION = "5.7.9"
|
|
14
14
|
|
|
15
15
|
# runtimepy-specific content.
|
|
16
16
|
METRICS_NAME = "metrics"
|
runtimepy/requirements.txt
CHANGED
runtimepy/sample/peer.py
CHANGED
|
@@ -49,6 +49,9 @@ class SamplePeer(RuntimepyPeer):
|
|
|
49
49
|
)
|
|
50
50
|
sig = asyncio.Event()
|
|
51
51
|
task = asyncio.create_task(conn.process(stop_sig=sig))
|
|
52
|
-
|
|
52
|
+
|
|
53
|
+
for endpoint in ["/index.html", "/app.html"]:
|
|
54
|
+
await conn.request(RequestHeader(target=endpoint))
|
|
55
|
+
|
|
53
56
|
sig.set()
|
|
54
57
|
await task
|
runtimepy/sample/program.py
CHANGED
runtimepy/schemas.py
CHANGED
|
@@ -8,12 +8,17 @@ from typing import Optional as _Optional
|
|
|
8
8
|
# third-party
|
|
9
9
|
from vcorelib.dict.codec import DictCodec as _DictCodec
|
|
10
10
|
from vcorelib.io import DEFAULT_INCLUDES_KEY
|
|
11
|
+
from vcorelib.paths.find import PACKAGE_SEARCH
|
|
11
12
|
from vcorelib.schemas.base import SchemaMap as _SchemaMap
|
|
12
13
|
from vcorelib.schemas.json import JsonSchemaMap as _JsonSchemaMap
|
|
13
14
|
|
|
14
15
|
# internal
|
|
15
16
|
from runtimepy import PKG_NAME
|
|
16
17
|
|
|
18
|
+
# Add this package to the search path.
|
|
19
|
+
if PKG_NAME not in PACKAGE_SEARCH:
|
|
20
|
+
PACKAGE_SEARCH.insert(0, PKG_NAME)
|
|
21
|
+
|
|
17
22
|
|
|
18
23
|
class RuntimepyDictCodec(_DictCodec):
|
|
19
24
|
"""
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: runtimepy
|
|
3
|
-
Version: 5.7.
|
|
3
|
+
Version: 5.7.9
|
|
4
4
|
Summary: A framework for implementing Python services.
|
|
5
5
|
Home-page: https://github.com/vkottler/runtimepy
|
|
6
6
|
Author: Vaughn Kottler
|
|
7
7
|
Author-email: Vaughn Kottler <vaughn@libre-embedded.com>
|
|
8
8
|
Maintainer-email: Vaughn Kottler <vaughn@libre-embedded.com>
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
10
9
|
Classifier: Programming Language :: Python :: 3.12
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
11
11
|
Classifier: Operating System :: Microsoft :: Windows
|
|
12
12
|
Classifier: Operating System :: MacOS
|
|
13
13
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
14
|
Classifier: Operating System :: Unix
|
|
15
15
|
Classifier: Development Status :: 5 - Production/Stable
|
|
16
16
|
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
-
Requires-Python: >=3.
|
|
17
|
+
Requires-Python: >=3.12
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
License-File: LICENSE
|
|
20
|
-
Requires-Dist: svgen >=0.6.8
|
|
21
20
|
Requires-Dist: aiofiles
|
|
21
|
+
Requires-Dist: svgen >=0.6.8
|
|
22
22
|
Requires-Dist: websockets
|
|
23
|
-
Requires-Dist: vcorelib >=3.4.
|
|
23
|
+
Requires-Dist: vcorelib >=3.4.5
|
|
24
24
|
Requires-Dist: psutil
|
|
25
25
|
Provides-Extra: test
|
|
26
26
|
Requires-Dist: pylint ; extra == 'test'
|
|
@@ -45,11 +45,11 @@ Requires-Dist: uvloop ; (sys_platform != "win32" and sys_platform != "cygwin") a
|
|
|
45
45
|
=====================================
|
|
46
46
|
generator=datazen
|
|
47
47
|
version=3.1.4
|
|
48
|
-
hash=
|
|
48
|
+
hash=9fbafffa1da655b349a05dfa48addf0b
|
|
49
49
|
=====================================
|
|
50
50
|
-->
|
|
51
51
|
|
|
52
|
-
# runtimepy ([5.7.
|
|
52
|
+
# runtimepy ([5.7.9](https://pypi.org/project/runtimepy/))
|
|
53
53
|
|
|
54
54
|
[](https://pypi.org/project/runtimepy/)
|
|
55
55
|

|
|
@@ -72,8 +72,8 @@ Requires-Dist: uvloop ; (sys_platform != "win32" and sys_platform != "cygwin") a
|
|
|
72
72
|
|
|
73
73
|
This package is tested with the following Python minor versions:
|
|
74
74
|
|
|
75
|
-
* [`python3.11`](https://docs.python.org/3.11/)
|
|
76
75
|
* [`python3.12`](https://docs.python.org/3.12/)
|
|
76
|
+
* [`python3.13`](https://docs.python.org/3.13/)
|
|
77
77
|
|
|
78
78
|
## Platform Support
|
|
79
79
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
runtimepy/__init__.py,sha256=
|
|
1
|
+
runtimepy/__init__.py,sha256=GL1as0g7a1sU6w4kqUfDAJXvMjjsu7qwNr2fYa4Jpes,390
|
|
2
2
|
runtimepy/__main__.py,sha256=OPAed6hggoQdw-6QAR62mqLC-rCkdDhOq0wyeS2vDRI,332
|
|
3
3
|
runtimepy/app.py,sha256=sTvatbsGZ2Hdel36Si_WUbNMtg9CzsJyExr5xjIcxDE,970
|
|
4
4
|
runtimepy/dev_requirements.txt,sha256=j0dh11ztJAzfaUL0iFheGjaZj9ppDzmTkclTT8YKO8c,230
|
|
5
5
|
runtimepy/entry.py,sha256=3672ccoslf2h8Wg5M_SuW6SoEx0oslRoi0ngZsgjNz8,1954
|
|
6
6
|
runtimepy/mapping.py,sha256=VQK1vzmQVvYYKI85_II37-hIEbvgL3PzNy-WI6TTo80,5091
|
|
7
7
|
runtimepy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
runtimepy/requirements.txt,sha256=
|
|
9
|
-
runtimepy/schemas.py,sha256=
|
|
8
|
+
runtimepy/requirements.txt,sha256=ntjU97UnQ5N7tqfwM7ljg77V5MBFFNBTfVuKS_KGwP0,124
|
|
9
|
+
runtimepy/schemas.py,sha256=zTgxPm9DHZ0R_bmmOjNQMTXdtM_Hb1bE-Fog40jDCgg,839
|
|
10
10
|
runtimepy/util.py,sha256=1279Ea7CNHa1U_JvUydGAb2oEI2TxilXkq5V1RseCwU,1437
|
|
11
11
|
runtimepy/channel/__init__.py,sha256=pf0RJ5g37_FVV8xoUNgzFGuIfbZEYSBA_cQlJSDTPDo,4774
|
|
12
12
|
runtimepy/channel/registry.py,sha256=nk36qM_Bf6qK6AFR0plaZHR1PU7b4LZqbQ0feJqk4lc,4784
|
|
@@ -51,7 +51,7 @@ runtimepy/data/server.yaml,sha256=wS_Ceiu2TpkfPurpqoYoPlgzc9DAWtUd24MW7t-S5rU,97
|
|
|
51
51
|
runtimepy/data/server_base.yaml,sha256=R_varVgGPGV4nxWYYwKUnHC9ufINi4V92YVhxCCC5wg,875
|
|
52
52
|
runtimepy/data/server_dev.yaml,sha256=nQsPh7LuQig3pzHfdg_aD3yOUiCj1sKKfI-WwW3hXmQ,523
|
|
53
53
|
runtimepy/data/tftp_server.yaml,sha256=-bFOWJSagI-fEQQcT8k7eDMJVfSPm2XAxLVG3dqUTa4,204
|
|
54
|
-
runtimepy/data/css/bootstrap_extra.css,sha256
|
|
54
|
+
runtimepy/data/css/bootstrap_extra.css,sha256=sNyeeW2WlPvFx7l1YPCa679I-W7nwE012ybQPLYh_b4,1867
|
|
55
55
|
runtimepy/data/css/font.css,sha256=Pe82E66rNi-cwlQ-_1GHAuhPGu5L4x5KqgV0dbDe51w,977
|
|
56
56
|
runtimepy/data/css/main.css,sha256=OSg5g7FYbjsHY7QNbFCTPAD1MlypeoYfaOyAfvnT2kI,680
|
|
57
57
|
runtimepy/data/js/DataConnection.js,sha256=DnX8FMehjJXqmI62UMYXSvl_XdfQMzq3XUDFbLu2GgI,98
|
|
@@ -85,7 +85,7 @@ runtimepy/data/js/third-party/webgl-debug.js,sha256=AtuSr5qje8a37S2ZE-ztA01QuGlG
|
|
|
85
85
|
runtimepy/data/js/unused/pyodide.js,sha256=tcfj4XcYdhJSwFdHOQYpIHu0_2fGwkpWp4ZFyIRmmrc,864
|
|
86
86
|
runtimepy/data/md/Connection.md,sha256=gh0KIQObDOYEf_DNxLcb8U3ngjTYtmsgOhvz_O7QYpY,32
|
|
87
87
|
runtimepy/data/md/PeriodicTask.md,sha256=86JR4cgUjhFU3pnUXvKIETVEtmskYtQ_Ip-v2_10G0Y,35
|
|
88
|
-
runtimepy/data/md/RuntimeStruct.md,sha256
|
|
88
|
+
runtimepy/data/md/RuntimeStruct.md,sha256=W6R0JQLGGXPJt71pssakHPEOBa7Mntjh4ErwoNoM0Bs,118
|
|
89
89
|
runtimepy/data/md/RuntimepyPeer.md,sha256=ayjL1V5KXRBEixG0vfxIajY2Dt_H5SYaZGSscXHSL4E,34
|
|
90
90
|
runtimepy/data/md/SinusoidTask.md,sha256=nTGmZXFv-r9d-ZgmmIHr6SKSp-K-nzJW-B6NKhg7FQ8,739
|
|
91
91
|
runtimepy/data/schemas/BitFields.yaml,sha256=7tSjEQNo_j458EN16AgIaC5eh0iEXCj9EbVTVc-EkB8,926
|
|
@@ -202,7 +202,7 @@ runtimepy/net/server/app/env/tab/html.py,sha256=IfKCQ_2qupIRtWIuodIBM8XAal1esSXo
|
|
|
202
202
|
runtimepy/net/server/app/env/tab/message.py,sha256=OWqBIPRt6UdBHAXk5qvFMbnWuvIRUyp34lzb3GYdthk,4070
|
|
203
203
|
runtimepy/net/server/struct/__init__.py,sha256=Zy37r6RLFu-XFr9vsanSq80BJdS6Dxr7zmPzQbb7xdw,1799
|
|
204
204
|
runtimepy/net/server/websocket/__init__.py,sha256=KISuFUUQwNn6BXo8BOMuMOXyoVqE7Jw94ZQiSCQuRQE,5279
|
|
205
|
-
runtimepy/net/server/websocket/state.py,sha256=
|
|
205
|
+
runtimepy/net/server/websocket/state.py,sha256=a5xNeq13VPaz48HCqcIQdf1r3WV1a3iVernXM6w7P9g,1828
|
|
206
206
|
runtimepy/net/stream/__init__.py,sha256=1PNossiE4S9wtPYoiHVsTeAMJFGtiak5vbsoIkVGfZs,2374
|
|
207
207
|
runtimepy/net/stream/base.py,sha256=Dg4vcR0n9y2122AyJ-9W-jkEhNla_EHO-DqJJPfGD4k,1977
|
|
208
208
|
runtimepy/net/stream/string.py,sha256=61mgserU3p6j5gAcK0oe0aKqL6vDh7NtgJvbPoiAUPM,784
|
|
@@ -259,8 +259,8 @@ runtimepy/registry/bool.py,sha256=ri56paLqwIOUo9JkSpwvrWmed9lHA851gke-0m8vGew,73
|
|
|
259
259
|
runtimepy/registry/item.py,sha256=HPqxmzuK8aOc1siHzYScgxYxSMZ4RVTmnsRW2oNcW34,852
|
|
260
260
|
runtimepy/registry/name.py,sha256=uhxmijwUT7x59NUYV4hJSe7VcnAbLDUSAPaKhR6K-N0,1749
|
|
261
261
|
runtimepy/sample/__init__.py,sha256=N7P6hnCLF9NwnkZA1h3LzS2C334SAO48Fu8adHxWGLU,56
|
|
262
|
-
runtimepy/sample/peer.py,sha256=
|
|
263
|
-
runtimepy/sample/program.py,sha256=
|
|
262
|
+
runtimepy/sample/peer.py,sha256=uNlIPAv1-wjGUWdR0AM3L9NUMjnIMJBqQ9ZsHdTLx3Q,1688
|
|
263
|
+
runtimepy/sample/program.py,sha256=I8_JGjEAh-d3eEw4M9l9CxEw4KG4s8f4i8STwRei5IY,2355
|
|
264
264
|
runtimepy/struct/__init__.py,sha256=wFjLwX83ztCF1CuFxnldetzMOoBs_UMirLV778GBGZc,2220
|
|
265
265
|
runtimepy/subprocess/__init__.py,sha256=VAiFrYFCU5ETDVoWLOVlrrSsx2d1_atYXUfXYc_OQ9g,4059
|
|
266
266
|
runtimepy/subprocess/interface.py,sha256=rYvM8bgoT4DoXGhdidhfmivzrjmEoW6788DjGyAdJ7A,8032
|
|
@@ -284,9 +284,9 @@ runtimepy/tui/task.py,sha256=nUZo9fuOC-k1Wpqdzkv9v1tQirCI28fZVgcC13Ijvus,1093
|
|
|
284
284
|
runtimepy/tui/channels/__init__.py,sha256=evDaiIn-YS9uGhdo8ZGtP9VK1ek6sr_P1nJ9JuSET0o,4536
|
|
285
285
|
runtimepy/ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
286
286
|
runtimepy/ui/controls.py,sha256=yvT7h3thbYaitsakcIAJ90EwKzJ4b-jnc6p3UuVf_XE,1241
|
|
287
|
-
runtimepy-5.7.
|
|
288
|
-
runtimepy-5.7.
|
|
289
|
-
runtimepy-5.7.
|
|
290
|
-
runtimepy-5.7.
|
|
291
|
-
runtimepy-5.7.
|
|
292
|
-
runtimepy-5.7.
|
|
287
|
+
runtimepy-5.7.9.dist-info/LICENSE,sha256=s2ILEylm2dAJJXL25nM92IWLRKmJW92zQRQe_cfdsHo,1071
|
|
288
|
+
runtimepy-5.7.9.dist-info/METADATA,sha256=n3bYpGmFzA7nS0zhHK2DNNzcTizdlZCfzCC2kRuKQoc,9308
|
|
289
|
+
runtimepy-5.7.9.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
290
|
+
runtimepy-5.7.9.dist-info/entry_points.txt,sha256=-btVBkYv7ybcopqZ_pRky-bEzu3vhbaG3W3Z7ERBiFE,51
|
|
291
|
+
runtimepy-5.7.9.dist-info/top_level.txt,sha256=0jPmh6yqHyyJJDwEID-LpQly-9kQ3WRMjH7Lix8peLg,10
|
|
292
|
+
runtimepy-5.7.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|