runtimepy 5.15.5__tar.gz → 5.15.7__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.15.5/runtimepy.egg-info → runtimepy-5.15.7}/PKG-INFO +6 -6
- {runtimepy-5.15.5 → runtimepy-5.15.7}/README.md +2 -2
- {runtimepy-5.15.5 → runtimepy-5.15.7}/pyproject.toml +1 -1
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/__init__.py +2 -2
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/css/main.css +4 -0
- runtimepy-5.15.7/runtimepy/net/server/markdown.py +130 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7/runtimepy.egg-info}/PKG-INFO +6 -6
- runtimepy-5.15.5/runtimepy/net/server/markdown.py +0 -71
- {runtimepy-5.15.5 → runtimepy-5.15.7}/LICENSE +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/__main__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/app.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/array.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/command/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/command/parser.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/command/processor.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/command/result.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/create.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/file.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/sample.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/environment/telemetry.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/event/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/event/header.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/channel/registry.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/codec/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/codec/protocol/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/codec/protocol/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/codec/protocol/json.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/codec/protocol/receiver.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/codec/system/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/commands/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/commands/all.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/commands/arbiter.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/commands/common.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/commands/mtu.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/commands/server.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/commands/task.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/commands/tftp.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/commands/tui.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/control/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/control/env/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/control/source.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/control/step.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/404.md +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/base.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/browser.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/css/bootstrap_extra.css +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/css/font.css +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/dummy_load.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/factories.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/favicon.ico +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/DataConnection.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/JsonConnection.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/audio.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/App.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/ChannelTable.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/DataConnection.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/JsonConnection.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/OverlayManager.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/Plot.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/PlotDrawer.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/PlotManager.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/PlotModalManager.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/PointBuffer.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/PointManager.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/TabFilter.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/TabInterface.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/UnitSystem.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/WindowHashManager.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/classes/WorkerInterface.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/events.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/init.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/main.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/markdown_page.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/sample.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/tab/env.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/tab/sound.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/third-party/webgl-debug.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/unused/pyodide.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/util.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/js/worker.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/md/Connection.md +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/md/PeriodicTask.md +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/md/RuntimeStruct.md +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/md/RuntimepyPeer.md +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/md/SinusoidTask.md +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/sample_telemetry.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/BitFields.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/Button.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/Channel.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/ChannelCommand.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/ChannelRegistry.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/ClientConnectionConfig.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/ConnectionArbiterConfig.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/EnumRegistry.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/FindFile.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/PeerProcessConfig.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/RuntimeEnum.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/ServerConnectionConfig.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/StructConfig.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/TaskConfig.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/TwoTupleArray.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/channel_controls.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/has_buttons.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/has_config.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/has_factory.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/has_markdown.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/has_name.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/has_request_flag.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/schemas/has_views.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/server.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/server_base.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/server_dev.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/css/bootstrap-icons.min.css +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/css/bootstrap.min.css +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/css/fonts/bootstrap-icons.woff +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/css/fonts/bootstrap-icons.woff2 +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/js/bootstrap.bundle.min.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/js/webglplot.umd.min.js +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/1024x1024.png +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/128x128.png +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/16x16.png +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/1920x1920.png +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/24x24.png +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/256x256.png +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/32x32.png +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/512x512.png +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/64x64.png +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/svg/chip-circle-bootstrap.svg +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/svg/outline-dark.svg +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/svg/outline-light.svg +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/woff2/CascadiaCode-Bold.woff2 +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/woff2/CascadiaCode-BoldItalic.woff2 +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/woff2/CascadiaCode-Italic.woff2 +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/woff2/CascadiaCode-Regular.woff2 +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/woff2/CascadiaMono-Bold.woff2 +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/woff2/CascadiaMono-BoldItalic.woff2 +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/woff2/CascadiaMono-Italic.woff2 +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/woff2/CascadiaMono-Regular.woff2 +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/woff2/README.md +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/tftp_server.yaml +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/dev_requirements.txt +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/entry.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/enum/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/enum/registry.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/enum/types.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/mapping.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/message/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/message/handlers.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/message/interface.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/message/types.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/metrics/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/metrics/channel.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/metrics/connection.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/metrics/task.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/mixins/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/mixins/async_command.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/mixins/enum.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/mixins/environment.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/mixins/finalize.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/mixins/logging.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/mixins/psutil.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/mixins/regex.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/mixins/trig.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/apps/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/config/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/config/codec.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/config/util.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/factory/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/factory/connection.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/factory/task.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/housekeeping/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/imports/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/imports/util.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/info.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/result.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/struct/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/task.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/tcp/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/tcp/json.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/udp.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/arbiter/websocket.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/backoff.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/connection.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/factories/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/html/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/html/arbiter.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/html/bootstrap/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/html/bootstrap/elements.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/html/bootstrap/tabs.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/http/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/http/common.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/http/header.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/http/request_target.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/http/response.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/http/state.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/http/version.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/manager.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/mixin.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/mtu.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/create.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/elements.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/env/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/env/modal.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/env/settings.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/env/tab/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/env/tab/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/env/tab/controls.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/env/tab/html.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/env/tab/message.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/env/widgets.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/files.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/landing_page.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/placeholder.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/pyodide.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/sound.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/app/tab.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/html.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/json.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/mux.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/struct/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/websocket/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/server/websocket/state.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/ssl.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/stream/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/stream/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/stream/json/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/stream/string.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/tcp/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/tcp/connection.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/tcp/create.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/tcp/http/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/tcp/protocol.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/tcp/scpi/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/tcp/telnet/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/tcp/telnet/codes.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/tcp/telnet/np_05b.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/udp/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/udp/connection.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/udp/create.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/udp/protocol.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/udp/queue.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/udp/tftp/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/udp/tftp/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/udp/tftp/endpoint.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/udp/tftp/enums.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/udp/tftp/io.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/util.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/websocket/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/net/websocket/connection.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/noise/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/array/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/bool.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/byte_order.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/evaluation.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/field/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/field/fields.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/field/manager/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/field/manager/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/float.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/int.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/scaling.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/serializable/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/serializable/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/serializable/fixed.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/serializable/framer.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/serializable/prefixed.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/string.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/types/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/types/base.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/types/bool.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/types/bounds.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/types/float.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/primitives/types/int.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/py.typed +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/registry/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/registry/bool.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/registry/item.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/registry/name.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/requirements.txt +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/sample/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/sample/peer.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/sample/program.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/schemas.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/struct/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/subprocess/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/subprocess/interface.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/subprocess/peer.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/subprocess/program.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/subprocess/protocol.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/task/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/task/asynchronous.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/task/basic/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/task/basic/manager.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/task/basic/periodic.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/task/sample.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/task/trig/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/telemetry/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/telemetry/sample.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/tui/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/tui/channels/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/tui/cursor.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/tui/mixin.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/tui/mock.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/tui/task.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/ui/__init__.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/ui/button.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/ui/controls.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/util.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy.egg-info/SOURCES.txt +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy.egg-info/dependency_links.txt +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy.egg-info/entry_points.txt +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy.egg-info/requires.txt +3 -3
- {runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy.egg-info/top_level.txt +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/setup.cfg +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/setup.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/tests/test_entry.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/tests/test_mapping.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/tests/test_resources.py +0 -0
- {runtimepy-5.15.5 → runtimepy-5.15.7}/tests/test_util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runtimepy
|
|
3
|
-
Version: 5.15.
|
|
3
|
+
Version: 5.15.7
|
|
4
4
|
Summary: A framework for implementing Python services.
|
|
5
5
|
Home-page: https://github.com/libre-embedded/runtimepy
|
|
6
6
|
Author: Libre Embedded
|
|
@@ -17,11 +17,11 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
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: aiofiles
|
|
22
|
-
Requires-Dist: svgen>=0.8.0
|
|
23
20
|
Requires-Dist: websockets
|
|
21
|
+
Requires-Dist: svgen>=0.8.0
|
|
24
22
|
Requires-Dist: vcorelib>=3.6.4
|
|
23
|
+
Requires-Dist: aiofiles
|
|
24
|
+
Requires-Dist: psutil
|
|
25
25
|
Provides-Extra: test
|
|
26
26
|
Requires-Dist: pylint; extra == "test"
|
|
27
27
|
Requires-Dist: flake8; extra == "test"
|
|
@@ -51,11 +51,11 @@ Dynamic: requires-python
|
|
|
51
51
|
=====================================
|
|
52
52
|
generator=datazen
|
|
53
53
|
version=3.2.3
|
|
54
|
-
hash=
|
|
54
|
+
hash=fd0b9f87927033d8ee2eb5448d8aec76
|
|
55
55
|
=====================================
|
|
56
56
|
-->
|
|
57
57
|
|
|
58
|
-
# runtimepy ([5.15.
|
|
58
|
+
# runtimepy ([5.15.7](https://pypi.org/project/runtimepy/))
|
|
59
59
|
|
|
60
60
|
[](https://pypi.org/project/runtimepy/)
|
|
61
61
|

|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
=====================================
|
|
3
3
|
generator=datazen
|
|
4
4
|
version=3.2.3
|
|
5
|
-
hash=
|
|
5
|
+
hash=fd0b9f87927033d8ee2eb5448d8aec76
|
|
6
6
|
=====================================
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
|
-
# runtimepy ([5.15.
|
|
9
|
+
# runtimepy ([5.15.7](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.2.3
|
|
4
|
-
# hash=
|
|
4
|
+
# hash=7591d3ee09b156575678bdf806e1b5c7
|
|
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.15.
|
|
13
|
+
VERSION = "5.15.7"
|
|
14
14
|
|
|
15
15
|
# runtimepy-specific content.
|
|
16
16
|
METRICS_NAME = "metrics"
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"""
|
|
2
|
+
A module implementing web server markdown interfaces.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# built-in
|
|
6
|
+
from io import StringIO
|
|
7
|
+
import mimetypes
|
|
8
|
+
from os import stat_result
|
|
9
|
+
from pathlib import Path
|
|
10
|
+
from typing import Iterable, cast
|
|
11
|
+
|
|
12
|
+
# third-party
|
|
13
|
+
from svgen.element.html import div
|
|
14
|
+
from vcorelib.io.file_writer import IndentedFileWriter
|
|
15
|
+
from vcorelib.math.time import byte_count_str
|
|
16
|
+
from vcorelib.paths import rel
|
|
17
|
+
from vcorelib.paths import stats as _stats
|
|
18
|
+
|
|
19
|
+
LOGO_MARKDOWN = "[](/)"
|
|
20
|
+
DIR_FILE = "dir.html"
|
|
21
|
+
AUTOPLAY_PREVIEW_SIZE = 100 * (1024 * 1024) # 100 MiB
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def file_preview(path: Path, link: Path, stats: stat_result) -> str:
|
|
25
|
+
"""Get possible preview text for a file."""
|
|
26
|
+
|
|
27
|
+
preview = ""
|
|
28
|
+
|
|
29
|
+
if not path.is_file():
|
|
30
|
+
return preview
|
|
31
|
+
|
|
32
|
+
mime, _ = mimetypes.guess_type(path, strict=False)
|
|
33
|
+
if mime:
|
|
34
|
+
# Image previews.
|
|
35
|
+
if mime.startswith("image"):
|
|
36
|
+
preview = div(
|
|
37
|
+
tag="img",
|
|
38
|
+
src=f"/{link}",
|
|
39
|
+
alt=str(link),
|
|
40
|
+
class_str="media-preview",
|
|
41
|
+
).encode_str(newlines=False)
|
|
42
|
+
|
|
43
|
+
# Video previews.
|
|
44
|
+
elif mime.startswith("video"):
|
|
45
|
+
elem = div(tag="video", class_str="media-preview")
|
|
46
|
+
elem.booleans.add("loop")
|
|
47
|
+
elem.booleans.add("controls")
|
|
48
|
+
|
|
49
|
+
if stats.st_size < AUTOPLAY_PREVIEW_SIZE:
|
|
50
|
+
elem.booleans.add("autoplay")
|
|
51
|
+
|
|
52
|
+
div(parent=elem, tag="source", src=f"/{link}", type=mime)
|
|
53
|
+
|
|
54
|
+
preview = elem.encode_str(newlines=False)
|
|
55
|
+
|
|
56
|
+
# Audio previews.
|
|
57
|
+
elif mime.startswith("audio"):
|
|
58
|
+
elem = div(tag="audio", src=f"/{link}")
|
|
59
|
+
elem.booleans.add("controls")
|
|
60
|
+
preview = elem.encode_str(newlines=False)
|
|
61
|
+
|
|
62
|
+
return preview
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def write_markdown_dir(
|
|
66
|
+
writer: IndentedFileWriter, path: Path, base: Path
|
|
67
|
+
) -> None:
|
|
68
|
+
"""Write markdown contents for a single directory."""
|
|
69
|
+
|
|
70
|
+
curr_dir = rel(path, base=base)
|
|
71
|
+
|
|
72
|
+
line = f"### `{base.name}/{curr_dir}`"
|
|
73
|
+
|
|
74
|
+
# Link to go up a directory.
|
|
75
|
+
if curr_dir != Path():
|
|
76
|
+
line += f" ([..](/{curr_dir.parent}/{DIR_FILE}))"
|
|
77
|
+
|
|
78
|
+
writer.write(line)
|
|
79
|
+
writer.empty()
|
|
80
|
+
|
|
81
|
+
writer.write("| name | size | preview |")
|
|
82
|
+
writer.write("|------|------|---------|")
|
|
83
|
+
|
|
84
|
+
for item in sorted(path.iterdir()):
|
|
85
|
+
curr = rel(item, base=base)
|
|
86
|
+
|
|
87
|
+
name = f"`{curr.name}`"
|
|
88
|
+
if item.is_dir():
|
|
89
|
+
name = f"**{name}**"
|
|
90
|
+
|
|
91
|
+
stats = _stats(item)
|
|
92
|
+
assert stats
|
|
93
|
+
size_str = byte_count_str(stats.st_size) if item.is_file() else ""
|
|
94
|
+
|
|
95
|
+
writer.write(
|
|
96
|
+
f"| [{name}](/{curr}) | {size_str} | "
|
|
97
|
+
f"{file_preview(item, curr, stats)} |"
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
writer.empty()
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
def markdown_for_dir(
|
|
104
|
+
paths_bases: Iterable[tuple[Path, Path]],
|
|
105
|
+
extra_links: dict[str, Iterable[str]] = None,
|
|
106
|
+
) -> str:
|
|
107
|
+
"""Get markdown data for a directory."""
|
|
108
|
+
|
|
109
|
+
with IndentedFileWriter.string() as writer:
|
|
110
|
+
writer.write(f"# Directory {LOGO_MARKDOWN} Viewer")
|
|
111
|
+
with writer.padding():
|
|
112
|
+
writer.write("---")
|
|
113
|
+
|
|
114
|
+
if extra_links:
|
|
115
|
+
for category, apps in extra_links.items():
|
|
116
|
+
if apps:
|
|
117
|
+
writer.write(f"## {category}")
|
|
118
|
+
with writer.padding():
|
|
119
|
+
for app in apps:
|
|
120
|
+
writer.write(f"* [{app}]({app})")
|
|
121
|
+
|
|
122
|
+
writer.write("## directories")
|
|
123
|
+
writer.empty()
|
|
124
|
+
|
|
125
|
+
for path, base in paths_bases:
|
|
126
|
+
write_markdown_dir(writer, path, base)
|
|
127
|
+
|
|
128
|
+
result: str = cast(StringIO, writer.stream).getvalue()
|
|
129
|
+
|
|
130
|
+
return result
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runtimepy
|
|
3
|
-
Version: 5.15.
|
|
3
|
+
Version: 5.15.7
|
|
4
4
|
Summary: A framework for implementing Python services.
|
|
5
5
|
Home-page: https://github.com/libre-embedded/runtimepy
|
|
6
6
|
Author: Libre Embedded
|
|
@@ -17,11 +17,11 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
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: aiofiles
|
|
22
|
-
Requires-Dist: svgen>=0.8.0
|
|
23
20
|
Requires-Dist: websockets
|
|
21
|
+
Requires-Dist: svgen>=0.8.0
|
|
24
22
|
Requires-Dist: vcorelib>=3.6.4
|
|
23
|
+
Requires-Dist: aiofiles
|
|
24
|
+
Requires-Dist: psutil
|
|
25
25
|
Provides-Extra: test
|
|
26
26
|
Requires-Dist: pylint; extra == "test"
|
|
27
27
|
Requires-Dist: flake8; extra == "test"
|
|
@@ -51,11 +51,11 @@ Dynamic: requires-python
|
|
|
51
51
|
=====================================
|
|
52
52
|
generator=datazen
|
|
53
53
|
version=3.2.3
|
|
54
|
-
hash=
|
|
54
|
+
hash=fd0b9f87927033d8ee2eb5448d8aec76
|
|
55
55
|
=====================================
|
|
56
56
|
-->
|
|
57
57
|
|
|
58
|
-
# runtimepy ([5.15.
|
|
58
|
+
# runtimepy ([5.15.7](https://pypi.org/project/runtimepy/))
|
|
59
59
|
|
|
60
60
|
[](https://pypi.org/project/runtimepy/)
|
|
61
61
|

|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
A module implementing web server markdown interfaces.
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
# built-in
|
|
6
|
-
from io import StringIO
|
|
7
|
-
from pathlib import Path
|
|
8
|
-
from typing import Iterable, cast
|
|
9
|
-
|
|
10
|
-
# third-party
|
|
11
|
-
from vcorelib.io.file_writer import IndentedFileWriter
|
|
12
|
-
from vcorelib.math.time import byte_count_str
|
|
13
|
-
from vcorelib.paths import rel
|
|
14
|
-
from vcorelib.paths import stats as _stats
|
|
15
|
-
|
|
16
|
-
LOGO_MARKDOWN = "[](/)"
|
|
17
|
-
DIR_FILE = "dir.html"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
def markdown_for_dir(
|
|
21
|
-
paths_bases: Iterable[tuple[Path, Path]],
|
|
22
|
-
extra_links: dict[str, Iterable[str]] = None,
|
|
23
|
-
) -> str:
|
|
24
|
-
"""Get markdown data for a directory."""
|
|
25
|
-
|
|
26
|
-
with IndentedFileWriter.string() as writer:
|
|
27
|
-
writer.write(f"# Directory {LOGO_MARKDOWN} Viewer")
|
|
28
|
-
with writer.padding():
|
|
29
|
-
writer.write("---")
|
|
30
|
-
|
|
31
|
-
if extra_links:
|
|
32
|
-
for category, apps in extra_links.items():
|
|
33
|
-
if apps:
|
|
34
|
-
writer.write(f"## {category}")
|
|
35
|
-
with writer.padding():
|
|
36
|
-
for app in apps:
|
|
37
|
-
writer.write(f"* [{app}]({app})")
|
|
38
|
-
|
|
39
|
-
writer.write("## directories")
|
|
40
|
-
writer.empty()
|
|
41
|
-
|
|
42
|
-
for path, base in paths_bases:
|
|
43
|
-
curr_dir = rel(path, base=base)
|
|
44
|
-
writer.write(f"### `{base.name}/{curr_dir}`")
|
|
45
|
-
writer.empty()
|
|
46
|
-
|
|
47
|
-
# Link to go up a directory.
|
|
48
|
-
if curr_dir != Path():
|
|
49
|
-
writer.write(f"* [..](/{curr_dir.parent}/{DIR_FILE})")
|
|
50
|
-
|
|
51
|
-
writer.write("| name | size |")
|
|
52
|
-
writer.write("|------|------|")
|
|
53
|
-
for item in sorted(path.iterdir()):
|
|
54
|
-
curr = rel(item, base=base)
|
|
55
|
-
|
|
56
|
-
name = f"`{curr.name}`"
|
|
57
|
-
if item.is_dir():
|
|
58
|
-
name = f"**{name}**"
|
|
59
|
-
|
|
60
|
-
stats = _stats(item)
|
|
61
|
-
assert stats
|
|
62
|
-
size_str = (
|
|
63
|
-
byte_count_str(stats.st_size) if item.is_file() else ""
|
|
64
|
-
)
|
|
65
|
-
writer.write(f"| [{name}](/{curr}) | {size_str} |")
|
|
66
|
-
|
|
67
|
-
writer.empty()
|
|
68
|
-
|
|
69
|
-
result: str = cast(StringIO, writer.stream).getvalue()
|
|
70
|
-
|
|
71
|
-
return result
|
|
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
|
|
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.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/1024x1024.png
RENAMED
|
File without changes
|
{runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/128x128.png
RENAMED
|
File without changes
|
{runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/16x16.png
RENAMED
|
File without changes
|
{runtimepy-5.15.5 → runtimepy-5.15.7}/runtimepy/data/static/png/chip-circle-bootstrap/1920x1920.png
RENAMED
|
File without changes
|