neutralino-python 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- neutralino/__init__.py +88 -0
- neutralino/_catalog.py +297 -0
- neutralino/_data/LICENSE.neutralino-js-client +21 -0
- neutralino/_data/LICENSE.neutralinojs +1066 -0
- neutralino/_data/docs/cli.md +315 -0
- neutralino/_data/docs/custom-components.md +107 -0
- neutralino/_data/docs/custom-frontends.md +80 -0
- neutralino/_data/docs/desktop-helpers.md +296 -0
- neutralino/_data/docs/guide.md +131 -0
- neutralino/_data/docs/llms-full.txt +3921 -0
- neutralino/_data/docs/llms.txt +43 -0
- neutralino/_data/docs/manifests/components.json +20128 -0
- neutralino/_data/docs/manifests/examples.json +52 -0
- neutralino/_data/docs/manifests/native.json +3024 -0
- neutralino/_data/docs/manifests/schema.json +43 -0
- neutralino/_data/docs/manual-checklist.md +189 -0
- neutralino/_data/docs/packaging.md +252 -0
- neutralino/_data/docs/performance.md +15 -0
- neutralino/_data/docs/platforms.md +15 -0
- neutralino/_data/docs/reference/components.md +1685 -0
- neutralino/_data/docs/reference/native.md +148 -0
- neutralino/_data/docs/security.md +60 -0
- neutralino/_data/docs/ui.md +249 -0
- neutralino/_data/docs/updates.md +366 -0
- neutralino/_data/examples/README.md +6 -0
- neutralino/_data/examples/crud/README.md +36 -0
- neutralino/_data/examples/crud/app.py +243 -0
- neutralino/_data/examples/dashboard/README.md +36 -0
- neutralino/_data/examples/dashboard/app.py +367 -0
- neutralino/_data/examples/editor/README.md +35 -0
- neutralino/_data/examples/editor/app.py +190 -0
- neutralino/_data/examples/file-manager/README.md +40 -0
- neutralino/_data/examples/file-manager/app.py +120 -0
- neutralino/_data/examples/file-manager/frontend/index.html +20 -0
- neutralino/_data/examples/file-manager/frontend/main.js +55 -0
- neutralino/_data/examples/file-manager/frontend/neutralino.js +1 -0
- neutralino/_data/examples/file-manager/frontend/python-bridge.d.ts +207 -0
- neutralino/_data/examples/file-manager/frontend/python-bridge.mjs +854 -0
- neutralino/_data/examples/file-manager/frontend/style.css +4 -0
- neutralino/_data/examples/hybrid/README.md +48 -0
- neutralino/_data/examples/hybrid/app.py +80 -0
- neutralino/_data/examples/hybrid/components/counter.mjs +37 -0
- neutralino/_data/examples/hybrid/components/widget.mjs +23 -0
- neutralino/_data/examples/hybrid/styles.css +21 -0
- neutralino/_data/examples/hybrid/widget/package.json +20 -0
- neutralino/_data/examples/hybrid/widget/src/Widget.jsx +25 -0
- neutralino/_data/examples/hybrid/widget/vite.config.mjs +19 -0
- neutralino/_data/examples/monitor/README.md +36 -0
- neutralino/_data/examples/monitor/app.py +375 -0
- neutralino/_data/examples/react/README.md +90 -0
- neutralino/_data/examples/react/app.py +68 -0
- neutralino/_data/examples/react/frontend/.gitignore +5 -0
- neutralino/_data/examples/react/frontend/index.html +17 -0
- neutralino/_data/examples/react/frontend/package-lock.json +1232 -0
- neutralino/_data/examples/react/frontend/package.json +25 -0
- neutralino/_data/examples/react/frontend/scripts/prepare-bridge.mjs +49 -0
- neutralino/_data/examples/react/frontend/src/App.tsx +157 -0
- neutralino/_data/examples/react/frontend/src/backend.ts +21 -0
- neutralino/_data/examples/react/frontend/src/calls.test.ts +206 -0
- neutralino/_data/examples/react/frontend/src/calls.ts +306 -0
- neutralino/_data/examples/react/frontend/src/globals.d.ts +14 -0
- neutralino/_data/examples/react/frontend/src/hooks.ts +45 -0
- neutralino/_data/examples/react/frontend/src/main.tsx +13 -0
- neutralino/_data/examples/react/frontend/src/styles.css +11 -0
- neutralino/_data/examples/react/frontend/tsconfig.json +18 -0
- neutralino/_data/examples/react/frontend/vite.config.ts +9 -0
- neutralino/_data/examples/settings/README.md +38 -0
- neutralino/_data/examples/settings/app.py +440 -0
- neutralino/_data/examples/updater/.gitignore +2 -0
- neutralino/_data/examples/updater/README.md +82 -0
- neutralino/_data/examples/updater/app.py +160 -0
- neutralino/_data/examples/updater/app.toml +21 -0
- neutralino/_data/examples/updater/demo.py +107 -0
- neutralino/_data/examples/updater/requirements.txt +2 -0
- neutralino/_data/examples/updater/sources/github-private.toml +21 -0
- neutralino/_data/examples/updater/sources/github-public.toml +21 -0
- neutralino/_data/examples/vanilla/README.md +35 -0
- neutralino/_data/examples/vanilla/app.py +46 -0
- neutralino/_data/examples/vanilla/frontend/index.html +17 -0
- neutralino/_data/examples/vanilla/frontend/main.js +29 -0
- neutralino/_data/examples/vanilla/frontend/neutralino.js +1 -0
- neutralino/_data/examples/vanilla/frontend/python-bridge.d.ts +207 -0
- neutralino/_data/examples/vanilla/frontend/python-bridge.mjs +854 -0
- neutralino/_data/examples/vanilla/frontend/style.css +4 -0
- neutralino/_data/explorer/app.py +1328 -0
- neutralino/_data/explorer/catalogue.json +48179 -0
- neutralino/_data/explorer/explorer_previews.py +247 -0
- neutralino/_data/explorer/sources/native/always_on_top.py +55 -0
- neutralino/_data/explorer/sources/native/binary.py +125 -0
- neutralino/_data/explorer/sources/native/borderless.py +99 -0
- neutralino/_data/explorer/sources/native/broadcast.py +90 -0
- neutralino/_data/explorer/sources/native/config.py +78 -0
- neutralino/_data/explorer/sources/native/controls.py +140 -0
- neutralino/_data/explorer/sources/native/directory.py +163 -0
- neutralino/_data/explorer/sources/native/displays.py +75 -0
- neutralino/_data/explorer/sources/native/env.py +98 -0
- neutralino/_data/explorer/sources/native/events.py +124 -0
- neutralino/_data/explorer/sources/native/exec_command.py +79 -0
- neutralino/_data/explorer/sources/native/folder.py +70 -0
- neutralino/_data/explorer/sources/native/icon_badge.py +101 -0
- neutralino/_data/explorer/sources/native/image.py +119 -0
- neutralino/_data/explorer/sources/native/lifecycle.py +99 -0
- neutralino/_data/explorer/sources/native/locale.py +70 -0
- neutralino/_data/explorer/sources/native/main_menu.py +103 -0
- neutralino/_data/explorer/sources/native/message_box.py +101 -0
- neutralino/_data/explorer/sources/native/mouse.py +70 -0
- neutralino/_data/explorer/sources/native/multi_window.py +134 -0
- neutralino/_data/explorer/sources/native/notification.py +74 -0
- neutralino/_data/explorer/sources/native/open_external.py +81 -0
- neutralino/_data/explorer/sources/native/open_file.py +102 -0
- neutralino/_data/explorer/sources/native/paths.py +77 -0
- neutralino/_data/explorer/sources/native/print_snapshot.py +84 -0
- neutralino/_data/explorer/sources/native/read_write.py +192 -0
- neutralino/_data/explorer/sources/native/resources.py +110 -0
- neutralino/_data/explorer/sources/native/save_file.py +101 -0
- neutralino/_data/explorer/sources/native/server_mount.py +106 -0
- neutralino/_data/explorer/sources/native/sound.py +84 -0
- neutralino/_data/explorer/sources/native/spawn_process.py +128 -0
- neutralino/_data/explorer/sources/native/states.py +122 -0
- neutralino/_data/explorer/sources/native/stats_permissions.py +147 -0
- neutralino/_data/explorer/sources/native/storage.py +108 -0
- neutralino/_data/explorer/sources/native/system_info.py +115 -0
- neutralino/_data/explorer/sources/native/text.py +133 -0
- neutralino/_data/explorer/sources/native/trash.py +98 -0
- neutralino/_data/explorer/sources/native/tray.py +109 -0
- neutralino/_data/explorer/sources/native/watcher.py +167 -0
- neutralino/_data/explorer/sources/patterns/content_blocks.py +119 -0
- neutralino/_data/explorer/sources/patterns/dynamic_dashboard.py +121 -0
- neutralino/_data/explorer/sources/patterns/dynamic_form.py +120 -0
- neutralino/_data/explorer/sources/patterns/dynamic_table.py +109 -0
- neutralino/_data/explorer/sources/patterns/error_reporting.mjs +24 -0
- neutralino/_data/explorer/sources/patterns/error_reporting.py +124 -0
- neutralino/_data/explorer/sources/patterns/errors_timeouts.py +108 -0
- neutralino/_data/explorer/sources/patterns/feature_flags.py +99 -0
- neutralino/_data/explorer/sources/patterns/file_drop.py +126 -0
- neutralino/_data/explorer/sources/patterns/http_from_python.py +152 -0
- neutralino/_data/explorer/sources/patterns/keyboard_shortcuts.py +153 -0
- neutralino/_data/explorer/sources/patterns/live_config_reload.py +160 -0
- neutralino/_data/explorer/sources/patterns/logging.py +184 -0
- neutralino/_data/explorer/sources/patterns/long_tasks.py +121 -0
- neutralino/_data/explorer/sources/patterns/multi_window_sync.py +68 -0
- neutralino/_data/explorer/sources/patterns/navigation_from_backend.py +109 -0
- neutralino/_data/explorer/sources/patterns/onboarding.py +123 -0
- neutralino/_data/explorer/sources/patterns/optimistic_updates.py +89 -0
- neutralino/_data/explorer/sources/patterns/persistence.py +114 -0
- neutralino/_data/explorer/sources/patterns/python_calls_page.mjs +10 -0
- neutralino/_data/explorer/sources/patterns/python_calls_page.py +64 -0
- neutralino/_data/explorer/sources/patterns/python_push.py +84 -0
- neutralino/_data/explorer/sources/patterns/recurring_events.py +114 -0
- neutralino/_data/explorer/sources/patterns/roles_permissions.py +104 -0
- neutralino/_data/explorer/sources/patterns/scheduled_jobs.py +194 -0
- neutralino/_data/explorer/sources/patterns/settings_page.py +165 -0
- neutralino/_data/explorer/sources/patterns/sqlite.py +181 -0
- neutralino/_data/explorer/sources/patterns/streaming.py +102 -0
- neutralino/_data/explorer/sources/patterns/texts_i18n.py +81 -0
- neutralino/_data/explorer/sources/patterns/theme_from_backend.py +86 -0
- neutralino/_data/explorer/sources/patterns/updater.py +232 -0
- neutralino/_data/explorer/sources/workspace/calendar/app.py +547 -0
- neutralino/_data/explorer/sources/workspace/customers/app.py +467 -0
- neutralino/_data/explorer/sources/workspace/dashboard/README.md +36 -0
- neutralino/_data/explorer/sources/workspace/dashboard/app.py +367 -0
- neutralino/_data/explorer/sources/workspace/documents/app.py +511 -0
- neutralino/_data/explorer/sources/workspace/inbox/app.py +439 -0
- neutralino/_data/explorer/sources/workspace/orders/app.py +491 -0
- neutralino/_data/explorer/sources/workspace/reports/app.py +386 -0
- neutralino/_data/explorer/sources/workspace/settings/README.md +38 -0
- neutralino/_data/explorer/sources/workspace/settings/app.py +440 -0
- neutralino/_data/explorer/sources/workspace/system/README.md +36 -0
- neutralino/_data/explorer/sources/workspace/system/app.py +375 -0
- neutralino/_data/explorer/sources/workspace/tasks/app.py +462 -0
- neutralino/_data/renderer/LICENSES/@babel__runtime@7.29.17/LICENSE +22 -0
- neutralino/_data/renderer/LICENSES/@codemirror__autocomplete@6.20.4/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__commands@6.11.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-css@6.3.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-html@6.4.12/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-javascript@6.2.5/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-json@6.0.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-markdown@6.5.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-python@6.2.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-sql@6.10.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__lang-yaml@6.1.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__language@6.13.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__search@6.7.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__state@6.7.6/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@codemirror__view@6.44.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@dnd-kit__accessibility@3.1.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@dnd-kit__core@6.3.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@dnd-kit__sortable@10.0.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@dnd-kit__utilities@3.2.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@emoji-mart__data@1.2.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@floating-ui__core@1.8.0/LICENSE +20 -0
- neutralino/_data/renderer/LICENSES/@floating-ui__dom@1.8.0/LICENSE +20 -0
- neutralino/_data/renderer/LICENSES/@floating-ui__react-dom@2.1.9/LICENSE +20 -0
- neutralino/_data/renderer/LICENSES/@floating-ui__react@0.27.20/LICENSE +20 -0
- neutralino/_data/renderer/LICENSES/@floating-ui__utils@0.2.12/LICENSE +20 -0
- neutralino/_data/renderer/LICENSES/@lezer__common@1.5.7/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__css@1.3.9/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__highlight@1.2.5/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__html@1.3.13/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__javascript@1.5.7/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__json@1.0.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__lr@1.4.13/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__markdown@1.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__python@1.1.21/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@lezer__yaml@1.0.4/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__carousel@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__charts@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__code-highlight@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__core@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__dates@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__dropzone@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__emoji@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__hooks@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__lightbox@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__notifications@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__nprogress@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__schedule@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__spotlight@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__store@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@mantine__tiptap@9.8.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@marijn__find-cluster-break@1.0.4/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@reduxjs__toolkit@2.16.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@tabler__icons-react@3.55.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@tanstack__react-virtual@3.14.32/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@tanstack__virtual-core@3.19.17/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__core@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-blockquote@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-bold@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-code-block@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-code@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-document@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-hard-break@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-heading@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-horizontal-rule@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-italic@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-link@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-list@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-paragraph@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-strike@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-text@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extension-underline@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__extensions@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__react@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/@tiptap__starter-kit@3.35.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/attr-accept@4.0.1/LICENSE +22 -0
- neutralino/_data/renderer/LICENSES/clsx@2.1.1/license +9 -0
- neutralino/_data/renderer/LICENSES/crelt@1.0.7/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/d3-array@3.2.5/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-color@3.1.1/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-format@3.1.3/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-interpolate@3.0.2/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-path@3.1.1/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-scale@4.0.3/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-shape@3.2.1/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-time-format@4.1.1/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/d3-time@3.1.1/LICENSE +13 -0
- neutralino/_data/renderer/LICENSES/dayjs@1.11.23/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/decimal.js-light@2.5.1/LICENCE.md +23 -0
- neutralino/_data/renderer/LICENSES/diff@9.0.0/LICENSE +29 -0
- neutralino/_data/renderer/LICENSES/dompurify@3.5.1/LICENSE +202 -0
- neutralino/_data/renderer/LICENSES/dompurify@3.5.1/LICENSE-MPL +373 -0
- neutralino/_data/renderer/LICENSES/embla-carousel-react@8.6.0/MIT-embla-carousel.txt +21 -0
- neutralino/_data/renderer/LICENSES/embla-carousel-reactive-utils@8.6.0/MIT-embla-carousel.txt +21 -0
- neutralino/_data/renderer/LICENSES/embla-carousel@8.6.0/MIT-embla-carousel.txt +21 -0
- neutralino/_data/renderer/LICENSES/es-toolkit@1.53.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/es-toolkit@1.53.2/NOTICE +39 -0
- neutralino/_data/renderer/LICENSES/eventemitter3@5.0.4/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/fast-equals@5.4.7/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/file-selector@5.0.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/get-nonce@1.0.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/immer@11.2.14/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/linkifyjs@4.4.0/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/marked@18.4.0/LICENSE +44 -0
- neutralino/_data/renderer/LICENSES/neutralino.js@6.11.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/orderedmap@2.1.1/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/packages.json +1838 -0
- neutralino/_data/renderer/LICENSES/prosemirror-commands@1.7.2/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-dropcursor@1.8.4/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-gapcursor@1.4.1/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-history@1.5.2/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-keymap@1.2.3/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-model@1.25.13/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-schema-list@1.6.1/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-state@1.4.4/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-transform@1.12.7/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/prosemirror-view@1.44.0/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/react-dom@19.3.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/react-dropzone@20.1.4/LICENSE +22 -0
- neutralino/_data/renderer/LICENSES/react-is@19.3.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/react-number-format@5.4.5/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/react-redux@9.3.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/react-remove-scroll-bar@2.3.8/MIT-react-remove-scroll-bar.txt +21 -0
- neutralino/_data/renderer/LICENSES/react-remove-scroll@2.7.2/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/react-style-singleton@2.2.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/react-transition-group@4.4.5/LICENSE +30 -0
- neutralino/_data/renderer/LICENSES/react@19.3.1/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/recharts@3.11.3/LICENSE +22 -0
- neutralino/_data/renderer/LICENSES/redux-thunk@3.1.0/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/redux@5.0.1/LICENSE.md +21 -0
- neutralino/_data/renderer/LICENSES/reselect@5.2.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/rolldown@1.3.4/LICENSE +25 -0
- neutralino/_data/renderer/LICENSES/rope-sequence@1.3.4/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/rrule@2.8.1/LICENCE +65 -0
- neutralino/_data/renderer/LICENSES/scheduler@0.28.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/style-mod@4.1.5/LICENSE +19 -0
- neutralino/_data/renderer/LICENSES/tiny-invariant@1.3.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/tslib@2.9.1/LICENSE.txt +12 -0
- neutralino/_data/renderer/LICENSES/use-callback-ref@1.3.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/use-sidecar@1.1.3/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/use-sync-external-store@1.7.0/LICENSE +21 -0
- neutralino/_data/renderer/LICENSES/victory-vendor@38.1.1/LICENSE.txt +150 -0
- neutralino/_data/renderer/LICENSES/vite@8.4.1/LICENSE.md +2320 -0
- neutralino/_data/renderer/LICENSES/w3c-keyname@2.2.8/LICENSE +19 -0
- neutralino/_data/renderer/assets/IconGripVertical-BlJrWVuo.js +1 -0
- neutralino/_data/renderer/assets/carousel-D1j1SkWR.css +1 -0
- neutralino/_data/renderer/assets/carousel-DniHwTLK.js +1 -0
- neutralino/_data/renderer/assets/chunk-CCkLOSkX.css +1 -0
- neutralino/_data/renderer/assets/chunk-Du0h7lB-.js +9 -0
- neutralino/_data/renderer/assets/codehighlight-CCe_blv1.js +10 -0
- neutralino/_data/renderer/assets/codehighlight-THJMNDh8.css +1 -0
- neutralino/_data/renderer/assets/codemirror-CinrNxVJ.js +2 -0
- neutralino/_data/renderer/assets/css-CMUk25uq.js +1 -0
- neutralino/_data/renderer/assets/dist-70Le0T2N.js +1 -0
- neutralino/_data/renderer/assets/dist-BCHbQlae.js +11 -0
- neutralino/_data/renderer/assets/dist-BXts23GT.js +1 -0
- neutralino/_data/renderer/assets/dist-D2RX2UgP.js +23 -0
- neutralino/_data/renderer/assets/dist-DikJK2lp.js +1 -0
- neutralino/_data/renderer/assets/dist-acbbRM1z.js +1 -0
- neutralino/_data/renderer/assets/dnd-DaaaVala.js +5 -0
- neutralino/_data/renderer/assets/dropzone-CeqF5SZx.js +1 -0
- neutralino/_data/renderer/assets/dropzone-aPCBPjDN.css +1 -0
- neutralino/_data/renderer/assets/embla-carousel-react.esm-CbyYjwMN.js +1 -0
- neutralino/_data/renderer/assets/emoji-BfRPfoVw.js +1 -0
- neutralino/_data/renderer/assets/emoji-DV8OzU1E.css +1 -0
- neutralino/_data/renderer/assets/esm-C5ZYjSBQ.js +82 -0
- neutralino/_data/renderer/assets/highlight-CB6hGb5A.js +3 -0
- neutralino/_data/renderer/assets/highlight-Dlb5DJwL.css +1 -0
- neutralino/_data/renderer/assets/html-Dad3kwIa.js +1 -0
- neutralino/_data/renderer/assets/icon-chunk-X3Kr0nh-.js +1 -0
- neutralino/_data/renderer/assets/index-CU0HB-J7.js +69 -0
- neutralino/_data/renderer/assets/index-TWpF4Lef.css +1 -0
- neutralino/_data/renderer/assets/javascript-BQb8vpw3.js +1 -0
- neutralino/_data/renderer/assets/json-BCFmxlML.js +1 -0
- neutralino/_data/renderer/assets/lightbox-BHtgbsUV.js +1 -0
- neutralino/_data/renderer/assets/lightbox-BzKDpkAD.css +1 -0
- neutralino/_data/renderer/assets/markdown-DSuAylvy.js +5 -0
- neutralino/_data/renderer/assets/markdown-DjaNWMgH.js +77 -0
- neutralino/_data/renderer/assets/python-pdbIAveZ.js +9 -0
- neutralino/_data/renderer/assets/richtext-DIAsHMuK.css +1 -0
- neutralino/_data/renderer/assets/richtext-Z6fG9G2_.js +137 -0
- neutralino/_data/renderer/assets/spotlight-Ccstaz1-.css +1 -0
- neutralino/_data/renderer/assets/spotlight-knlyJw_A.js +1 -0
- neutralino/_data/renderer/assets/sql-DLoQFEde.js +2 -0
- neutralino/_data/renderer/assets/with-selector-BOM9_OlN.js +1 -0
- neutralino/_data/renderer/assets/yaml-BJNzokSe.js +1 -0
- neutralino/_data/renderer/index.html +22 -0
- neutralino/_data/renderer/manifest.json +202 -0
- neutralino/_data/renderer/neutralino.js +1 -0
- neutralino/_data/renderer/shared/mantine-core.mjs +5 -0
- neutralino/_data/renderer/shared/mantine-hooks.mjs +5 -0
- neutralino/_data/renderer/shared/react-dom-client.mjs +5 -0
- neutralino/_data/renderer/shared/react-dom.mjs +6 -0
- neutralino/_data/renderer/shared/react-jsx-runtime.mjs +5 -0
- neutralino/_data/renderer/shared/react.mjs +6 -0
- neutralino/_data/skills/README.md +6 -0
- neutralino/_data/skills/neutralino-app-patterns/SKILL.md +101 -0
- neutralino/_data/skills/neutralino-app-patterns/references/dashboards-and-background-work.md +55 -0
- neutralino/_data/skills/neutralino-app-patterns/references/storage-and-settings.md +57 -0
- neutralino/_data/skills/neutralino-app-patterns/references/tables-and-crud.md +81 -0
- neutralino/_data/skills/neutralino-frontend/SKILL.md +121 -0
- neutralino/_data/skills/neutralino-frontend/references/bridge.md +63 -0
- neutralino/_data/skills/neutralino-frontend/references/custom-components.md +84 -0
- neutralino/_data/skills/neutralino-frontend/references/frameworks.md +61 -0
- neutralino/_data/skills/neutralino-maintenance/SKILL.md +85 -0
- neutralino/_data/skills/neutralino-maintenance/references/platforms-and-gates.md +35 -0
- neutralino/_data/skills/neutralino-maintenance/references/records.md +38 -0
- neutralino/_data/skills/neutralino-maintenance/references/review-process.md +36 -0
- neutralino/_data/skills/neutralino-native/SKILL.md +107 -0
- neutralino/_data/skills/neutralino-native/references/api-conventions.md +72 -0
- neutralino/_data/skills/neutralino-native/references/desktop-helpers.md +53 -0
- neutralino/_data/skills/neutralino-native/references/permissions-windows.md +53 -0
- neutralino/_data/skills/neutralino-packaging/SKILL.md +99 -0
- neutralino/_data/skills/neutralino-packaging/references/build-layout.md +51 -0
- neutralino/_data/skills/neutralino-packaging/references/managed-install.md +59 -0
- neutralino/_data/skills/neutralino-packaging/references/templates-and-config.md +63 -0
- neutralino/_data/skills/neutralino-python/SKILL.md +109 -0
- neutralino/_data/skills/neutralino-python/references/architecture.md +53 -0
- neutralino/_data/skills/neutralino-python/references/cli.md +60 -0
- neutralino/_data/skills/neutralino-python/references/platforms-security.md +44 -0
- neutralino/_data/skills/neutralino-rpc/SKILL.md +114 -0
- neutralino/_data/skills/neutralino-rpc/references/errors-and-limits.md +44 -0
- neutralino/_data/skills/neutralino-rpc/references/expose-and-context.md +74 -0
- neutralino/_data/skills/neutralino-rpc/references/streams-and-cancellation.md +53 -0
- neutralino/_data/skills/neutralino-ui/SKILL.md +115 -0
- neutralino/_data/skills/neutralino-ui/references/components-and-tree.md +74 -0
- neutralino/_data/skills/neutralino-ui/references/state-forms-events.md +85 -0
- neutralino/_data/skills/neutralino-ui/references/themes-profiles-assets.md +105 -0
- neutralino/_data/skills/neutralino-updates/SKILL.md +94 -0
- neutralino/_data/skills/neutralino-updates/references/config-and-api.md +80 -0
- neutralino/_data/skills/neutralino-updates/references/releases-and-install.md +77 -0
- neutralino/_data/skills/neutralino-updates/references/security-rollback.md +48 -0
- neutralino/_data/ui/contracts.json +32927 -0
- neutralino/_data/ui/emoji.json +1 -0
- neutralino/_data/upstream-lock.json +97 -0
- neutralino/_managed.py +1099 -0
- neutralino/_paths.py +220 -0
- neutralino/_platform.py +150 -0
- neutralino/_scaffold.py +344 -0
- neutralino/api/_base.py +99 -0
- neutralino/api/_custom.py +1350 -0
- neutralino/api/_dec.py +21 -0
- neutralino/api/_enc.py +80 -0
- neutralino/api/app.py +119 -0
- neutralino/api/clipboard.py +101 -0
- neutralino/api/computer.py +261 -0
- neutralino/api/custom.py +36 -0
- neutralino/api/debug.py +41 -0
- neutralino/api/extensions.py +57 -0
- neutralino/api/filesystem.py +633 -0
- neutralino/api/net.py +22 -0
- neutralino/api/os.py +508 -0
- neutralino/api/resources.py +124 -0
- neutralino/api/server.py +66 -0
- neutralino/api/storage.py +98 -0
- neutralino/api/types.py +342 -0
- neutralino/api/updater.py +22 -0
- neutralino/api/window.py +397 -0
- neutralino/application.py +1260 -0
- neutralino/bundle.py +187 -0
- neutralino/cli.py +629 -0
- neutralino/client.py +496 -0
- neutralino/config.py +671 -0
- neutralino/devtools.py +1973 -0
- neutralino/errors.py +142 -0
- neutralino/events.py +579 -0
- neutralino/execution.py +293 -0
- neutralino/extension.py +134 -0
- neutralino/frontend/python-bridge.d.ts +207 -0
- neutralino/frontend/python-bridge.mjs +854 -0
- neutralino/protocol.py +456 -0
- neutralino/py.typed +0 -0
- neutralino/rpc.py +1625 -0
- neutralino/runtime.py +591 -0
- neutralino/supervisor.py +866 -0
- neutralino/sync_client.py +376 -0
- neutralino/templates/default/app.py +32 -0
- neutralino/templates/default/frontend/app.js +28 -0
- neutralino/templates/default/frontend/index.html +26 -0
- neutralino/templates/default/frontend/neutralino.js +1 -0
- neutralino/templates/default/frontend/styles.css +8 -0
- neutralino/templates/default/gitignore.txt +3 -0
- neutralino/templates/default/neutralino.config.json +25 -0
- neutralino/templates/hybrid/README.md +17 -0
- neutralino/templates/hybrid/app.py +49 -0
- neutralino/templates/hybrid/components/counter.mjs +37 -0
- neutralino/templates/hybrid/styles.css +21 -0
- neutralino/templates/python-ui/README.md +15 -0
- neutralino/templates/python-ui/app.py +44 -0
- neutralino/templates/python-ui/gitignore.txt +3 -0
- neutralino/templates/python-ui/requirements.txt +4 -0
- neutralino/templates/react/README.md +28 -0
- neutralino/templates/react/app.py +52 -0
- neutralino/templates/react/components/widget.mjs +23 -0
- neutralino/templates/react/widget/package.json +20 -0
- neutralino/templates/react/widget/src/Widget.jsx +25 -0
- neutralino/templates/react/widget/vite.config.mjs +19 -0
- neutralino/transport.py +661 -0
- neutralino/types.py +93 -0
- neutralino/ui/__init__.py +139 -0
- neutralino/ui/_app.py +1529 -0
- neutralino/ui/_assets.py +407 -0
- neutralino/ui/_bases.py +1210 -0
- neutralino/ui/_behaviours.py +1066 -0
- neutralino/ui/_charts.py +732 -0
- neutralino/ui/_component.py +882 -0
- neutralino/ui/_dates.py +168 -0
- neutralino/ui/_desktop.py +879 -0
- neutralino/ui/_events.py +192 -0
- neutralino/ui/_filters.py +427 -0
- neutralino/ui/_forms.py +282 -0
- neutralino/ui/_protocol.py +201 -0
- neutralino/ui/_schedule.py +543 -0
- neutralino/ui/_security.py +106 -0
- neutralino/ui/_session.py +969 -0
- neutralino/ui/_state.py +199 -0
- neutralino/ui/_tables.py +256 -0
- neutralino/ui/_theme.py +154 -0
- neutralino/ui/blocks/__init__.py +19 -0
- neutralino/ui/blocks/_data.py +2239 -0
- neutralino/ui/blocks/_interactive.py +622 -0
- neutralino/ui/blocks/_layout.py +2967 -0
- neutralino/ui/components/__init__.py +81 -0
- neutralino/ui/components/_dates.py +879 -0
- neutralino/ui/components/_editors.py +217 -0
- neutralino/ui/components/_extensions.py +790 -0
- neutralino/ui/components/_extras.py +303 -0
- neutralino/ui/components/_generated.py +30565 -0
- neutralino/ui/components/_types.py +17 -0
- neutralino/ui/schema.py +824 -0
- neutralino/ui/validators.py +362 -0
- neutralino/updates/__init__.py +96 -0
- neutralino/updates/_http.py +320 -0
- neutralino/updates/_layout.py +762 -0
- neutralino/updates/archive.py +216 -0
- neutralino/updates/config.py +256 -0
- neutralino/updates/errors.py +97 -0
- neutralino/updates/install.sh.in +201 -0
- neutralino/updates/launcher.py +18 -0
- neutralino/updates/manager.py +808 -0
- neutralino/updates/manifest.py +196 -0
- neutralino/updates/release.py +314 -0
- neutralino/updates/semver.py +84 -0
- neutralino/updates/sources.py +392 -0
- neutralino/windows.py +316 -0
- neutralino_python-0.1.0.dist-info/METADATA +121 -0
- neutralino_python-0.1.0.dist-info/RECORD +521 -0
- neutralino_python-0.1.0.dist-info/WHEEL +4 -0
- neutralino_python-0.1.0.dist-info/entry_points.txt +3 -0
- neutralino_python-0.1.0.dist-info/licenses/LICENSE +21 -0
- neutralino_python-0.1.0.dist-info/licenses/THIRD_PARTY_NOTICES.md +16 -0
- neutralino_python-0.1.0.dist-info/licenses/src/neutralino/_data/renderer/LICENSES/packages.json +1838 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$defs": {
|
|
3
|
+
"components": {
|
|
4
|
+
"items": {
|
|
5
|
+
"required": [
|
|
6
|
+
"name",
|
|
7
|
+
"family",
|
|
8
|
+
"description",
|
|
9
|
+
"props",
|
|
10
|
+
"events",
|
|
11
|
+
"slots"
|
|
12
|
+
],
|
|
13
|
+
"type": "object"
|
|
14
|
+
},
|
|
15
|
+
"type": "array"
|
|
16
|
+
},
|
|
17
|
+
"examples": {
|
|
18
|
+
"items": {
|
|
19
|
+
"required": [
|
|
20
|
+
"name",
|
|
21
|
+
"description",
|
|
22
|
+
"export"
|
|
23
|
+
],
|
|
24
|
+
"type": "object"
|
|
25
|
+
},
|
|
26
|
+
"type": "array"
|
|
27
|
+
},
|
|
28
|
+
"native": {
|
|
29
|
+
"items": {
|
|
30
|
+
"required": [
|
|
31
|
+
"id",
|
|
32
|
+
"status",
|
|
33
|
+
"python",
|
|
34
|
+
"args"
|
|
35
|
+
],
|
|
36
|
+
"type": "object"
|
|
37
|
+
},
|
|
38
|
+
"type": "array"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
42
|
+
"title": "neutralino-python offline manifests"
|
|
43
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# Manual GUI checklist
|
|
2
|
+
|
|
3
|
+
Generated from `reports/manual-checklist.json` by `tools/build_reports.py`. Every item is UNVERIFIED until someone runs it and records the result in the JSON file (`status`, `observed`, `date`, `evidence`).
|
|
4
|
+
|
|
5
|
+
## MC-PRINT (unverified)
|
|
6
|
+
|
|
7
|
+
Covers: window.print
|
|
8
|
+
Platforms: linux-x11, linux-wayland, windows, macos
|
|
9
|
+
|
|
10
|
+
Steps:
|
|
11
|
+
|
|
12
|
+
1. From the repository root: `EXPLORER_ALLOW_DESKTOP=1 uv run python examples/api_explorer/app.py` (desktop entries are refused with EXPLORER_DESKTOP_BLOCKED without it)
|
|
13
|
+
2. In the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call': window.print
|
|
14
|
+
3. In the print dialog choose 'Print to File' (PDF) and save it to a temp folder
|
|
15
|
+
|
|
16
|
+
Expected: The system print dialog opens over the app window; the call resolves after the dialog closes; the PDF contains the page.
|
|
17
|
+
|
|
18
|
+
## MC-WM-STATES (unverified)
|
|
19
|
+
|
|
20
|
+
Covers: window.maximize, window.unmaximize, window.isMaximized, window.minimize, window.unminimize, window.isMinimized, window.setFullScreen, window.exitFullScreen, window.isFullScreen, window.setAlwaysOnTop, window.setBorderless, window.center, window.move
|
|
21
|
+
Platforms: linux-x11, linux-wayland, windows, macos
|
|
22
|
+
|
|
23
|
+
Steps:
|
|
24
|
+
|
|
25
|
+
1. On a desktop with a window manager, from the repository root: `uv run python examples/api_explorer/app.py` (no opt-in needed: these entries only need their confirmation box)
|
|
26
|
+
2. In the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call', for each window entry in turn
|
|
27
|
+
3. window.maximize, then window.isMaximized (expect true); window.unmaximize; window.minimize, restore from the taskbar, window.isMinimized (expect false); window.setFullScreen, window.isFullScreen (expect true), window.exitFullScreen; window.setAlwaysOnTop with on_top=true, then false; window.setBorderless with borderless=true, then false; window.move to x=100, y=100; window.center
|
|
28
|
+
|
|
29
|
+
Expected: Each state is visible and the is* getters report it. Under Xvfb (no window manager) the routes run and answer but the states do not change; on Wayland move/center are ignored by the compositor.
|
|
30
|
+
|
|
31
|
+
## MC-ICON (unverified)
|
|
32
|
+
|
|
33
|
+
Covers: window.setIcon, window.focus
|
|
34
|
+
Platforms: linux-x11, linux-wayland, windows, macos
|
|
35
|
+
|
|
36
|
+
Steps:
|
|
37
|
+
|
|
38
|
+
1. On a desktop with a window manager, from the repository root: `uv run python examples/multi_window/app.py` (opens the main window and a settings window)
|
|
39
|
+
2. Put a PNG larger than 1 KiB (e.g. a 64x64 app icon) in `examples/multi_window/frontend/dist/` as `icon.png`; from a Python shell attached to the app, or by adding a temporary `await app.window.set_icon('/icon.png')` after start, set the icon
|
|
40
|
+
3. Click into the settings window, then call `await app.window.focus()` on the main window and type a key; then focus the settings window with `secondary.focus()` and type a key
|
|
41
|
+
|
|
42
|
+
Expected: The taskbar/title bar shows the new icon. Each focus() call raises that window and keyboard input goes to it alone. Under the private Xvfb (no window manager) no _NET_WM_ICON was observed and only the first focus() took X input focus (2026-12-03), so these are manual.
|
|
43
|
+
|
|
44
|
+
## MC-DIALOGS (unverified)
|
|
45
|
+
|
|
46
|
+
Covers: os.showOpenDialog, os.showFolderDialog, os.showSaveDialog, os.showMessageBox
|
|
47
|
+
Platforms: linux-kde, linux-gnome, windows, macos
|
|
48
|
+
|
|
49
|
+
Steps:
|
|
50
|
+
|
|
51
|
+
1. From the repository root: `EXPLORER_ALLOW_DESKTOP=1 uv run python examples/api_explorer/app.py` (desktop entries are refused with EXPLORER_DESKTOP_BLOCKED without it)
|
|
52
|
+
2. In the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call': os.showOpenDialog, os.showFolderDialog, os.showSaveDialog (leave default_path empty or use a name inside the temp root shown in the header)
|
|
53
|
+
3. Pick a file, a folder and a save path in the three dialogs
|
|
54
|
+
4. os.showMessageBox with title 'Check', content 'Press Yes', choice YES_NO; press Yes, run it again and press No
|
|
55
|
+
|
|
56
|
+
Expected: Native dialogs (kdialog on KDE, zenity on GNOME) appear; selections come back as paths; the message box returns YES / NO. Automated tests prove the routes fire the helper through recording stubs and decode its output.
|
|
57
|
+
|
|
58
|
+
## MC-NOTIFY (unverified)
|
|
59
|
+
|
|
60
|
+
Covers: os.showNotification
|
|
61
|
+
Platforms: linux-kde, linux-gnome, windows, macos
|
|
62
|
+
|
|
63
|
+
Steps:
|
|
64
|
+
|
|
65
|
+
1. From the repository root: `EXPLORER_ALLOW_DESKTOP=1 uv run python examples/api_explorer/app.py` (desktop entries are refused with EXPLORER_DESKTOP_BLOCKED without it)
|
|
66
|
+
2. In the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call': os.showNotification with title 'Hello', content 'From the explorer', icon INFO
|
|
67
|
+
|
|
68
|
+
Expected: A desktop notification appears. Automated tests prove the helper is invoked with the title and body.
|
|
69
|
+
|
|
70
|
+
## MC-TRAY (unverified)
|
|
71
|
+
|
|
72
|
+
Covers: os.setTray
|
|
73
|
+
Platforms: linux-kde, linux-gnome+appindicator, windows, macos
|
|
74
|
+
|
|
75
|
+
Steps:
|
|
76
|
+
|
|
77
|
+
1. From the repository root: `EXPLORER_ALLOW_DESKTOP=1 uv run python examples/api_explorer/app.py` (desktop entries are refused with EXPLORER_DESKTOP_BLOCKED without it)
|
|
78
|
+
2. In the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call': os.setTray with menu_items [{"id": "one", "text": "One"}, {"id": "two", "text": "Two"}] (leave icon empty or give a .png path inside the temp root)
|
|
79
|
+
3. Click 'One' in the panel's tray menu and watch the Event monitor
|
|
80
|
+
|
|
81
|
+
Expected: Tray icon visible; clicking an item emits trayMenuItemClicked with its id. Automated runs (no session bus) only prove the route answers.
|
|
82
|
+
|
|
83
|
+
## MC-OPEN (unverified)
|
|
84
|
+
|
|
85
|
+
Covers: os.open
|
|
86
|
+
Platforms: linux, windows, macos
|
|
87
|
+
|
|
88
|
+
Steps:
|
|
89
|
+
|
|
90
|
+
1. From the repository root: `EXPLORER_ALLOW_DESKTOP=1 uv run python examples/api_explorer/app.py` (desktop entries are refused with EXPLORER_DESKTOP_BLOCKED without it)
|
|
91
|
+
2. In the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call': os.open with url https://neutralino.js.org
|
|
92
|
+
|
|
93
|
+
Expected: The default browser opens the URL. Automated tests prove xdg-open is invoked with the URL (stub).
|
|
94
|
+
|
|
95
|
+
## MC-TRASH-HOME (unverified)
|
|
96
|
+
|
|
97
|
+
Covers: os.trashItem
|
|
98
|
+
Platforms: linux, windows, macos
|
|
99
|
+
|
|
100
|
+
Steps:
|
|
101
|
+
|
|
102
|
+
1. From the repository root: `EXPLORER_ALLOW_DESKTOP=1 uv run python examples/api_explorer/app.py` (desktop entries are refused with EXPLORER_DESKTOP_BLOCKED without it)
|
|
103
|
+
2. In the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call': filesystem.writeFile with path trash-test.txt and data 'trash me' (the path is relative to the temp root shown in the header; the explorer refuses paths outside it, so ~/... cannot be used)
|
|
104
|
+
3. os.trashItem with path trash-test.txt
|
|
105
|
+
4. Open the desktop trash in the file manager, check trash-test.txt is there with its original location `<temp root>/trash-test.txt`, and restore it before closing the explorer (the temp root is deleted at shutdown)
|
|
106
|
+
5. Back in the explorer: filesystem.readFile with path trash-test.txt returns 'trash me'
|
|
107
|
+
|
|
108
|
+
Expected: The file shows up in the user's desktop trash with its original location inside the explorer temp root and can be restored. Automated tests prove the freedesktop trash layout inside a sandbox XDG_DATA_HOME.
|
|
109
|
+
|
|
110
|
+
## MC-DRAG (unverified)
|
|
111
|
+
|
|
112
|
+
Covers: window.beginDrag, window.setDraggableRegion, window.unsetDraggableRegion
|
|
113
|
+
Platforms: linux-x11, linux-wayland, windows, macos
|
|
114
|
+
|
|
115
|
+
Steps:
|
|
116
|
+
|
|
117
|
+
1. No example has a draggable region, so scaffold one: `uv run neutralino init <tmp>/mc-drag`
|
|
118
|
+
2. In `<tmp>/mc-drag/neutralino.config.json` add `"borderless": true` to `modes.window` (its nativeAllowList already allows window.*)
|
|
119
|
+
3. In `<tmp>/mc-drag/frontend/index.html` add, as the first child of `<main>`: `<div id="drag-strip">Drag here <button id="drag-keep" type="button">Release region</button></div>`
|
|
120
|
+
4. In `<tmp>/mc-drag/frontend/app.js`, right after `Neutralino.init();`, add: `Neutralino.window.setDraggableRegion('drag-strip', { exclude: ['drag-keep'] }); document.getElementById('drag-keep').addEventListener('click', () => Neutralino.window.unsetDraggableRegion('drag-strip'));`
|
|
121
|
+
5. From the repository root: `uv run python <tmp>/mc-drag/app.py`
|
|
122
|
+
6. Drag the window by the 'Drag here' strip; click 'Release region'; try to drag the strip again
|
|
123
|
+
|
|
124
|
+
Expected: The borderless window follows the pointer while the strip is dragged; the excluded button stays clickable and does not start a drag; after 'Release region' (unsetDraggableRegion) dragging the strip no longer moves the window.
|
|
125
|
+
|
|
126
|
+
## MC-DROP (unverified)
|
|
127
|
+
|
|
128
|
+
Covers: filesDropped
|
|
129
|
+
Platforms: linux, windows, macos
|
|
130
|
+
|
|
131
|
+
Steps:
|
|
132
|
+
|
|
133
|
+
1. The explorer takes config only through `create_app(config=...)`. From the repository root run: `uv run python -c "import asyncio, runpy; m = runpy.run_path('examples/api_explorer/app.py'); asyncio.run(m['create_app'](config={'modes': {'window': {'emitDropEvents': True}}}).run())"`
|
|
134
|
+
2. Drag two files from the desktop file manager onto the explorer window
|
|
135
|
+
|
|
136
|
+
Expected: filesDropped appears in the Event monitor (source native) with both paths.
|
|
137
|
+
|
|
138
|
+
## MC-MENU-MACOS (unverified)
|
|
139
|
+
|
|
140
|
+
Covers: window.setMainMenu
|
|
141
|
+
Platforms: macos
|
|
142
|
+
|
|
143
|
+
Steps:
|
|
144
|
+
|
|
145
|
+
1. On macOS, from the repository root: `uv run python examples/api_explorer/app.py` (no opt-in needed: these entries only need their confirmation box)
|
|
146
|
+
2. In the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call': window.setMainMenu with menu [{"id": "file", "text": "File", "menuItems": [{"id": "hello", "text": "Hello"}]}]
|
|
147
|
+
3. Click File > Hello in the menu bar and watch the Event monitor
|
|
148
|
+
|
|
149
|
+
Expected: The menu bar shows the items; mainMenuItemClicked arrives with id hello. Linux is covered by MC-MENU-LINUX.
|
|
150
|
+
|
|
151
|
+
## MC-MENU-LINUX (unverified)
|
|
152
|
+
|
|
153
|
+
Covers: window.setMainMenu
|
|
154
|
+
Platforms: linux-x11, linux-wayland
|
|
155
|
+
|
|
156
|
+
Steps:
|
|
157
|
+
|
|
158
|
+
1. On a Linux desktop, from the repository root: `uv run python examples/api_explorer/app.py` (no opt-in needed: window.setMainMenu only needs its confirmation box)
|
|
159
|
+
2. In the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call': window.setMainMenu with menu [{"id": "file", "text": "File", "menuItems": [{"id": "hello", "text": "Hello"}]}]
|
|
160
|
+
3. Click File > Hello in the GTK menu bar and watch the Event monitor
|
|
161
|
+
|
|
162
|
+
Expected: A GTK menu bar with File > Hello appears above the page (upstream v6.11.0 inserts it on Linux, window.cpp setMainMenu); clicking Hello emits mainMenuItemClicked with id hello in the Event monitor.
|
|
163
|
+
|
|
164
|
+
## MC-INPUT-LIVE (unverified)
|
|
165
|
+
|
|
166
|
+
Covers: computer.setMousePosition, computer.sendKey, computer.setMouseGrabbing
|
|
167
|
+
Platforms: linux-x11, windows, macos
|
|
168
|
+
|
|
169
|
+
Steps:
|
|
170
|
+
|
|
171
|
+
1. Only in an isolated VM: `EXPLORER_ALLOW_DESKTOP=1 uv run python examples/api_explorer/app.py` (input simulation is refused without it)
|
|
172
|
+
2. In the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call': computer.setMousePosition with x=100, y=100
|
|
173
|
+
3. Select computer.sendKey, type 38 into `key`, tick the confirmation box, click into the empty `state` field and press Enter: that submits the form and leaves the cursor in `state`
|
|
174
|
+
|
|
175
|
+
Expected: The pointer moves to (100,100); the key's character appears in the `state` field (on X11, keycode 38 is 'a' with a US layout). Verified automatically inside the private Xvfb display; under Wayland sendKey/setMousePosition return errors by design.
|
|
176
|
+
|
|
177
|
+
## MC-CLIPBOARD-LIVE (unverified)
|
|
178
|
+
|
|
179
|
+
Covers: clipboard.writeText, clipboard.readText, clipboard.writeImage, clipboard.readImage, clipboard.writeHTML, clipboard.readHTML, clipboard.clear, clipboard.getFormat
|
|
180
|
+
Platforms: linux-x11, linux-wayland, windows, macos
|
|
181
|
+
|
|
182
|
+
Steps:
|
|
183
|
+
|
|
184
|
+
1. From the repository root: `EXPLORER_ALLOW_DESKTOP=1 uv run python examples/api_explorer/app.py` (desktop entries are refused with EXPLORER_DESKTOP_BLOCKED without it); clipboard writes are desktop entries, reads only need confirmation
|
|
185
|
+
2. Copy an image in an image viewer, then in the explorer, type the entry id into 'Filter entries' and select it; tick 'I confirm this call may change state' before 'Run through explorer_call': clipboard.getFormat (expect image), clipboard.readImage with format rgba
|
|
186
|
+
3. clipboard.writeText with data 'neutralino clipboard check', paste into a text editor
|
|
187
|
+
4. clipboard.writeHTML with data `<b>bold</b>`, clipboard.readHTML; clipboard.clear, clipboard.getFormat
|
|
188
|
+
|
|
189
|
+
Expected: Image dimensions and pixels match; pasted text matches. Automated tests cover the same routes inside the private Xvfb clipboard.
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
# Packaging and installing apps
|
|
2
|
+
|
|
3
|
+
Two build modes, both from `neutralino build` (exact syntax: [cli.md](cli.md)).
|
|
4
|
+
Neither needs Node or network at install or run time; neither is a single
|
|
5
|
+
executable or a signed installer.
|
|
6
|
+
|
|
7
|
+
| | portable (default) | managed (`--mode managed`) |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| Output | directory `dist/<slug>/` | directory `dist/<slug>-managed/` with `install.sh` |
|
|
10
|
+
| Python at run time | the target machine's Python 3.11+ (`$PYTHON`, else `python3`) | an app-specific venv created at install time from that machine's CPython X.Y |
|
|
11
|
+
| Third-party packages | pure-Python only, copied with `--vendor NAME` from this environment | any wheels (compiled too) pinned with hashes, for the target ABI/platform |
|
|
12
|
+
| Install step | none: unpack/copy and run `run.sh` | `install.sh` → versioned install, launcher, menu entry |
|
|
13
|
+
| Needs `app.toml` | no (recorded when present) | yes (`id`, `name`, `version`, `entry`) |
|
|
14
|
+
|
|
15
|
+
## `app.toml`
|
|
16
|
+
|
|
17
|
+
Written by `neutralino init --template ...`; read by `neutralino build` and by
|
|
18
|
+
`neutralino.updates`. Unknown sections or keys are errors.
|
|
19
|
+
|
|
20
|
+
```toml
|
|
21
|
+
[app]
|
|
22
|
+
id = "org.example.inventory" # [A-Za-z0-9][A-Za-z0-9_.]{0,127}, same rule as ui.Application(app_id=)
|
|
23
|
+
name = "Inventory"
|
|
24
|
+
version = "1.2.0" # SemVer 2.0.0
|
|
25
|
+
entry = "app.py" # relative to the project
|
|
26
|
+
|
|
27
|
+
[updates] # optional; only with init --updates github --repo owner/name
|
|
28
|
+
enabled = true
|
|
29
|
+
provider = "github"
|
|
30
|
+
repository = "owner/name"
|
|
31
|
+
auth = "auto"
|
|
32
|
+
channel = "stable"
|
|
33
|
+
check_on_startup = true
|
|
34
|
+
check_interval_hours = 24
|
|
35
|
+
silent_on_failure = true
|
|
36
|
+
activation = "next-start"
|
|
37
|
+
keep_versions = 2
|
|
38
|
+
|
|
39
|
+
[package] # optional
|
|
40
|
+
requirements = "requirements.txt" # --mode managed
|
|
41
|
+
python = ">=3.11" # --mode managed
|
|
42
|
+
exclude = ["tests", "docs/*.png"] # every build kind and release: left out
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## What a build ships (both modes)
|
|
46
|
+
|
|
47
|
+
Sources are walked from the project folder without following links:
|
|
48
|
+
|
|
49
|
+
* shipped: the entry and the project's other files, including the app's own
|
|
50
|
+
CSS/JS/asset files (`components/*.mjs`, `styles.css`, `driver.mjs` ...) and
|
|
51
|
+
`app.toml`;
|
|
52
|
+
* left out (recorded in `manifest.json` under `excluded`): hidden files and
|
|
53
|
+
folders (`.git`, `.env`, `.venv`, `.pytest_cache`, `.npmrc` ...), any folder
|
|
54
|
+
holding `pyvenv.cfg`, `venv`, `node_modules`, `__pycache__`, `dist`/`build`
|
|
55
|
+
outside the frontend folder, `*.pyc`, key files (`*.pem`, `*.key`, `*.p12`,
|
|
56
|
+
`*.pfx`, `*.jks`, `*.keystore`, `id_rsa` ...), and whatever the project's
|
|
57
|
+
`[package].exclude` patterns name (reason `app.toml exclude`);
|
|
58
|
+
* refused (exit 3): a link leaving the project, a symlinked directory, a
|
|
59
|
+
dangling link, FIFOs/sockets/devices, `--app` outside the project, building
|
|
60
|
+
the home directory or `/` itself.
|
|
61
|
+
|
|
62
|
+
`[package].exclude` in `app.toml` is the project's own exclude list. It
|
|
63
|
+
applies to the portable build, `--mode managed` and `neutralino release`
|
|
64
|
+
alike (the same file walk decides for all three). Each entry is a relative
|
|
65
|
+
POSIX glob (`fnmatch`: `*`, `?`, `[...]`; `*` also matches `/`; case-sensitive)
|
|
66
|
+
matched against the path from the project folder; a matching folder is left
|
|
67
|
+
out with everything in it. `"tests"` drops the top-level `tests/` folder,
|
|
68
|
+
`"*.psd"` every `.psd` file at any depth, `"docs/*.png"` the PNGs under
|
|
69
|
+
`docs/`. Patterns starting with `/`, containing `\`, or with empty, `.` or
|
|
70
|
+
`..` parts are errors, and so is a pattern that would exclude `app.toml`, the
|
|
71
|
+
entry point (`[app].entry`, or `--app`) or the `--frontend` folder. The
|
|
72
|
+
default exclusions above always apply.
|
|
73
|
+
|
|
74
|
+
Layout:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
runtime/neutralino-<platform> pinned official binary (hash checked after copy)
|
|
78
|
+
app/ the project files above (resources.neu with --bundle)
|
|
79
|
+
vendor/neutralino, websockets the SDK, pure Python; includes the prebuilt UI renderer
|
|
80
|
+
(vendor/neutralino/_data/renderer, every file checked
|
|
81
|
+
against its manifest.json digests while building)
|
|
82
|
+
vendor/<--vendor packages>
|
|
83
|
+
boot.py, run.sh, run.bat fixed bootstrap and launchers (read manifest.json)
|
|
84
|
+
licenses/ runtime, client, SDK, websockets and vendored licences
|
|
85
|
+
manifest.json sdk/runtime/client versions, platform, entry, mode,
|
|
86
|
+
app (from app.toml), ui (renderer build and digest),
|
|
87
|
+
distributions and licences, excluded paths
|
|
88
|
+
checksums.txt SHA-256 of every other file
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
At run time `ui.Application` stages the renderer plus the app's CSS/JS into a
|
|
92
|
+
content-addressed folder in the per-user cache
|
|
93
|
+
(`$XDG_CACHE_HOME/neutralino-python/ui-stage/`), verifying every renderer file
|
|
94
|
+
again; the build directory itself is never written. A cached stage is reused
|
|
95
|
+
only if every file still has its expected SHA-256; a missing or damaged file
|
|
96
|
+
makes the app rebuild the stage and swap it in atomically. Each running app
|
|
97
|
+
holds an in-use lock on its stage (`ui-stage/.inuse/`), and cache pruning
|
|
98
|
+
(stages unused for 7 days beyond the newest 8) skips locked stages.
|
|
99
|
+
|
|
100
|
+
The build is staged in a temporary sibling folder and swapped into place only
|
|
101
|
+
when complete; a previous build at `--out` is replaced only if it is
|
|
102
|
+
recognisably one (manifest + checksums), otherwise the build refuses.
|
|
103
|
+
|
|
104
|
+
## Portable mode
|
|
105
|
+
|
|
106
|
+
```sh
|
|
107
|
+
neutralino build # -> dist/<slug>/
|
|
108
|
+
dist/<slug>/run.sh # or run.bat on Windows; PYTHON=python3.12 to choose
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Imports are checked statically: anything that is not the standard library,
|
|
112
|
+
the app's own modules, `neutralino`/`websockets` or a `--vendor`ed package
|
|
113
|
+
fails the build. Compiled extensions cannot be vendored; use managed mode.
|
|
114
|
+
|
|
115
|
+
## Managed mode
|
|
116
|
+
|
|
117
|
+
```sh
|
|
118
|
+
neutralino build --mode managed # pip download for this machine
|
|
119
|
+
neutralino build --mode managed --python-version 3.12 # another CPython on the target
|
|
120
|
+
neutralino build --mode managed --wheelhouse ./wheels # offline, wheels you provide
|
|
121
|
+
dist/<slug>-managed/install.sh # on the target machine
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Requirements and wheels
|
|
125
|
+
|
|
126
|
+
* `requirements.txt` (or `[package].requirements`, or `--requirements`) lists
|
|
127
|
+
every package, transitive ones included, as `name==version` with one or
|
|
128
|
+
more `--hash=sha256:...` (for example `uv pip compile --generate-hashes`,
|
|
129
|
+
`pip-compile --generate-hashes`, or `uv export --format requirements-txt`
|
|
130
|
+
without environment markers). Options (`-r`, `-e`, `--index-url`), URLs,
|
|
131
|
+
paths, ranges and environment markers are refused.
|
|
132
|
+
* Without `--wheelhouse`, the build runs `pip download --only-binary=:all:
|
|
133
|
+
--implementation cp --python-version X.Y --abi cpXY --abi abi3 --abi none
|
|
134
|
+
--platform <tags> --require-hashes` (the only network step; the pip found is
|
|
135
|
+
this Python's, `pythonX.Y`'s or `python3`'s, else one bootstrapped offline
|
|
136
|
+
with `ensurepip` into a throw-away venv). No sdist is ever built.
|
|
137
|
+
* Every wheel (downloaded or from `--wheelhouse`) is then checked: one wheel
|
|
138
|
+
per requirement with the same name and version, tags compatible with the
|
|
139
|
+
target (`cpXY-cpXY`, `cp3Y-abi3` for Y <= X.Y, `py3-none`, platform in the
|
|
140
|
+
target tags or `any`), and its SHA-256 among the requirement's hashes.
|
|
141
|
+
Otherwise exit 3: *wrong ABI or platform* (naming the wheel and the
|
|
142
|
+
target), *hash mismatch*, or *no wheel for name==version*. Unrelated wheels
|
|
143
|
+
in a `--wheelhouse` are ignored.
|
|
144
|
+
* The bundle holds `wheelhouse/` (the chosen wheels only),
|
|
145
|
+
`requirements.lock.txt` (each requirement with the hash of its chosen
|
|
146
|
+
wheel), and `manifest.json` `target` (python, abi, machine, platform tags)
|
|
147
|
+
and `wheels` (file, name, version, sha256, import names).
|
|
148
|
+
|
|
149
|
+
### Installing
|
|
150
|
+
|
|
151
|
+
`install.sh [--reinstall] [--no-desktop]` runs `install.py` (fixed text, same
|
|
152
|
+
in every bundle) with `$PYTHON`, else `python3`; if that is not CPython X.Y of
|
|
153
|
+
the target and `pythonX.Y` is on `PATH`, it re-executes with that. It:
|
|
154
|
+
|
|
155
|
+
1. refuses (exit 3) another interpreter version, another machine, a wheel
|
|
156
|
+
whose platform this glibc cannot run, a file that does not match
|
|
157
|
+
`checksums.txt`, or a launcher or menu entry name already used by a file
|
|
158
|
+
it did not write; refuses (exit 4) a non-Linux system;
|
|
159
|
+
2. takes `<data>/install.lock` without waiting (exit 1 if another install or
|
|
160
|
+
update holds it), copies the bundle to
|
|
161
|
+
`<data>/versions/.staging-*`, creates `venv/` there with
|
|
162
|
+
`python -m venv` and runs
|
|
163
|
+
`venv/bin/python -m pip install --no-index --find-links <bundle>/wheelhouse
|
|
164
|
+
--require-hashes --only-binary=:all: -r requirements.lock.txt` with
|
|
165
|
+
`PIP_CONFIG_FILE=/dev/null` and every other `PIP_*`/`PYTHON*` variable
|
|
166
|
+
removed (no index, no network); a venv without wheels is created
|
|
167
|
+
`--without-pip`;
|
|
168
|
+
3. renames the staging folder to `<data>/versions/<version>/` (an existing
|
|
169
|
+
one only with `--reinstall`, by renaming it aside and the new one in, and
|
|
170
|
+
never while the app runs: exit 1 if `<data>/.launch.lock` is held;
|
|
171
|
+
otherwise the version is left as it is);
|
|
172
|
+
4. writes `<data>/current.json` atomically, in the updater's pointer format
|
|
173
|
+
(schema 1): `{"schema": 1, "current": "<version>", "previous": "<previous
|
|
174
|
+
current or null>", "pending": null, "staged": null, "trial": null,
|
|
175
|
+
"quarantined": [...]}` (an explicit install is trusted: no trial; a pending
|
|
176
|
+
update is dropped; the installed version leaves the quarantine list; the
|
|
177
|
+
old pointer is kept as `current.json.bak`);
|
|
178
|
+
5. copies the update launcher (`vendor/neutralino/updates/_layout.py`) to
|
|
179
|
+
`<data>/launcher.py` and writes the command `~/.local/bin/<app-id>`, which
|
|
180
|
+
runs `python -I <data>/launcher.py --app-dir <data> -- ARGS`: the launcher
|
|
181
|
+
applies pending/trial/rollback (see [updates.md](updates.md)) and execs
|
|
182
|
+
`versions/<current>/venv/bin/python -I versions/<current>/boot.py`; then
|
|
183
|
+
the menu entry `<data_home>/applications/<app-id>.desktop` (unless
|
|
184
|
+
`--no-desktop`), `<data>/install.json` and a copy of `uninstall.py`.
|
|
185
|
+
|
|
186
|
+
Exit codes: 0 ok, 1 venv/pip failed, 2 usage, 3 wrong package or interpreter,
|
|
187
|
+
4 environment (not Linux, no `ensurepip`: Debian/Ubuntu `python3-venv`).
|
|
188
|
+
|
|
189
|
+
### Installed paths (Linux)
|
|
190
|
+
|
|
191
|
+
| What | Path |
|
|
192
|
+
|---|---|
|
|
193
|
+
| install root, `<data>` | `$XDG_DATA_HOME/<app-id>` (default `~/.local/share/<app-id>`) |
|
|
194
|
+
| versions | `<data>/versions/<semver>/` (`app/`, `runtime/`, `vendor/`, `venv/`, `boot.py`, `manifest.json`, `checksums.txt`, `licenses/`) |
|
|
195
|
+
| pointer | `<data>/current.json` |
|
|
196
|
+
| command | `~/.local/bin/<app-id>` (starts `<data>/launcher.py`) |
|
|
197
|
+
| launcher | `<data>/launcher.py` (+ `launcher.log`, `.launch.lock` while running) |
|
|
198
|
+
| menu entry | `$XDG_DATA_HOME/applications/<app-id>.desktop` |
|
|
199
|
+
| uninstaller | `<data>/uninstall.py` |
|
|
200
|
+
| app data | `ui.Application(...).paths`: data `<data>` (beside `versions/`), config `$XDG_CONFIG_HOME/<app-id>`, cache `$XDG_CACHE_HOME/<app-id>`, state/logs `$XDG_STATE_HOME/<app-id>` |
|
|
201
|
+
|
|
202
|
+
The app's own files never live inside `versions/`, so installing, upgrading or
|
|
203
|
+
removing a version does not touch them. Older versions are kept (the updater,
|
|
204
|
+
`neutralino.updates`, prunes per `keep_versions`); a new install records the
|
|
205
|
+
old one as `previous`. Rolling back application data is not automatic: an app
|
|
206
|
+
that migrates its data must declare compatibility and keep its own backups.
|
|
207
|
+
|
|
208
|
+
### Uninstalling
|
|
209
|
+
|
|
210
|
+
```sh
|
|
211
|
+
python3 ~/.local/share/<app-id>/uninstall.py # or <bundle>/uninstall.sh
|
|
212
|
+
python3 ~/.local/share/<app-id>/uninstall.py --purge
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
Refuses (exit 1) while the application runs (it holds `<data>/.launch.lock`)
|
|
216
|
+
or another install or update holds `<data>/install.lock`, before removing
|
|
217
|
+
anything. Removes the command and menu entry (only if they carry this installer's
|
|
218
|
+
marker) and, in `<data>`, exactly the managed names shared with the updater
|
|
219
|
+
and the release installer (`versions/`, `staging/`, `quarantine/`, `current.json`, `current.json.bak`,
|
|
220
|
+
`launcher.py`, `launcher.log`, `launcher.log.1`, `.launch.lock`,
|
|
221
|
+
`install.json`, `uninstall.py`, `install.lock`). The app's data, config,
|
|
222
|
+
cache and state stay (and are listed as kept); `--purge` removes `<data>`, `$XDG_CONFIG_HOME/<app-id>`,
|
|
223
|
+
`$XDG_CACHE_HOME/<app-id>` and `$XDG_STATE_HOME/<app-id>` too. Links are
|
|
224
|
+
removed, never followed.
|
|
225
|
+
|
|
226
|
+
## Dependencies on the target machine
|
|
227
|
+
|
|
228
|
+
* Portable: Python 3.11+ (`python3` or `$PYTHON`), the WebView libraries
|
|
229
|
+
(Debian/Ubuntu: `libwebkit2gtk-4.1-0`; Fedora: `webkit2gtk4.1`), a desktop
|
|
230
|
+
session (X11 or XWayland). `neutralino doctor` checks them.
|
|
231
|
+
* Managed: CPython of exactly the target version (`--python-version`) with
|
|
232
|
+
`venv`/`ensurepip` (Debian/Ubuntu: `python3-venv`), glibc new enough for the
|
|
233
|
+
bundled wheels' manylinux tags, the same WebView libraries.
|
|
234
|
+
|
|
235
|
+
## Limitations
|
|
236
|
+
|
|
237
|
+
* Tested end to end on Linux x86_64 only (Debian 13, glibc 2.41, CPython 3.12
|
|
238
|
+
and 3.13): template builds started Node-free in a network namespace, managed
|
|
239
|
+
install of a real NumPy wheel offline, then the app launched on the pinned
|
|
240
|
+
runtime under Xvfb. Windows and macOS are untested here: `run.bat` exists
|
|
241
|
+
for portable builds, but managed installs refuse non-Linux systems, and
|
|
242
|
+
`--platform` accepts Linux tags only (manylinux/musllinux/linux_<arch>;
|
|
243
|
+
musl systems are refused by the installer's glibc check).
|
|
244
|
+
* No interpreter is bundled; the target's CPython must match the build's
|
|
245
|
+
`--python-version`.
|
|
246
|
+
* No signature: integrity is SHA-256 (`checksums.txt`, wheel hashes), not
|
|
247
|
+
authenticity. Distribute bundles over a channel you trust.
|
|
248
|
+
* Environment markers in requirements are not evaluated; export the lock for
|
|
249
|
+
the target.
|
|
250
|
+
* Updates of a managed install need managed releases (`neutralino release
|
|
251
|
+
--mode managed`): the updater builds each new version's venv from the
|
|
252
|
+
release's wheelhouse offline and refuses a release without one.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Performance (measured baseline, Linux x86_64)
|
|
2
|
+
|
|
3
|
+
Measured once on one machine: Debian 13 x86_64, WebKitGTK 4.1, private Xvfb, pinned runtime v6.11.0 (ADR-013). No universal guarantee is implied.
|
|
4
|
+
|
|
5
|
+
Provenance: the latency figures below come from an uncommitted scratch timing script run on that machine, plus the e2e harness. They are not reproducible from this repository and no recorded artifact holds them. Only the 10,000-item stream time is backed by a recorded test (`tests/e2e/test_rpc_page.py`, about 30.8 s in `reports/test-results/pytest-results.json`); that test asserts only that a page call during the stream answers within 2 s. **No memory baseline was measured** (specs/09 asks for one); memory use is unverified.
|
|
6
|
+
|
|
7
|
+
| Path | Cost |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Python -> native call (sequential) | 0.22 ms |
|
|
10
|
+
| Python `app.broadcast` (concurrent) | 0.32 ms each |
|
|
11
|
+
| Python -> page -> Python RPC call | ~44 ms |
|
|
12
|
+
| page -> Python call during a 10k stream | <= 90 ms |
|
|
13
|
+
| 10,000-item stream, default credit | 30 s (batched credit), 60 s without batching |
|
|
14
|
+
|
|
15
|
+
The page round trip is dominated by the runtime's missing `TCP_NODELAY` on its WebSocket server: a second runtime->page write waits for the page's delayed ACK. Native calls from Python are unaffected. For bulk data send fewer, larger items (up to 256 KiB each), or raise the stream credit (`{credit: 64}` in JS).
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Platforms
|
|
2
|
+
|
|
3
|
+
| Platform | Status | Notes |
|
|
4
|
+
|---|---|---|
|
|
5
|
+
| Linux x86_64, X11 code path | verified under a private Xvfb only | the full test suite runs on a private Xvfb display (`GDK_BACKEND=x11`); a real X11 desktop session was not available |
|
|
6
|
+
| Linux x86_64, KDE Plasma Wayland | smoke-verified | `tests/e2e/test_wayland_smoke.py` (launch, title, RPC round trip, second window, clean exit) passed under KDE's `kwin_wayland --virtual` on Debian 13 (WebKitGTK 2.54.3), and earlier once on a live KDE session (`reports/test-results/wayland-smoke.json`). The manual GUI checklist has not been run |
|
|
7
|
+
| Linux x86_64, GNOME Wayland | not verified | never run |
|
|
8
|
+
| Linux arm64 / armhf | not verified | official binaries exist; CI workflow provided |
|
|
9
|
+
| Windows Server 2022 x64 (Windows 11 expected the same) | unit- and smoke-verified | the test suite passes there (tests that need the Linux/Xvfb harness or POSIX behaviour are skipped with a reason); a real window on the stock runtime and WebView2 ran page-to-Python RPC, two windows and a clean exit; Python UI examples and a portable `neutralino build` render. Not verified: `run.bat` (needs the `py` launcher), tray, dialogs, notifications, clipboard, the native UI suite. Managed install and update apply are Linux-only. WebView2 required |
|
|
10
|
+
| macOS arm64 / x64 | not verified | official binaries exist |
|
|
11
|
+
| Windows arm64 | unsupported | no official runtime binary |
|
|
12
|
+
|
|
13
|
+
Linux runtime packages (Debian/Ubuntu names): `libwebkit2gtk-4.1-0`, `libgtk-3-0`, `libayatana-appindicator3-1` (tray), and one of `zenity`/`kdialog`/`qarma`/`matedialog` (file and message dialogs and notifications: upstream runs these helpers through portable-file-dialogs; libnotify is not used). `neutralino doctor` reports what is missing. `window.set_main_menu` adds a GTK menu bar above the webview; `window.set_badge` is accepted but does nothing on Linux/FreeBSD. Exact commands for the unverified platforms are in `reports/platform-matrix.json`.
|
|
14
|
+
|
|
15
|
+
Python: 3.11 is the minimum (unit and protocol suites pass on 3.11.18); the locked 3.13 runs the full gate. On Windows the `tzdata` package (a dependency there) supplies the time zones for `ui.DateTimePicker`. Evidence for this table: `maintenance/compatibility.json` and `reports/consolidation/p09/platforms/`.
|