runtimepy 5.11.1__tar.gz → 5.11.3__tar.gz
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-5.11.1/runtimepy.egg-info → runtimepy-5.11.3}/PKG-INFO +5 -5
- {runtimepy-5.11.1 → runtimepy-5.11.3}/README.md +2 -2
- {runtimepy-5.11.1 → runtimepy-5.11.3}/pyproject.toml +1 -1
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/__init__.py +2 -2
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/codec/protocol/base.py +1 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/codec/protocol/json.py +7 -1
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/codec/system/__init__.py +25 -13
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/enum/registry.py +11 -1
- runtimepy-5.11.3/runtimepy/primitives/byte_order.py +65 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/util.py +3 -3
- {runtimepy-5.11.1 → runtimepy-5.11.3/runtimepy.egg-info}/PKG-INFO +5 -5
- runtimepy-5.11.1/runtimepy/primitives/byte_order.py +0 -34
- {runtimepy-5.11.1 → runtimepy-5.11.3}/LICENSE +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/__main__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/app.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/array.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/base.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/command/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/command/parser.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/command/processor.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/command/result.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/create.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/file.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/sample.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/environment/telemetry.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/event/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/event/header.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/channel/registry.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/codec/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/codec/protocol/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/commands/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/commands/all.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/commands/arbiter.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/commands/common.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/commands/mtu.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/commands/server.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/commands/task.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/commands/tftp.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/commands/tui.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/control/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/control/env/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/control/source.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/control/step.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/404.html +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/browser.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/css/bootstrap_extra.css +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/css/font.css +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/css/main.css +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/dummy_load.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/factories.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/favicon.ico +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/DataConnection.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/JsonConnection.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/audio.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/App.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/ChannelTable.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/DataConnection.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/JsonConnection.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/OverlayManager.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/Plot.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/PlotDrawer.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/PlotManager.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/PlotModalManager.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/PointBuffer.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/PointManager.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/TabFilter.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/TabInterface.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/UnitSystem.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/WindowHashManager.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/classes/WorkerInterface.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/events.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/init.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/main.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/markdown_page.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/tab/env.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/tab/sound.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/third-party/webgl-debug.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/unused/pyodide.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/util.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/js/worker.js +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/md/Connection.md +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/md/PeriodicTask.md +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/md/RuntimeStruct.md +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/md/RuntimepyPeer.md +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/md/SinusoidTask.md +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/sample_telemetry.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/BitFields.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/Channel.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/ChannelCommand.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/ChannelRegistry.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/ClientConnectionConfig.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/ConnectionArbiterConfig.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/EnumRegistry.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/FindFile.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/PeerProcessConfig.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/RuntimeEnum.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/ServerConnectionConfig.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/StructConfig.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/TaskConfig.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/channel_controls.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/has_config.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/has_factory.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/has_markdown.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/has_name.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/schemas/has_request_flag.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/server.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/server_base.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/server_dev.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/svg/chip-circle-bootstrap.svg +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/woff2/CascadiaCode-Bold.woff2 +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/woff2/CascadiaCode-BoldItalic.woff2 +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/woff2/CascadiaCode-Italic.woff2 +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/woff2/CascadiaCode-Regular.woff2 +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/woff2/CascadiaMono-Bold.woff2 +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/woff2/CascadiaMono-BoldItalic.woff2 +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/woff2/CascadiaMono-Italic.woff2 +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/woff2/CascadiaMono-Regular.woff2 +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/woff2/README.md +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/tftp_server.yaml +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/dev_requirements.txt +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/entry.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/enum/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/enum/types.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/mapping.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/message/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/message/handlers.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/message/interface.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/message/types.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/metrics/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/metrics/channel.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/metrics/connection.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/metrics/task.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/mixins/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/mixins/async_command.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/mixins/enum.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/mixins/environment.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/mixins/finalize.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/mixins/logging.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/mixins/psutil.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/mixins/regex.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/mixins/trig.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/apps/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/base.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/config/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/config/codec.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/config/util.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/factory/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/factory/connection.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/factory/task.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/housekeeping/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/imports/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/imports/util.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/info.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/result.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/struct/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/task.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/tcp/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/tcp/json.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/udp.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/arbiter/websocket.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/backoff.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/connection.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/factories/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/html/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/html/arbiter.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/html/bootstrap/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/html/bootstrap/elements.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/html/bootstrap/tabs.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/http/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/http/common.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/http/header.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/http/request_target.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/http/response.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/http/state.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/http/version.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/manager.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/mixin.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/mtu.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/base.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/create.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/elements.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/env/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/env/modal.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/env/settings.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/env/tab/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/env/tab/base.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/env/tab/controls.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/env/tab/html.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/env/tab/message.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/env/widgets.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/files.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/landing_page.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/placeholder.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/pyodide.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/sound.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/app/tab.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/html.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/json.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/markdown.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/struct/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/websocket/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/server/websocket/state.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/ssl.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/stream/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/stream/base.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/stream/json/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/stream/string.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/tcp/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/tcp/connection.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/tcp/create.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/tcp/http/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/tcp/protocol.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/tcp/scpi/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/tcp/telnet/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/tcp/telnet/codes.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/tcp/telnet/np_05b.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/udp/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/udp/connection.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/udp/create.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/udp/protocol.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/udp/queue.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/udp/tftp/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/udp/tftp/base.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/udp/tftp/endpoint.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/udp/tftp/enums.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/udp/tftp/io.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/util.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/websocket/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/net/websocket/connection.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/noise/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/array/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/base.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/bool.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/evaluation.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/field/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/field/fields.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/field/manager/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/field/manager/base.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/float.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/int.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/scaling.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/serializable/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/serializable/base.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/serializable/fixed.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/serializable/framer.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/serializable/prefixed.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/string.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/types/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/types/base.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/types/bool.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/types/bounds.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/types/float.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/primitives/types/int.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/py.typed +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/registry/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/registry/bool.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/registry/item.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/registry/name.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/requirements.txt +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/sample/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/sample/peer.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/sample/program.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/schemas.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/struct/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/subprocess/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/subprocess/interface.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/subprocess/peer.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/subprocess/program.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/subprocess/protocol.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/task/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/task/asynchronous.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/task/basic/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/task/basic/manager.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/task/basic/periodic.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/task/sample.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/task/trig/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/telemetry/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/telemetry/sample.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/tui/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/tui/channels/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/tui/cursor.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/tui/mixin.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/tui/mock.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/tui/task.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/ui/__init__.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/ui/controls.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy.egg-info/SOURCES.txt +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy.egg-info/dependency_links.txt +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy.egg-info/entry_points.txt +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy.egg-info/requires.txt +2 -2
- {runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy.egg-info/top_level.txt +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/setup.cfg +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/setup.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/tests/test_entry.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/tests/test_mapping.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/tests/test_resources.py +0 -0
- {runtimepy-5.11.1 → runtimepy-5.11.3}/tests/test_util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runtimepy
|
|
3
|
-
Version: 5.11.
|
|
3
|
+
Version: 5.11.3
|
|
4
4
|
Summary: A framework for implementing Python services.
|
|
5
5
|
Home-page: https://github.com/vkottler/runtimepy
|
|
6
6
|
Author: Vaughn Kottler
|
|
@@ -17,11 +17,11 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
17
17
|
Requires-Python: >=3.12
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
License-File: LICENSE
|
|
20
|
+
Requires-Dist: psutil
|
|
21
|
+
Requires-Dist: svgen>=0.7.4
|
|
20
22
|
Requires-Dist: websockets
|
|
21
23
|
Requires-Dist: aiofiles
|
|
22
24
|
Requires-Dist: vcorelib>=3.5.1
|
|
23
|
-
Requires-Dist: psutil
|
|
24
|
-
Requires-Dist: svgen>=0.7.4
|
|
25
25
|
Provides-Extra: test
|
|
26
26
|
Requires-Dist: pylint; extra == "test"
|
|
27
27
|
Requires-Dist: flake8; extra == "test"
|
|
@@ -50,11 +50,11 @@ Dynamic: requires-python
|
|
|
50
50
|
=====================================
|
|
51
51
|
generator=datazen
|
|
52
52
|
version=3.1.4
|
|
53
|
-
hash=
|
|
53
|
+
hash=8e8d3499d8579ca086dc80c977f6fd7f
|
|
54
54
|
=====================================
|
|
55
55
|
-->
|
|
56
56
|
|
|
57
|
-
# runtimepy ([5.11.
|
|
57
|
+
# runtimepy ([5.11.3](https://pypi.org/project/runtimepy/))
|
|
58
58
|
|
|
59
59
|
[](https://pypi.org/project/runtimepy/)
|
|
60
60
|

|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
=====================================
|
|
3
3
|
generator=datazen
|
|
4
4
|
version=3.1.4
|
|
5
|
-
hash=
|
|
5
|
+
hash=8e8d3499d8579ca086dc80c977f6fd7f
|
|
6
6
|
=====================================
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
|
-
# runtimepy ([5.11.
|
|
9
|
+
# runtimepy ([5.11.3](https://pypi.org/project/runtimepy/))
|
|
10
10
|
|
|
11
11
|
[](https://pypi.org/project/runtimepy/)
|
|
12
12
|

|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# =====================================
|
|
2
2
|
# generator=datazen
|
|
3
3
|
# version=3.1.4
|
|
4
|
-
# hash=
|
|
4
|
+
# hash=f45f335bfb519a5a33f13603258a4d33
|
|
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.11.
|
|
13
|
+
VERSION = "5.11.3"
|
|
14
14
|
|
|
15
15
|
# runtimepy-specific content.
|
|
16
16
|
METRICS_NAME = "metrics"
|
|
@@ -25,6 +25,7 @@ from runtimepy.primitives.field.manager import (
|
|
|
25
25
|
VALUES_KEY,
|
|
26
26
|
BitFieldsManager,
|
|
27
27
|
)
|
|
28
|
+
from runtimepy.primitives.serializable import SerializableMap
|
|
28
29
|
|
|
29
30
|
BUILD_KEY = "build"
|
|
30
31
|
META_KEY = "meta"
|
|
@@ -96,7 +97,11 @@ class JsonProtocol(ProtocolBase):
|
|
|
96
97
|
return data
|
|
97
98
|
|
|
98
99
|
@classmethod
|
|
99
|
-
def import_json(
|
|
100
|
+
def import_json(
|
|
101
|
+
cls: type[T],
|
|
102
|
+
data: dict[str, _JsonObject],
|
|
103
|
+
serializables: SerializableMap = None,
|
|
104
|
+
) -> T:
|
|
100
105
|
"""Create a bit-fields manager from JSON data."""
|
|
101
106
|
|
|
102
107
|
# Only set values once (at the end).
|
|
@@ -126,6 +131,7 @@ class JsonProtocol(ProtocolBase):
|
|
|
126
131
|
identifier=_cast(int, data[META_KEY]["id"]),
|
|
127
132
|
byte_order=_cast(str, data[META_KEY]["byte_order"]),
|
|
128
133
|
alias=data[META_KEY]["alias"], # type: ignore
|
|
134
|
+
serializables=serializables,
|
|
129
135
|
)
|
|
130
136
|
|
|
131
137
|
# Set values.
|
|
@@ -3,23 +3,24 @@ A basic type-system implementation.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
# built-in
|
|
6
|
-
from typing import Iterable, Optional
|
|
6
|
+
from typing import Iterable, Optional, Union
|
|
7
7
|
|
|
8
8
|
# third-party
|
|
9
9
|
from vcorelib.logging import LoggerMixin
|
|
10
10
|
from vcorelib.namespace import CPP_DELIM, Namespace
|
|
11
11
|
|
|
12
12
|
# internal
|
|
13
|
-
from runtimepy import PKG_NAME
|
|
14
13
|
from runtimepy.codec.protocol import Protocol
|
|
15
14
|
from runtimepy.enum import RuntimeEnum
|
|
16
|
-
from runtimepy.enum.registry import
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
from runtimepy.enum.registry import DEFAULT_ENUM_PRIMITIVE, RuntimeIntEnum
|
|
16
|
+
from runtimepy.primitives.byte_order import (
|
|
17
|
+
DEFAULT_BYTE_ORDER,
|
|
18
|
+
ByteOrder,
|
|
19
|
+
enum_registry,
|
|
20
20
|
)
|
|
21
|
-
from runtimepy.primitives.byte_order import ByteOrder
|
|
22
21
|
from runtimepy.primitives.types import AnyPrimitiveType, PrimitiveTypes
|
|
22
|
+
from runtimepy.registry.name import RegistryKey
|
|
23
|
+
from runtimepy.util import Identifier
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
def resolve_name(matches: Iterable[str]) -> str:
|
|
@@ -50,7 +51,9 @@ class TypeSystem(LoggerMixin):
|
|
|
50
51
|
|
|
51
52
|
self.primitives: dict[str, AnyPrimitiveType] = {}
|
|
52
53
|
self.custom: dict[str, Protocol] = {}
|
|
53
|
-
self.
|
|
54
|
+
self.custom_ids = Identifier(scale=1)
|
|
55
|
+
|
|
56
|
+
self._enums = enum_registry(register_byte_order=False)
|
|
54
57
|
|
|
55
58
|
global_namespace = Namespace(delim=CPP_DELIM)
|
|
56
59
|
|
|
@@ -61,9 +64,8 @@ class TypeSystem(LoggerMixin):
|
|
|
61
64
|
self.root_namespace = global_namespace
|
|
62
65
|
|
|
63
66
|
# Register enums.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
self.runtime_int_enum(enum)
|
|
67
|
+
for enum in [ByteOrder]:
|
|
68
|
+
self.runtime_int_enum(enum)
|
|
67
69
|
|
|
68
70
|
self.root_namespace = global_namespace.child(*namespace)
|
|
69
71
|
|
|
@@ -98,11 +100,21 @@ class TypeSystem(LoggerMixin):
|
|
|
98
100
|
assert enum is not None
|
|
99
101
|
self._register_primitive(name, enum.primitive)
|
|
100
102
|
|
|
101
|
-
def register(
|
|
103
|
+
def register(
|
|
104
|
+
self,
|
|
105
|
+
name: str,
|
|
106
|
+
*namespace: str,
|
|
107
|
+
byte_order: Union[ByteOrder, RegistryKey] = DEFAULT_BYTE_ORDER,
|
|
108
|
+
) -> Protocol:
|
|
102
109
|
"""Register a custom type."""
|
|
103
110
|
|
|
104
111
|
resolved = self._name(name, *namespace, check_available=True)
|
|
105
|
-
new_type = Protocol(
|
|
112
|
+
new_type = Protocol(
|
|
113
|
+
self._enums,
|
|
114
|
+
alias=resolved,
|
|
115
|
+
identifier=self.custom_ids(),
|
|
116
|
+
byte_order=byte_order,
|
|
117
|
+
)
|
|
106
118
|
self.custom[resolved] = new_type
|
|
107
119
|
return new_type
|
|
108
120
|
|
|
@@ -63,6 +63,11 @@ class RuntimeIntEnum(_IntEnum):
|
|
|
63
63
|
|
|
64
64
|
return data
|
|
65
65
|
|
|
66
|
+
@classmethod
|
|
67
|
+
def id(cls) -> _Optional[int]:
|
|
68
|
+
"""Override in sub-class to coerce enum id."""
|
|
69
|
+
return None
|
|
70
|
+
|
|
66
71
|
@classmethod
|
|
67
72
|
def primitive(cls) -> str:
|
|
68
73
|
"""The underlying primitive type for this runtime enumeration."""
|
|
@@ -89,6 +94,11 @@ class RuntimeIntEnum(_IntEnum):
|
|
|
89
94
|
|
|
90
95
|
data = _RuntimeEnum.data_from_enum(cls)
|
|
91
96
|
data["primitive"] = cls.primitive()
|
|
97
|
+
|
|
98
|
+
ident = cls.id()
|
|
99
|
+
if ident is not None:
|
|
100
|
+
data["id"] = ident
|
|
101
|
+
|
|
92
102
|
result = registry.register_dict(name, data)
|
|
93
|
-
assert result is not None
|
|
103
|
+
assert result is not None, (name, data)
|
|
94
104
|
return result
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""
|
|
2
|
+
A module implementing an enumeration for byte ordering options.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# built-in
|
|
6
|
+
from typing import Optional
|
|
7
|
+
|
|
8
|
+
# internal
|
|
9
|
+
from runtimepy.enum.registry import EnumRegistry, RuntimeIntEnum
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ByteOrder(RuntimeIntEnum):
|
|
13
|
+
"""An enumeration for viable byte orders."""
|
|
14
|
+
|
|
15
|
+
NATIVE = 1
|
|
16
|
+
LITTLE_ENDIAN = 2
|
|
17
|
+
BIG_ENDIAN = 3
|
|
18
|
+
NETWORK = 4
|
|
19
|
+
|
|
20
|
+
@property
|
|
21
|
+
def fmt(self) -> str:
|
|
22
|
+
"""Get the struct formatter for this byte order."""
|
|
23
|
+
|
|
24
|
+
if self is ByteOrder.NATIVE:
|
|
25
|
+
return "@"
|
|
26
|
+
if self is ByteOrder.LITTLE_ENDIAN:
|
|
27
|
+
return "<"
|
|
28
|
+
if self is ByteOrder.BIG_ENDIAN:
|
|
29
|
+
return ">"
|
|
30
|
+
return "!"
|
|
31
|
+
|
|
32
|
+
def __str__(self) -> str:
|
|
33
|
+
"""Get this byte order as a string."""
|
|
34
|
+
return self.fmt
|
|
35
|
+
|
|
36
|
+
@classmethod
|
|
37
|
+
def id(cls) -> Optional[int]:
|
|
38
|
+
"""Override in sub-class to coerce enum id."""
|
|
39
|
+
return 1
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# https://en.cppreference.com/w/cpp/types/endian
|
|
43
|
+
STD_ENDIAN = {
|
|
44
|
+
"little": ByteOrder.LITTLE_ENDIAN,
|
|
45
|
+
"big": ByteOrder.BIG_ENDIAN,
|
|
46
|
+
"native": ByteOrder.NATIVE,
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
DEFAULT_BYTE_ORDER = ByteOrder.NETWORK
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def enum_registry(
|
|
54
|
+
*kinds: type[RuntimeIntEnum], register_byte_order: bool = True
|
|
55
|
+
) -> EnumRegistry:
|
|
56
|
+
"""Create an enum registry with the provided custom types registered."""
|
|
57
|
+
|
|
58
|
+
result = EnumRegistry()
|
|
59
|
+
|
|
60
|
+
if register_byte_order:
|
|
61
|
+
ByteOrder.register_enum(result)
|
|
62
|
+
|
|
63
|
+
for kind in kinds:
|
|
64
|
+
kind.register_enum(result)
|
|
65
|
+
return result
|
|
@@ -34,10 +34,10 @@ def normalize_root(*src_parts: Union[str, Path]) -> Path:
|
|
|
34
34
|
class Identifier:
|
|
35
35
|
"""A simple message indentifier interface."""
|
|
36
36
|
|
|
37
|
-
def __init__(self) -> None:
|
|
37
|
+
def __init__(self, start: int = 1, scale: int = 2) -> None:
|
|
38
38
|
"""Initialize this instance."""
|
|
39
|
-
self.curr_id
|
|
40
|
-
self.scale =
|
|
39
|
+
self.curr_id = start
|
|
40
|
+
self.scale = scale
|
|
41
41
|
|
|
42
42
|
def __call__(self) -> int:
|
|
43
43
|
"""Get the next identifier."""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runtimepy
|
|
3
|
-
Version: 5.11.
|
|
3
|
+
Version: 5.11.3
|
|
4
4
|
Summary: A framework for implementing Python services.
|
|
5
5
|
Home-page: https://github.com/vkottler/runtimepy
|
|
6
6
|
Author: Vaughn Kottler
|
|
@@ -17,11 +17,11 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
17
17
|
Requires-Python: >=3.12
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
License-File: LICENSE
|
|
20
|
+
Requires-Dist: psutil
|
|
21
|
+
Requires-Dist: svgen>=0.7.4
|
|
20
22
|
Requires-Dist: websockets
|
|
21
23
|
Requires-Dist: aiofiles
|
|
22
24
|
Requires-Dist: vcorelib>=3.5.1
|
|
23
|
-
Requires-Dist: psutil
|
|
24
|
-
Requires-Dist: svgen>=0.7.4
|
|
25
25
|
Provides-Extra: test
|
|
26
26
|
Requires-Dist: pylint; extra == "test"
|
|
27
27
|
Requires-Dist: flake8; extra == "test"
|
|
@@ -50,11 +50,11 @@ Dynamic: requires-python
|
|
|
50
50
|
=====================================
|
|
51
51
|
generator=datazen
|
|
52
52
|
version=3.1.4
|
|
53
|
-
hash=
|
|
53
|
+
hash=8e8d3499d8579ca086dc80c977f6fd7f
|
|
54
54
|
=====================================
|
|
55
55
|
-->
|
|
56
56
|
|
|
57
|
-
# runtimepy ([5.11.
|
|
57
|
+
# runtimepy ([5.11.3](https://pypi.org/project/runtimepy/))
|
|
58
58
|
|
|
59
59
|
[](https://pypi.org/project/runtimepy/)
|
|
60
60
|

|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
A module implementing an enumeration for byte ordering options.
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
# internal
|
|
6
|
-
from runtimepy.enum.registry import RuntimeIntEnum as _RuntimeIntEnum
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class ByteOrder(_RuntimeIntEnum):
|
|
10
|
-
"""An enumeration for viable byte orders."""
|
|
11
|
-
|
|
12
|
-
NATIVE = 1
|
|
13
|
-
LITTLE_ENDIAN = 2
|
|
14
|
-
BIG_ENDIAN = 3
|
|
15
|
-
NETWORK = 4
|
|
16
|
-
|
|
17
|
-
@property
|
|
18
|
-
def fmt(self) -> str:
|
|
19
|
-
"""Get the struct formatter for this byte order."""
|
|
20
|
-
|
|
21
|
-
if self is ByteOrder.NATIVE:
|
|
22
|
-
return "@"
|
|
23
|
-
if self is ByteOrder.LITTLE_ENDIAN:
|
|
24
|
-
return "<"
|
|
25
|
-
if self is ByteOrder.BIG_ENDIAN:
|
|
26
|
-
return ">"
|
|
27
|
-
return "!"
|
|
28
|
-
|
|
29
|
-
def __str__(self) -> str:
|
|
30
|
-
"""Get this byte order as a string."""
|
|
31
|
-
return self.fmt
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
DEFAULT_BYTE_ORDER = ByteOrder.NETWORK
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runtimepy-5.11.1 → runtimepy-5.11.3}/runtimepy/data/static/woff2/CascadiaCode-BoldItalic.woff2
RENAMED
|
File without changes
|