meltygui 0.1.0__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.
- meltygui-0.1.0/.gitignore +10 -0
- meltygui-0.1.0/LICENSE +202 -0
- meltygui-0.1.0/PKG-INFO +143 -0
- meltygui-0.1.0/README.md +98 -0
- meltygui-0.1.0/docs/APPS.md +103 -0
- meltygui-0.1.0/docs/DEVELOPMENT.md +130 -0
- meltygui-0.1.0/docs/PUBLISHING.md +58 -0
- meltygui-0.1.0/docs/SUPPORT_WHEELS.md +92 -0
- meltygui-0.1.0/examples/tensor_live.py +28 -0
- meltygui-0.1.0/examples/tile_manager.py +12 -0
- meltygui-0.1.0/examples/voxel_playground.py +113 -0
- meltygui-0.1.0/meltygui/__init__.py +107 -0
- meltygui-0.1.0/meltygui/accounts/__init__.py +0 -0
- meltygui-0.1.0/meltygui/accounts/internet_accounts.py +1355 -0
- meltygui-0.1.0/meltygui/chat/__init__.py +91 -0
- meltygui-0.1.0/meltygui/chat/activity.py +75 -0
- meltygui-0.1.0/meltygui/chat/backends.py +36 -0
- meltygui-0.1.0/meltygui/chat/chat_interface.py +732 -0
- meltygui-0.1.0/meltygui/chat/chat_proxy.py +352 -0
- meltygui-0.1.0/meltygui/chat/codex_proxy.py +592 -0
- meltygui-0.1.0/meltygui/chat/codex_settings.py +100 -0
- meltygui-0.1.0/meltygui/chat/codex_transport.py +60 -0
- meltygui-0.1.0/meltygui/chat/command_parser.py +204 -0
- meltygui-0.1.0/meltygui/chat/images.py +227 -0
- meltygui-0.1.0/meltygui/chat/messages.py +417 -0
- meltygui-0.1.0/meltygui/chat/metadata.py +139 -0
- meltygui-0.1.0/meltygui/chat/writer_locks.py +64 -0
- meltygui-0.1.0/meltygui/code/__init__.py +0 -0
- meltygui-0.1.0/meltygui/code/basic_converters.py +533 -0
- meltygui-0.1.0/meltygui/code/chain_converters.py +2111 -0
- meltygui-0.1.0/meltygui/code/code_checks.py +2209 -0
- meltygui-0.1.0/meltygui/code/core_syntax.py +1430 -0
- meltygui-0.1.0/meltygui/code/file_converters.py +1933 -0
- meltygui-0.1.0/meltygui/code/fileref.py +702 -0
- meltygui-0.1.0/meltygui/code/hotswap_guard.py +144 -0
- meltygui-0.1.0/meltygui/code/libcst_conversion.py +9724 -0
- meltygui-0.1.0/meltygui/code/live_instrument.py +392 -0
- meltygui-0.1.0/meltygui/code/live_view.py +2490 -0
- meltygui-0.1.0/meltygui/code/melty_scan.py +2684 -0
- meltygui-0.1.0/meltygui/code/new_codecs.py +1255 -0
- meltygui-0.1.0/meltygui/code/new_converters.py +3017 -0
- meltygui-0.1.0/meltygui/code/project_code.py +278 -0
- meltygui-0.1.0/meltygui/code/source_context.py +63 -0
- meltygui-0.1.0/meltygui/code/symbol_roster.py +1588 -0
- meltygui-0.1.0/meltygui/code/syntax_check.py +34 -0
- meltygui-0.1.0/meltygui/code/syntax_check_worker.py +114 -0
- meltygui-0.1.0/meltygui/completion/__init__.py +0 -0
- meltygui-0.1.0/meltygui/completion/fim.py +1232 -0
- meltygui-0.1.0/meltygui/completion/fim_context.py +481 -0
- meltygui-0.1.0/meltygui/completion/providers/__init__.py +0 -0
- meltygui-0.1.0/meltygui/completion/providers/anthropic_oauth.py +446 -0
- meltygui-0.1.0/meltygui/completion/providers/anthropic_requests.py +69 -0
- meltygui-0.1.0/meltygui/completion/providers/claude.py +203 -0
- meltygui-0.1.0/meltygui/completion/providers/claude_usage.py +499 -0
- meltygui-0.1.0/meltygui/completion/providers/codex_accounts.py +180 -0
- meltygui-0.1.0/meltygui/completion/providers/copilot.py +617 -0
- meltygui-0.1.0/meltygui/completion/providers/oauth_popup.py +220 -0
- meltygui-0.1.0/meltygui/completion/providers/ollama.py +320 -0
- meltygui-0.1.0/meltygui/completion/providers/profiles.py +23 -0
- meltygui-0.1.0/meltygui/core/README.md +88 -0
- meltygui-0.1.0/meltygui/core/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/automation/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/automation/action_core.py +153 -0
- meltygui-0.1.0/meltygui/core/automation/collection_action.py +45 -0
- meltygui-0.1.0/meltygui/core/automation/mcp_eval.py +167 -0
- meltygui-0.1.0/meltygui/core/automation/mcp_hotswap.py +107 -0
- meltygui-0.1.0/meltygui/core/automation/mcp_query.py +552 -0
- meltygui-0.1.0/meltygui/core/automation/mcp_server.py +657 -0
- meltygui-0.1.0/meltygui/core/automation/orchestration_core.py +2636 -0
- meltygui-0.1.0/meltygui/core/automation/query_core.py +124 -0
- meltygui-0.1.0/meltygui/core/automation/search_core.py +26 -0
- meltygui-0.1.0/meltygui/core/automation/selector_core.py +340 -0
- meltygui-0.1.0/meltygui/core/automation/value_core.py +1752 -0
- meltygui-0.1.0/meltygui/core/cache/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/cache/cache_diagnostics.py +0 -0
- meltygui-0.1.0/meltygui/core/cache/invalidation_decoration.py +153 -0
- meltygui-0.1.0/meltygui/core/cache/invalidation_tracker.py +43 -0
- meltygui-0.1.0/meltygui/core/cache/tile_cache.py +5968 -0
- meltygui-0.1.0/meltygui/core/conversion/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/conversion/bubbling.py +599 -0
- meltygui-0.1.0/meltygui/core/conversion/cache_tree.py +188 -0
- meltygui-0.1.0/meltygui/core/conversion/chain.py +113 -0
- meltygui-0.1.0/meltygui/core/conversion/converter_register.py +145 -0
- meltygui-0.1.0/meltygui/core/conversion/data_decoration.py +67 -0
- meltygui-0.1.0/meltygui/core/conversion/dict_conversion.py +1815 -0
- meltygui-0.1.0/meltygui/core/conversion/dict_conversion_util.py +177 -0
- meltygui-0.1.0/meltygui/core/conversion/dynamic_obj.py +89 -0
- meltygui-0.1.0/meltygui/core/conversion/graph_compare.py +183 -0
- meltygui-0.1.0/meltygui/core/conversion/load_save_v2.py +1032 -0
- meltygui-0.1.0/meltygui/core/conversion/missing_saved_class.py +39 -0
- meltygui-0.1.0/meltygui/core/conversion/path_finder.py +606 -0
- meltygui-0.1.0/meltygui/core/conversion/render_host.py +1083 -0
- meltygui-0.1.0/meltygui/core/core_render.py +6537 -0
- meltygui-0.1.0/meltygui/core/definition_hotswap.py +231 -0
- meltygui-0.1.0/meltygui/core/diagnostics/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/diagnostics/attribute_churn.py +38 -0
- meltygui-0.1.0/meltygui/core/diagnostics/fps_counter.py +39 -0
- meltygui-0.1.0/meltygui/core/diagnostics/gpu_frame_timer.py +103 -0
- meltygui-0.1.0/meltygui/core/diagnostics/inspection_core.py +169 -0
- meltygui-0.1.0/meltygui/core/diagnostics/monitor_core.py +105 -0
- meltygui-0.1.0/meltygui/core/diagnostics/notifications.py +706 -0
- meltygui-0.1.0/meltygui/core/diagnostics/perf_trace.py +281 -0
- meltygui-0.1.0/meltygui/core/diagnostics/profile_decoration.py +88 -0
- meltygui-0.1.0/meltygui/core/diagnostics/resize_trace.py +62 -0
- meltygui-0.1.0/meltygui/core/diagnostics/screenshot_core.py +247 -0
- meltygui-0.1.0/meltygui/core/diagnostics/session_status.py +98 -0
- meltygui-0.1.0/meltygui/core/diagnostics/trace_core.py +445 -0
- meltygui-0.1.0/meltygui/core/files/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/files/file_core.py +208 -0
- meltygui-0.1.0/meltygui/core/files/file_explorer_core.py +104 -0
- meltygui-0.1.0/meltygui/core/files/file_tree_core.py +198 -0
- meltygui-0.1.0/meltygui/core/files/file_watch_core.py +43 -0
- meltygui-0.1.0/meltygui/core/files/import_graph_core.py +43 -0
- meltygui-0.1.0/meltygui/core/files/metadata_core.py +51 -0
- meltygui-0.1.0/meltygui/core/graphics/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/graphics/cuda_context_core.py +166 -0
- meltygui-0.1.0/meltygui/core/graphics/cuda_interop_core.py +136 -0
- meltygui-0.1.0/meltygui/core/graphics/cuda_kernel_core.py +91 -0
- meltygui-0.1.0/meltygui/core/graphics/framebuffer_recorder.py +337 -0
- meltygui-0.1.0/meltygui/core/graphics/gl_state.py +658 -0
- meltygui-0.1.0/meltygui/core/graphics/lut_core.py +52 -0
- meltygui-0.1.0/meltygui/core/graphics/overlay_renderer.py +984 -0
- meltygui-0.1.0/meltygui/core/graphics/scene_target.py +180 -0
- meltygui-0.1.0/meltygui/core/graphics/screenshot.py +439 -0
- meltygui-0.1.0/meltygui/core/graphics/shader_func.py +478 -0
- meltygui-0.1.0/meltygui/core/graphics/tensor_core.py +45 -0
- meltygui-0.1.0/meltygui/core/graphics/text_texture.py +329 -0
- meltygui-0.1.0/meltygui/core/graphics/wayland_color.py +635 -0
- meltygui-0.1.0/meltygui/core/input/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/input/collision.py +165 -0
- meltygui-0.1.0/meltygui/core/input/drag_drop_core.py +1525 -0
- meltygui-0.1.0/meltygui/core/input/hypr_left_drag.py +323 -0
- meltygui-0.1.0/meltygui/core/input/input_core.py +245 -0
- meltygui-0.1.0/meltygui/core/input/input_handler.py +1101 -0
- meltygui-0.1.0/meltygui/core/input/mouse_cursor.py +355 -0
- meltygui-0.1.0/meltygui/core/input/pynput_backend.py +1054 -0
- meltygui-0.1.0/meltygui/core/input/space_mouse.py +338 -0
- meltygui-0.1.0/meltygui/core/input/touchpad_backend.py +393 -0
- meltygui-0.1.0/meltygui/core/input/view_selection.py +177 -0
- meltygui-0.1.0/meltygui/core/layout/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/layout/column_core.py +2153 -0
- meltygui-0.1.0/meltygui/core/layout/cursor_core.py +161 -0
- meltygui-0.1.0/meltygui/core/layout/dropdown_core.py +278 -0
- meltygui-0.1.0/meltygui/core/layout/edge_constraints.py +155 -0
- meltygui-0.1.0/meltygui/core/layout/grid_core.py +117 -0
- meltygui-0.1.0/meltygui/core/layout/header_core.py +23 -0
- meltygui-0.1.0/meltygui/core/layout/header_runtime.py +67 -0
- meltygui-0.1.0/meltygui/core/layout/layout_core.py +87 -0
- meltygui-0.1.0/meltygui/core/layout/tile_manager_core.py +591 -0
- meltygui-0.1.0/meltygui/core/melty.py +6726 -0
- meltygui-0.1.0/meltygui/core/module_map.json +896 -0
- meltygui-0.1.0/meltygui/core/module_names.py +19 -0
- meltygui-0.1.0/meltygui/core/rendering/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/rendering/core_decoration.py +431 -0
- meltygui-0.1.0/meltygui/core/rendering/core_render_helpers.py +328 -0
- meltygui-0.1.0/meltygui/core/rendering/func_metadata.py +398 -0
- meltygui-0.1.0/meltygui/core/rendering/mode.py +818 -0
- meltygui-0.1.0/meltygui/core/rendering/mode_defaults.py +41 -0
- meltygui-0.1.0/meltygui/core/rendering/modes.py +136 -0
- meltygui-0.1.0/meltygui/core/rendering/parameter_core.py +1665 -0
- meltygui-0.1.0/meltygui/core/rendering/render_dispatch.py +1891 -0
- meltygui-0.1.0/meltygui/core/rendering/render_funcs.py +273 -0
- meltygui-0.1.0/meltygui/core/rendering/shaped.py +312 -0
- meltygui-0.1.0/meltygui/core/rendering/window_decoration.py +25 -0
- meltygui-0.1.0/meltygui/core/runtime/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/runtime/app.py +735 -0
- meltygui-0.1.0/meltygui/core/runtime/app_session.py +140 -0
- meltygui-0.1.0/meltygui/core/runtime/background.py +564 -0
- meltygui-0.1.0/meltygui/core/runtime/extensions.py +53 -0
- meltygui-0.1.0/meltygui/core/runtime/gc_manager.py +1163 -0
- meltygui-0.1.0/meltygui/core/runtime/lifecycle.py +21 -0
- meltygui-0.1.0/meltygui/core/runtime/paths.py +27 -0
- meltygui-0.1.0/meltygui/core/runtime/settings.py +14 -0
- meltygui-0.1.0/meltygui/core/runtime/singleton.py +16 -0
- meltygui-0.1.0/meltygui/core/runtime/thread_safe_bool.py +24 -0
- meltygui-0.1.0/meltygui/core/runtime/thread_signal.py +30 -0
- meltygui-0.1.0/meltygui/core/runtime/toggles.py +3115 -0
- meltygui-0.1.0/meltygui/core/services/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/services/account_core.py +10 -0
- meltygui-0.1.0/meltygui/core/services/chat_core.py +19 -0
- meltygui-0.1.0/meltygui/core/services/claude_terminal_core.py +346 -0
- meltygui-0.1.0/meltygui/core/services/terminal_core.py +458 -0
- meltygui-0.1.0/meltygui/core/services/terminal_runtime.py +78 -0
- meltygui-0.1.0/meltygui/core/styling/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/styling/color_core.py +46 -0
- meltygui-0.1.0/meltygui/core/styling/fonts.py +639 -0
- meltygui-0.1.0/meltygui/core/styling/global_style.py +338 -0
- meltygui-0.1.0/meltygui/core/styling/style.py +198 -0
- meltygui-0.1.0/meltygui/core/styling/style_core.py +522 -0
- meltygui-0.1.0/meltygui/core/styling/warm_start.py +149 -0
- meltygui-0.1.0/meltygui/core/windowing/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/windowing/backends/PYIMGUI_LICENSE +28 -0
- meltygui-0.1.0/meltygui/core/windowing/backends/__init__.py +1 -0
- meltygui-0.1.0/meltygui/core/windowing/backends/imgui_renderer.py +138 -0
- meltygui-0.1.0/meltygui/core/windowing/backends/native_wayland.py +850 -0
- meltygui-0.1.0/meltygui/core/windowing/backends/protocols/xdg-decoration-unstable-v1.xml +156 -0
- meltygui-0.1.0/meltygui/core/windowing/backends/protocols/xdg-shell.xml +1420 -0
- meltygui-0.1.0/meltygui/core/windowing/backends/wayland_protocol.py +101 -0
- meltygui-0.1.0/meltygui/core/windowing/dock_core.py +182 -0
- meltygui-0.1.0/meltygui/core/windowing/frame_geometry.py +42 -0
- meltygui-0.1.0/meltygui/core/windowing/geometry_feed.py +864 -0
- meltygui-0.1.0/meltygui/core/windowing/glfw_utils.py +1343 -0
- meltygui-0.1.0/meltygui/core/windowing/os_frame.py +1552 -0
- meltygui-0.1.0/meltygui/core/windowing/surface.py +643 -0
- meltygui-0.1.0/meltygui/core/windowing/titlebar.py +1560 -0
- meltygui-0.1.0/meltygui/core/windowing/titlebar_buttons.py +281 -0
- meltygui-0.1.0/meltygui/core/windowing/wayland_move.py +932 -0
- meltygui-0.1.0/meltygui/core/windowing/window_api.py +62 -0
- meltygui-0.1.0/meltygui/core/windowing/window_constants.py +339 -0
- meltygui-0.1.0/meltygui/core/windowing/window_visibility.py +162 -0
- meltygui-0.1.0/meltygui/debug/__init__.py +0 -0
- meltygui-0.1.0/meltygui/debug/app_view_utils.py +9 -0
- meltygui-0.1.0/meltygui/editor/__init__.py +0 -0
- meltygui-0.1.0/meltygui/editor/bash_syntax.py +30 -0
- meltygui-0.1.0/meltygui/editor/code_line_fast.py +152 -0
- meltygui-0.1.0/meltygui/editor/diff.py +139 -0
- meltygui-0.1.0/meltygui/editor/external_changes.py +159 -0
- meltygui-0.1.0/meltygui/editor/file_header.py +41 -0
- meltygui-0.1.0/meltygui/editor/live_usage.py +169 -0
- meltygui-0.1.0/meltygui/editor/live_view_views.py +1803 -0
- meltygui-0.1.0/meltygui/editor/pending_save.py +1351 -0
- meltygui-0.1.0/meltygui/editor/roster_tints.py +547 -0
- meltygui-0.1.0/meltygui/editor/source_preview.py +16 -0
- meltygui-0.1.0/meltygui/editor/source_tools.py +10 -0
- meltygui-0.1.0/meltygui/editor/source_ui.py +70 -0
- meltygui-0.1.0/meltygui/editor/spell_check.py +77 -0
- meltygui-0.1.0/meltygui/editor/text_editor.py +9076 -0
- meltygui-0.1.0/meltygui/editor/usage_picker.py +538 -0
- meltygui-0.1.0/meltygui/events/__init__.py +0 -0
- meltygui-0.1.0/meltygui/events/example.py +118 -0
- meltygui-0.1.0/meltygui/examples/__init__.py +0 -0
- meltygui-0.1.0/meltygui/examples/columns_demo.py +33 -0
- meltygui-0.1.0/meltygui/examples/columns_window_demo.py +60 -0
- meltygui-0.1.0/meltygui/examples/context_menu_demo.py +24 -0
- meltygui-0.1.0/meltygui/examples/context_menu_window_demo.py +49 -0
- meltygui-0.1.0/meltygui/examples/gui_playground.py +127 -0
- meltygui-0.1.0/meltygui/examples/live_view_playground.py +256 -0
- meltygui-0.1.0/meltygui/examples/lora.py +43 -0
- meltygui-0.1.0/meltygui/examples/lora_data.py +59 -0
- meltygui-0.1.0/meltygui/examples/lora_policies.py +67 -0
- meltygui-0.1.0/meltygui/examples/mode_demo.py +49 -0
- meltygui-0.1.0/meltygui/examples/modifies_demo.py +119 -0
- meltygui-0.1.0/meltygui/examples/scalar_policies.py +60 -0
- meltygui-0.1.0/meltygui/examples/style_layouts.py +149 -0
- meltygui-0.1.0/meltygui/examples/tile_manager_demo.py +74 -0
- meltygui-0.1.0/meltygui/examples/tint_demo.py +160 -0
- meltygui-0.1.0/meltygui/examples/tint_functions.py +56 -0
- meltygui-0.1.0/meltygui/examples/trace_demo.py +88 -0
- meltygui-0.1.0/meltygui/examples/two_windows.py +36 -0
- meltygui-0.1.0/meltygui/files/__init__.py +0 -0
- meltygui-0.1.0/meltygui/files/fast_file_explorer.py +439 -0
- meltygui-0.1.0/meltygui/gnome_extension/lsd-window-geometry@latent-descent/extension.js +237 -0
- meltygui-0.1.0/meltygui/gnome_extension/lsd-window-geometry@latent-descent/lsd-window-geometry@latent-descent.iml +9 -0
- meltygui-0.1.0/meltygui/gnome_extension/lsd-window-geometry@latent-descent/metadata.json +7 -0
- meltygui-0.1.0/meltygui/graphics/__init__.py +6 -0
- meltygui-0.1.0/meltygui/graphics/base.py +85 -0
- meltygui-0.1.0/meltygui/graphics/examples.py +507 -0
- meltygui-0.1.0/meltygui/graphics/executor.py +520 -0
- meltygui-0.1.0/meltygui/graphics/filter.py +667 -0
- meltygui-0.1.0/meltygui/graphics/filter.pyi +856 -0
- meltygui-0.1.0/meltygui/graphics/generate_stubs.py +22 -0
- meltygui-0.1.0/meltygui/graphics/registry.py +203 -0
- meltygui-0.1.0/meltygui/graphics/shader_compiler.py +155 -0
- meltygui-0.1.0/meltygui/graphics/shaders.py +1302 -0
- meltygui-0.1.0/meltygui/graphics/stub_generator.py +250 -0
- meltygui-0.1.0/meltygui/graphics/texture_manager.py +170 -0
- meltygui-0.1.0/meltygui/graphics/texture_min_max.py +295 -0
- meltygui-0.1.0/meltygui/hdr_color.py +757 -0
- meltygui-0.1.0/meltygui/image_load.py +308 -0
- meltygui-0.1.0/meltygui/model/__init__.py +1 -0
- meltygui-0.1.0/meltygui/model/account_model.py +142 -0
- meltygui-0.1.0/meltygui/model/camera_model.py +159 -0
- meltygui-0.1.0/meltygui/model/chat_model.py +86 -0
- meltygui-0.1.0/meltygui/model/code_model.py +62 -0
- meltygui-0.1.0/meltygui/model/code_proxy_model.py +876 -0
- meltygui-0.1.0/meltygui/model/collection_model.py +41 -0
- meltygui-0.1.0/meltygui/model/color_model.py +127 -0
- meltygui-0.1.0/meltygui/model/cuda_tensor_model.py +36 -0
- meltygui-0.1.0/meltygui/model/cuda_texture_model.py +149 -0
- meltygui-0.1.0/meltygui/model/dropdown_model.py +137 -0
- meltygui-0.1.0/meltygui/model/file_metadata_model.py +73 -0
- meltygui-0.1.0/meltygui/model/file_model.py +289 -0
- meltygui-0.1.0/meltygui/model/format_model.py +390 -0
- meltygui-0.1.0/meltygui/model/graph_model.py +98 -0
- meltygui-0.1.0/meltygui/model/icon_model.py +1024 -0
- meltygui-0.1.0/meltygui/model/import_graph_model.py +468 -0
- meltygui-0.1.0/meltygui/model/layout_model.py +15 -0
- meltygui-0.1.0/meltygui/model/lut_model.py +266 -0
- meltygui-0.1.0/meltygui/model/search_model.py +173 -0
- meltygui-0.1.0/meltygui/model/tensor_model.py +402 -0
- meltygui-0.1.0/meltygui/model/terminal_model.py +329 -0
- meltygui-0.1.0/meltygui/model/texture_model.py +146 -0
- meltygui-0.1.0/meltygui/model/tile_model.py +24 -0
- meltygui-0.1.0/meltygui/model/trace_model.py +198 -0
- meltygui-0.1.0/meltygui/model/trace_report_model.py +146 -0
- meltygui-0.1.0/meltygui/models/__init__.py +0 -0
- meltygui-0.1.0/meltygui/models/file_meta.py +613 -0
- meltygui-0.1.0/meltygui/models/function_console.py +184 -0
- meltygui-0.1.0/meltygui/models/orchestration.py +48 -0
- meltygui-0.1.0/meltygui/pbr.py +1576 -0
- meltygui-0.1.0/meltygui/png_unfilter.c +49 -0
- meltygui-0.1.0/meltygui/resources/JetBrainsMono-Regular.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/THIRD_PARTY_NOTICES.md +21 -0
- meltygui-0.1.0/meltygui/resources/dejavu/DejaVuSans-Bold.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/dejavu/DejaVuSans-ExtraLight.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/dejavu/DejaVuSans.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/dejavu/LICENSE.txt +78 -0
- meltygui-0.1.0/meltygui/resources/fontawesome-LICENSE.txt +121 -0
- meltygui-0.1.0/meltygui/resources/fontawesome-webfont.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/hdri/studio_small_09_1k.hdr +0 -0
- meltygui-0.1.0/meltygui/resources/jetbrains-weights/JetBrainsMono-Bold.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/jetbrains-weights/JetBrainsMono-ExtraBold.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/jetbrains-weights/JetBrainsMono-ExtraLight.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/jetbrains-weights/JetBrainsMono-Light.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/jetbrains-weights/JetBrainsMono-Medium.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/jetbrains-weights/JetBrainsMono-SemiBold.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/jetbrains-weights/JetBrainsMono-Thin.ttf +0 -0
- meltygui-0.1.0/meltygui/resources/jetbrains-weights/OFL.txt +93 -0
- meltygui-0.1.0/meltygui/resources/jetbrains-weights/README.md +2 -0
- meltygui-0.1.0/meltygui/state/__init__.py +0 -0
- meltygui-0.1.0/meltygui/state/account_state.py +22 -0
- meltygui-0.1.0/meltygui/state/animation_state.py +97 -0
- meltygui-0.1.0/meltygui/state/annotation_state.py +22 -0
- meltygui-0.1.0/meltygui/state/chat_state.py +36 -0
- meltygui-0.1.0/meltygui/state/code_state.py +10 -0
- meltygui-0.1.0/meltygui/state/core_enums.py +59 -0
- meltygui-0.1.0/meltygui/state/core_markers.py +115 -0
- meltygui-0.1.0/meltygui/state/core_undo.py +1075 -0
- meltygui-0.1.0/meltygui/state/file_state.py +75 -0
- meltygui-0.1.0/meltygui/state/graph_state.py +26 -0
- meltygui-0.1.0/meltygui/state/inspection_state.py +47 -0
- meltygui-0.1.0/meltygui/state/menu_state.py +10 -0
- meltygui-0.1.0/meltygui/state/model_enums.py +11 -0
- meltygui-0.1.0/meltygui/state/new_core_model.py +2394 -0
- meltygui-0.1.0/meltygui/state/orchestration_state.py +14 -0
- meltygui-0.1.0/meltygui/state/query_state.py +24 -0
- meltygui-0.1.0/meltygui/state/tensor_state.py +10 -0
- meltygui-0.1.0/meltygui/state/terminal_state.py +23 -0
- meltygui-0.1.0/meltygui/state/trace_state.py +32 -0
- meltygui-0.1.0/meltygui/state/voxel_state.py +12 -0
- meltygui-0.1.0/meltygui/text_index.py +816 -0
- meltygui-0.1.0/meltygui/utils/__init__.py +0 -0
- meltygui-0.1.0/meltygui/utils/jump_to_code.py +344 -0
- meltygui-0.1.0/meltygui/utils/pkl_inspect.py +90 -0
- meltygui-0.1.0/meltygui/utils/render_utils.py +1419 -0
- meltygui-0.1.0/meltygui/view/__init__.py +1 -0
- meltygui-0.1.0/meltygui/view/account_view.py +524 -0
- meltygui-0.1.0/meltygui/view/action_view.py +73 -0
- meltygui-0.1.0/meltygui/view/chat_decoration_view.py +112 -0
- meltygui-0.1.0/meltygui/view/chat_view.py +1703 -0
- meltygui-0.1.0/meltygui/view/code_view.py +2677 -0
- meltygui-0.1.0/meltygui/view/collection_view.py +1185 -0
- meltygui-0.1.0/meltygui/view/color_view.py +824 -0
- meltygui-0.1.0/meltygui/view/control_view.py +559 -0
- meltygui-0.1.0/meltygui/view/decoration_view.py +439 -0
- meltygui-0.1.0/meltygui/view/diagnostic_view.py +177 -0
- meltygui-0.1.0/meltygui/view/dropdown_view.py +1082 -0
- meltygui-0.1.0/meltygui/view/file_view.py +1599 -0
- meltygui-0.1.0/meltygui/view/graph_cuda_view.py +105 -0
- meltygui-0.1.0/meltygui/view/graph_view.py +882 -0
- meltygui-0.1.0/meltygui/view/header_view.py +848 -0
- meltygui-0.1.0/meltygui/view/input_view.py +238 -0
- meltygui-0.1.0/meltygui/view/inspection_view.py +1783 -0
- meltygui-0.1.0/meltygui/view/layout_view.py +596 -0
- meltygui-0.1.0/meltygui/view/lut_view.py +45 -0
- meltygui-0.1.0/meltygui/view/menu_view.py +212 -0
- meltygui-0.1.0/meltygui/view/orchestration_view.py +658 -0
- meltygui-0.1.0/meltygui/view/query_view.py +118 -0
- meltygui-0.1.0/meltygui/view/search_view.py +342 -0
- meltygui-0.1.0/meltygui/view/tab_view.py +258 -0
- meltygui-0.1.0/meltygui/view/tensor_view.py +430 -0
- meltygui-0.1.0/meltygui/view/terminal_view.py +355 -0
- meltygui-0.1.0/meltygui/view/text_view.py +8031 -0
- meltygui-0.1.0/meltygui/view/texture_view.py +480 -0
- meltygui-0.1.0/meltygui/view/tile_view.py +38 -0
- meltygui-0.1.0/meltygui/view/trace_view.py +923 -0
- meltygui-0.1.0/meltygui/view/voxel_cuda_view.py +824 -0
- meltygui-0.1.0/meltygui/view/voxel_view.py +1860 -0
- meltygui-0.1.0/meltygui/view/window_view.py +111 -0
- meltygui-0.1.0/pyproject.toml +37 -0
- meltygui-0.1.0/tests/conftest.py +121 -0
- meltygui-0.1.0/tests/fixtures/terminal_before_runtime.py +122 -0
- meltygui-0.1.0/tests/profile_render_wrapper.py +493 -0
- meltygui-0.1.0/tests/test_chat_messages.py +174 -0
- meltygui-0.1.0/tests/test_chat_presentation.py +74 -0
- meltygui-0.1.0/tests/test_column_edge_solve.py +122 -0
- meltygui-0.1.0/tests/test_column_frame_fit.py +147 -0
- meltygui-0.1.0/tests/test_column_maxes.py +259 -0
- meltygui-0.1.0/tests/test_core_relocation.py +75 -0
- meltygui-0.1.0/tests/test_core_syntax.py +996 -0
- meltygui-0.1.0/tests/test_cuda_context_core.py +122 -0
- meltygui-0.1.0/tests/test_cuda_direct_lines.py +58 -0
- meltygui-0.1.0/tests/test_cuda_interop.py +529 -0
- meltygui-0.1.0/tests/test_cuda_interop_core.py +65 -0
- meltygui-0.1.0/tests/test_cuda_kernel_core.py +116 -0
- meltygui-0.1.0/tests/test_cuda_march.py +442 -0
- meltygui-0.1.0/tests/test_definition_relocation.py +203 -0
- meltygui-0.1.0/tests/test_draw_state_parent_geometry.py +111 -0
- meltygui-0.1.0/tests/test_edge_graph_solve.py +143 -0
- meltygui-0.1.0/tests/test_file_metadata_model.py +119 -0
- meltygui-0.1.0/tests/test_file_model.py +102 -0
- meltygui-0.1.0/tests/test_file_type_codecs.py +225 -0
- meltygui-0.1.0/tests/test_file_watch_limits.py +106 -0
- meltygui-0.1.0/tests/test_fps_counter.py +28 -0
- meltygui-0.1.0/tests/test_frame_geometry_hotswap.py +34 -0
- meltygui-0.1.0/tests/test_fstring_highlight.py +197 -0
- meltygui-0.1.0/tests/test_function_console.py +90 -0
- meltygui-0.1.0/tests/test_glfw_window_editable_root.py +217 -0
- meltygui-0.1.0/tests/test_hdr_color.py +347 -0
- meltygui-0.1.0/tests/test_hotswap_preserves_runtime_state.py +204 -0
- meltygui-0.1.0/tests/test_import_boundary.py +36 -0
- meltygui-0.1.0/tests/test_live_class_apply.py +100 -0
- meltygui-0.1.0/tests/test_live_function_apply.py +177 -0
- meltygui-0.1.0/tests/test_live_store_owner.py +146 -0
- meltygui-0.1.0/tests/test_lut_model.py +181 -0
- meltygui-0.1.0/tests/test_native_background_drag.py +57 -0
- meltygui-0.1.0/tests/test_native_body_cursor.py +44 -0
- meltygui-0.1.0/tests/test_native_frame_contacts.py +47 -0
- meltygui-0.1.0/tests/test_native_windows.py +264 -0
- meltygui-0.1.0/tests/test_nested_layout_right_drag.py +85 -0
- meltygui-0.1.0/tests/test_os_frame.py +1832 -0
- meltygui-0.1.0/tests/test_package_contract.py +47 -0
- meltygui-0.1.0/tests/test_pending_signature_lint.py +372 -0
- meltygui-0.1.0/tests/test_public_boundary.py +63 -0
- meltygui-0.1.0/tests/test_readme_examples.py +82 -0
- meltygui-0.1.0/tests/test_recompile_import_backfill.py +80 -0
- meltygui-0.1.0/tests/test_render_change_notification.py +56 -0
- meltygui-0.1.0/tests/test_render_context_injection.py +55 -0
- meltygui-0.1.0/tests/test_render_func_integration.py +141 -0
- meltygui-0.1.0/tests/test_render_host_surface_drag.py +55 -0
- meltygui-0.1.0/tests/test_row_edge_solve.py +273 -0
- meltygui-0.1.0/tests/test_saved_renderer_recovery.py +42 -0
- meltygui-0.1.0/tests/test_search_symbol_tables.py +24 -0
- meltygui-0.1.0/tests/test_shader_func.py +424 -0
- meltygui-0.1.0/tests/test_shaped.py +303 -0
- meltygui-0.1.0/tests/test_surface_body_resize.py +128 -0
- meltygui-0.1.0/tests/test_syntax_check_worker.py +65 -0
- meltygui-0.1.0/tests/test_tensor_controls.py +132 -0
- meltygui-0.1.0/tests/test_tensor_model.py +107 -0
- meltygui-0.1.0/tests/test_tensor_slices.py +64 -0
- meltygui-0.1.0/tests/test_terminal_live_migration.py +126 -0
- meltygui-0.1.0/tests/test_terminal_ownership.py +125 -0
- meltygui-0.1.0/tests/test_text_texture_contexts.py +58 -0
- meltygui-0.1.0/tests/test_tile_manager.py +192 -0
- meltygui-0.1.0/tests/test_typing_incremental_layout.py +127 -0
- meltygui-0.1.0/tests/test_voxel_backends.py +97 -0
- meltygui-0.1.0/tests/test_voxel_ownership.py +61 -0
- meltygui-0.1.0/tests/test_voxel_roll_gl.py +100 -0
- meltygui-0.1.0/tests/test_window_collision_investigation.py +264 -0
- meltygui-0.1.0/tests/test_window_comment_overrides.py +287 -0
- meltygui-0.1.0/tests/test_windows_portability.py +88 -0
- meltygui-0.1.0/tests/untitled.py +11 -0
- meltygui-0.1.0/tools/native_wheels/build.py +45 -0
- meltygui-0.1.0/tools/native_wheels/build_in_container.sh +21 -0
- meltygui-0.1.0/tools/native_wheels/licenses/NVIDIA-CUDA-12.1-EULA.txt +1115 -0
- meltygui-0.1.0/tools/native_wheels/licenses/boost.txt +23 -0
- meltygui-0.1.0/tools/native_wheels/licenses/imgui-MIT.txt +21 -0
- meltygui-0.1.0/tools/native_wheels/licenses/imstb_rectpack.h.license.txt +37 -0
- meltygui-0.1.0/tools/native_wheels/licenses/imstb_textedit.h.license.txt +37 -0
- meltygui-0.1.0/tools/native_wheels/licenses/imstb_truetype.h.license.txt +37 -0
- meltygui-0.1.0/tools/native_wheels/prepare.py +111 -0
- meltygui-0.1.0/tools/native_wheels/rewrite_imports.py +55 -0
- meltygui-0.1.0/tools/release.py +111 -0
meltygui-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
meltygui-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: meltygui
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Immediate-mode Python UI, live inspection, HDR and tensor visualization
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Classifier: Development Status :: 3 - Alpha
|
|
8
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
9
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Requires-Python: <3.14,>=3.11
|
|
14
|
+
Requires-Dist: anthropic>=0.40
|
|
15
|
+
Requires-Dist: freetype-py>=2.4
|
|
16
|
+
Requires-Dist: glfw>=2.10
|
|
17
|
+
Requires-Dist: httpx>=0.27
|
|
18
|
+
Requires-Dist: jedi>=0.19
|
|
19
|
+
Requires-Dist: libcst>=1.4
|
|
20
|
+
Requires-Dist: mcp>=1.0
|
|
21
|
+
Requires-Dist: meltygui-imgui[glfw]<2.0.1,>=2.0.0.post1
|
|
22
|
+
Requires-Dist: numpy>=1.26
|
|
23
|
+
Requires-Dist: packaging>=24
|
|
24
|
+
Requires-Dist: pillow>=10
|
|
25
|
+
Requires-Dist: psutil>=6
|
|
26
|
+
Requires-Dist: pygments>=2.18
|
|
27
|
+
Requires-Dist: pyopengl-accelerate>=3.1.7
|
|
28
|
+
Requires-Dist: pyopengl>=3.1.7
|
|
29
|
+
Requires-Dist: pyte>=0.8
|
|
30
|
+
Requires-Dist: rich>=13
|
|
31
|
+
Requires-Dist: rtree>=1.2
|
|
32
|
+
Requires-Dist: symspellpy>=6.7
|
|
33
|
+
Requires-Dist: tomlkit>=0.13
|
|
34
|
+
Requires-Dist: uvicorn>=0.30
|
|
35
|
+
Requires-Dist: watchdog>=4
|
|
36
|
+
Provides-Extra: input
|
|
37
|
+
Requires-Dist: evdev>=1.7; (sys_platform == 'linux') and extra == 'input'
|
|
38
|
+
Requires-Dist: pynput>=1.7; extra == 'input'
|
|
39
|
+
Provides-Extra: profile
|
|
40
|
+
Requires-Dist: line-profiler>=4; extra == 'profile'
|
|
41
|
+
Provides-Extra: tensor
|
|
42
|
+
Requires-Dist: meltygui-pycuda<2026.2,>=2026.1.post1; (sys_platform == 'linux') and extra == 'tensor'
|
|
43
|
+
Requires-Dist: torch>=2.2; extra == 'tensor'
|
|
44
|
+
Description-Content-Type: text/markdown
|
|
45
|
+
|
|
46
|
+
# MeltyGUI
|
|
47
|
+
|
|
48
|
+
Low latency tensor visualization for PyTorch.
|
|
49
|
+
|
|
50
|
+
MeltyGUI is an open source data visualization toolkit for PyTorch, designed to render massive tensors in-place on the GPU at an interactive framerate. The purpose of this project is to make PyTorch code easier to understand and faster to debug. Along with its core tensor rendering components, MeltyGUI is bundled with a Blender inspired UI framework designed to make interacting with high dimensional tensors feel fast and intuitive.
|
|
51
|
+
|
|
52
|
+
MeltyGUI is capable of rendering tensors exceeding 64GB in size. The primary challenge with visualizing data this large is moving it around. MeltyGUI skips the data movement entirely, and ray-marches tensors directly from CUDA memory.
|
|
53
|
+
|
|
54
|
+
<img width="2410" height="2018" alt="Image" src="https://github.com/user-attachments/assets/82ffae2c-ec0a-456c-b781-5428c54009f8" />
|
|
55
|
+
|
|
56
|
+
## Getting started
|
|
57
|
+
|
|
58
|
+
MeltyGUI is not yet published to PyPI. For now, install from a checkout using
|
|
59
|
+
[the setup guide](docs/DEVELOPMENT.md#setup).
|
|
60
|
+
|
|
61
|
+
The current setup targets Linux x86-64 with Python 3.11, 3.12 or 3.13 and a
|
|
62
|
+
working OpenGL 4.3 context. CUDA tensor rendering also requires PyTorch, an
|
|
63
|
+
NVIDIA GPU, a CUDA toolkit, and MeltyGUI's GL-enabled CUDA binding. The native
|
|
64
|
+
bindings install as prebuilt wheels on those targets; elsewhere installers
|
|
65
|
+
compile them, see [when no wheel matches](docs/SUPPORT_WHEELS.md#when-no-wheel-matches).
|
|
66
|
+
|
|
67
|
+
## Visualize a tensor
|
|
68
|
+
|
|
69
|
+
Create a small volume on the GPU and tag `draw_voxels` as an OS window with
|
|
70
|
+
`glfw_window`:
|
|
71
|
+
|
|
72
|
+
```python
|
|
73
|
+
import torch
|
|
74
|
+
import meltygui
|
|
75
|
+
|
|
76
|
+
axis = torch.linspace(-1.5, 1.5, 40, device="cuda:0")
|
|
77
|
+
x, y, z = torch.meshgrid(axis, axis, axis, indexing="ij")
|
|
78
|
+
volume = torch.exp(-4 * ((torch.sqrt(x * x + y * y) - 0.85) ** 2 + z * z))
|
|
79
|
+
|
|
80
|
+
meltygui.glfw_window(
|
|
81
|
+
meltygui.draw_voxels, name="Torus", value=volume, width=850, height=700
|
|
82
|
+
)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Save this as `tensor_demo.py` and run it with the Python from your configured
|
|
86
|
+
environment:
|
|
87
|
+
|
|
88
|
+
```sh
|
|
89
|
+
.venv/bin/python tensor_demo.py
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
`glfw_window` turns a view into a native window: `name` is the window title,
|
|
93
|
+
`width` / `height` its content size, `value` the view's input, and every other
|
|
94
|
+
keyword argument goes to the view. The window loop starts automatically after
|
|
95
|
+
the module finishes defining its windows. The CUDA renderer reads the volume on
|
|
96
|
+
its own GPU and transfers the rendered 2D image for display.
|
|
97
|
+
|
|
98
|
+
To compose several views in one window, decorate your own function instead. It
|
|
99
|
+
runs each frame, so create the tensor outside it to avoid reallocating the
|
|
100
|
+
volume on every frame:
|
|
101
|
+
|
|
102
|
+
```python
|
|
103
|
+
@meltygui.glfw_window(name="CUDA tensor", width=850, height=700)
|
|
104
|
+
def draw_frame():
|
|
105
|
+
# Interactive widget, rendered in a loop. This function will be called wheneven
|
|
106
|
+
# the rendered image is invalidated
|
|
107
|
+
meltygui.draw_voxels(volume, name="Torus", width=800, height=630)
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
`draw_voxels` chooses CUDA for CUDA tensors and OpenGL for CPU tensors, NumPy
|
|
111
|
+
arrays and GL textures. Select a renderer explicitly with the framework's
|
|
112
|
+
`view_func` override (or call either renderer directly):
|
|
113
|
+
|
|
114
|
+
```python
|
|
115
|
+
meltygui.draw_voxels(volume, view_func=meltygui.draw_voxels_opengl)
|
|
116
|
+
meltygui.draw_voxels(volume, view_func=meltygui.draw_voxels_cuda)
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
`draw_voxels_opengl` accepts tensors directly, including CUDA tensors; it slices
|
|
120
|
+
and uploads the displayed volume to a GL texture. `draw_voxels_cuda` requires a
|
|
121
|
+
CUDA tensor and reads it in place. Both expose the same camera, mapping and
|
|
122
|
+
shading controls. Backend selection no longer uses the obsolete `cuda_march`
|
|
123
|
+
parameter.
|
|
124
|
+
|
|
125
|
+
See [the tensor and live-code example](examples/tensor_live.py) for a tensor
|
|
126
|
+
viewer alongside an editable function view.
|
|
127
|
+
|
|
128
|
+
## Build an app
|
|
129
|
+
|
|
130
|
+
Use the bundled UI framework to add controls, editors, and additional windows.
|
|
131
|
+
[Building an app](docs/APPS.md) covers persistent view state, render functions,
|
|
132
|
+
and window lifecycle.
|
|
133
|
+
|
|
134
|
+
For framework design, feature ownership and render-function patterns, see
|
|
135
|
+
[Contributing](CONTRIBUTING.md). [Development](docs/DEVELOPMENT.md) covers setup,
|
|
136
|
+
checks and packaging; [Architecture gaps](docs/ARCHITECTURE_DEBT.md) tracks the
|
|
137
|
+
remaining migration work.
|
|
138
|
+
|
|
139
|
+
## License
|
|
140
|
+
|
|
141
|
+
MeltyGUI is licensed under [Apache 2.0](LICENSE). Bundled third-party code and
|
|
142
|
+
assets retain their own licenses. The separate commercial IDE is not part of
|
|
143
|
+
this distribution.
|
meltygui-0.1.0/README.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# MeltyGUI
|
|
2
|
+
|
|
3
|
+
Low latency tensor visualization for PyTorch.
|
|
4
|
+
|
|
5
|
+
MeltyGUI is an open source data visualization toolkit for PyTorch, designed to render massive tensors in-place on the GPU at an interactive framerate. The purpose of this project is to make PyTorch code easier to understand and faster to debug. Along with its core tensor rendering components, MeltyGUI is bundled with a Blender inspired UI framework designed to make interacting with high dimensional tensors feel fast and intuitive.
|
|
6
|
+
|
|
7
|
+
MeltyGUI is capable of rendering tensors exceeding 64GB in size. The primary challenge with visualizing data this large is moving it around. MeltyGUI skips the data movement entirely, and ray-marches tensors directly from CUDA memory.
|
|
8
|
+
|
|
9
|
+
<img width="2410" height="2018" alt="Image" src="https://github.com/user-attachments/assets/82ffae2c-ec0a-456c-b781-5428c54009f8" />
|
|
10
|
+
|
|
11
|
+
## Getting started
|
|
12
|
+
|
|
13
|
+
MeltyGUI is not yet published to PyPI. For now, install from a checkout using
|
|
14
|
+
[the setup guide](docs/DEVELOPMENT.md#setup).
|
|
15
|
+
|
|
16
|
+
The current setup targets Linux x86-64 with Python 3.11, 3.12 or 3.13 and a
|
|
17
|
+
working OpenGL 4.3 context. CUDA tensor rendering also requires PyTorch, an
|
|
18
|
+
NVIDIA GPU, a CUDA toolkit, and MeltyGUI's GL-enabled CUDA binding. The native
|
|
19
|
+
bindings install as prebuilt wheels on those targets; elsewhere installers
|
|
20
|
+
compile them, see [when no wheel matches](docs/SUPPORT_WHEELS.md#when-no-wheel-matches).
|
|
21
|
+
|
|
22
|
+
## Visualize a tensor
|
|
23
|
+
|
|
24
|
+
Create a small volume on the GPU and tag `draw_voxels` as an OS window with
|
|
25
|
+
`glfw_window`:
|
|
26
|
+
|
|
27
|
+
```python
|
|
28
|
+
import torch
|
|
29
|
+
import meltygui
|
|
30
|
+
|
|
31
|
+
axis = torch.linspace(-1.5, 1.5, 40, device="cuda:0")
|
|
32
|
+
x, y, z = torch.meshgrid(axis, axis, axis, indexing="ij")
|
|
33
|
+
volume = torch.exp(-4 * ((torch.sqrt(x * x + y * y) - 0.85) ** 2 + z * z))
|
|
34
|
+
|
|
35
|
+
meltygui.glfw_window(
|
|
36
|
+
meltygui.draw_voxels, name="Torus", value=volume, width=850, height=700
|
|
37
|
+
)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Save this as `tensor_demo.py` and run it with the Python from your configured
|
|
41
|
+
environment:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
.venv/bin/python tensor_demo.py
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
`glfw_window` turns a view into a native window: `name` is the window title,
|
|
48
|
+
`width` / `height` its content size, `value` the view's input, and every other
|
|
49
|
+
keyword argument goes to the view. The window loop starts automatically after
|
|
50
|
+
the module finishes defining its windows. The CUDA renderer reads the volume on
|
|
51
|
+
its own GPU and transfers the rendered 2D image for display.
|
|
52
|
+
|
|
53
|
+
To compose several views in one window, decorate your own function instead. It
|
|
54
|
+
runs each frame, so create the tensor outside it to avoid reallocating the
|
|
55
|
+
volume on every frame:
|
|
56
|
+
|
|
57
|
+
```python
|
|
58
|
+
@meltygui.glfw_window(name="CUDA tensor", width=850, height=700)
|
|
59
|
+
def draw_frame():
|
|
60
|
+
# Interactive widget, rendered in a loop. This function will be called wheneven
|
|
61
|
+
# the rendered image is invalidated
|
|
62
|
+
meltygui.draw_voxels(volume, name="Torus", width=800, height=630)
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
`draw_voxels` chooses CUDA for CUDA tensors and OpenGL for CPU tensors, NumPy
|
|
66
|
+
arrays and GL textures. Select a renderer explicitly with the framework's
|
|
67
|
+
`view_func` override (or call either renderer directly):
|
|
68
|
+
|
|
69
|
+
```python
|
|
70
|
+
meltygui.draw_voxels(volume, view_func=meltygui.draw_voxels_opengl)
|
|
71
|
+
meltygui.draw_voxels(volume, view_func=meltygui.draw_voxels_cuda)
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
`draw_voxels_opengl` accepts tensors directly, including CUDA tensors; it slices
|
|
75
|
+
and uploads the displayed volume to a GL texture. `draw_voxels_cuda` requires a
|
|
76
|
+
CUDA tensor and reads it in place. Both expose the same camera, mapping and
|
|
77
|
+
shading controls. Backend selection no longer uses the obsolete `cuda_march`
|
|
78
|
+
parameter.
|
|
79
|
+
|
|
80
|
+
See [the tensor and live-code example](examples/tensor_live.py) for a tensor
|
|
81
|
+
viewer alongside an editable function view.
|
|
82
|
+
|
|
83
|
+
## Build an app
|
|
84
|
+
|
|
85
|
+
Use the bundled UI framework to add controls, editors, and additional windows.
|
|
86
|
+
[Building an app](docs/APPS.md) covers persistent view state, render functions,
|
|
87
|
+
and window lifecycle.
|
|
88
|
+
|
|
89
|
+
For framework design, feature ownership and render-function patterns, see
|
|
90
|
+
[Contributing](CONTRIBUTING.md). [Development](docs/DEVELOPMENT.md) covers setup,
|
|
91
|
+
checks and packaging; [Architecture gaps](docs/ARCHITECTURE_DEBT.md) tracks the
|
|
92
|
+
remaining migration work.
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
MeltyGUI is licensed under [Apache 2.0](LICENSE). Bundled third-party code and
|
|
97
|
+
assets retain their own licenses. The separate commercial IDE is not part of
|
|
98
|
+
this distribution.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Building an app
|
|
2
|
+
|
|
3
|
+
Install the framework into the same environment that runs the app. Both the
|
|
4
|
+
package name and import name are `meltygui`. There is no `src` package and no
|
|
5
|
+
requirement to launch from the framework checkout.
|
|
6
|
+
|
|
7
|
+
When contributing reusable features to the library, also follow the
|
|
8
|
+
[ownership and render-function contracts](../CONTRIBUTING.md).
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
import meltygui
|
|
12
|
+
from meltygui.core.core_render import render_func
|
|
13
|
+
from meltygui.core.conversion.dict_conversion import DictConversion
|
|
14
|
+
|
|
15
|
+
class EditorState(DictConversion):
|
|
16
|
+
def __init__(self):
|
|
17
|
+
super().__init__()
|
|
18
|
+
self.text = "Hello"
|
|
19
|
+
|
|
20
|
+
@meltygui.glfw_window(name="Editor", app_id="my-editor", width=900, height=700)
|
|
21
|
+
@render_func(use_cache=False)
|
|
22
|
+
def editor(input_value=None, state: EditorState = None):
|
|
23
|
+
changed, state.text = meltygui.draw_text(state.text)
|
|
24
|
+
return changed, input_value
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The loop starts after the main module finishes defining its windows.
|
|
28
|
+
Injected state persists across frames and sessions. Call render functions every
|
|
29
|
+
frame, returning `(changed, value)`. For nested windows, pass `closable=True` and
|
|
30
|
+
an `open_requested` event to the same call every frame. Use `glfw_window=True` to
|
|
31
|
+
host a child in a native window; its lifecycle follows the same rules.
|
|
32
|
+
|
|
33
|
+
## Common imports
|
|
34
|
+
|
|
35
|
+
```python
|
|
36
|
+
from meltygui import draw_text, draw_voxels, glfw_window, imgui
|
|
37
|
+
from meltygui.core.core_render import render_func
|
|
38
|
+
from meltygui.core.rendering.core_decoration import defaults, no_save
|
|
39
|
+
from meltygui.core.conversion.dict_conversion import DictConversion
|
|
40
|
+
from meltygui.core.conversion.render_host import RenderHost
|
|
41
|
+
from meltygui.view.code_view import draw_function_live
|
|
42
|
+
from meltygui.graphics import Filter
|
|
43
|
+
from meltygui.chat import draw_chat_interface, register_chat_backend
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
`meltygui.persisted(name, factory, app_id=...)` retains app-owned objects in
|
|
47
|
+
addition to automatically retained view state. Keep an existing app's `app_id`
|
|
48
|
+
when migrating so its session file remains the same.
|
|
49
|
+
|
|
50
|
+
## Tiled editors
|
|
51
|
+
|
|
52
|
+
Mark an editor with `@render_func(multi_instance=True)` to offer it in every
|
|
53
|
+
tile's editor dropdown. Registration happens when its module is imported; the
|
|
54
|
+
flag does not open a window. A `Tile` in the app model owns the selected function
|
|
55
|
+
reference and its `input_value`. `Tile` and `Split` are `DictConversion` models,
|
|
56
|
+
so the normal app/session persistence saves the layout and function references.
|
|
57
|
+
|
|
58
|
+
```python
|
|
59
|
+
from meltygui.model.tile_model import Split, Tile
|
|
60
|
+
|
|
61
|
+
@render_func(multi_instance=True, tint=(0.2, 0.4, 0.6))
|
|
62
|
+
def draw_scene(input_value: Scene, state: ViewportState = None):
|
|
63
|
+
...
|
|
64
|
+
return changed, input_value
|
|
65
|
+
|
|
66
|
+
# Store this on your app model. A layout always has a Split root.
|
|
67
|
+
app_model.tiles = Split("x", [
|
|
68
|
+
Tile(render_func=draw_scene, input_value=scene),
|
|
69
|
+
Tile(render_func=draw_scene, input_value=scene),
|
|
70
|
+
])
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
The host declares `multi_instance_renderers=()` to receive the eligible
|
|
74
|
+
function references from core, and passes that parameter to `draw_tiles` along
|
|
75
|
+
with its injected `TileManagerState`. The selected editor receives the tile's
|
|
76
|
+
input unchanged: the app supplies a compatible value, or the editor accepts
|
|
77
|
+
`None` and uses injected model/state. Choosing another editor does not construct
|
|
78
|
+
or convert model data.
|
|
79
|
+
|
|
80
|
+
Each tile has independent injected view state. Switching editors and switching
|
|
81
|
+
back restores that tile's editor state. Splitting inherits the renderer and
|
|
82
|
+
shares the input value, while creating a new view instance. See
|
|
83
|
+
`examples/tile_manager.py` for a runnable demo with counters and notes.
|
|
84
|
+
|
|
85
|
+
Hosted renderers can declare `instance` and `layout_frame` parameters. These
|
|
86
|
+
receive the tile's existing conversion identity and its four shared frame edges,
|
|
87
|
+
so instance-targeted commands and nested column layouts stay within that tile.
|
|
88
|
+
An editor created by a corner split first renders when the drag ends, after its
|
|
89
|
+
initial size is known.
|
|
90
|
+
|
|
91
|
+
Files in an installed library are read-only to the live editor. App source roots
|
|
92
|
+
are registered from the app's entry point and decorated functions. An editable
|
|
93
|
+
framework checkout can also be edited; an ordinary wheel in site-packages cannot.
|
|
94
|
+
|
|
95
|
+
## Native binding imports
|
|
96
|
+
|
|
97
|
+
MeltyGUI uses a namespaced ImGui binding. Low-level app code should use
|
|
98
|
+
`from meltygui import imgui` (or `import meltygui_imgui as imgui`). Mixing contexts from
|
|
99
|
+
upstream `imgui` with MeltyGUI's binding is unsupported. The upstream packages
|
|
100
|
+
can coexist because the support wheels install different Python namespaces.
|
|
101
|
+
|
|
102
|
+
The optional tensor backend similarly uses `meltygui_pycuda`. A child project's
|
|
103
|
+
own `pycuda` dependency remains independent of MeltyGUI's internal backend.
|