Skip to content

Add SwiftPython Studio example app#2

Open
mikhutchinson wants to merge 1 commit into
mainfrom
add-studio-example
Open

Add SwiftPython Studio example app#2
mikhutchinson wants to merge 1 commit into
mainfrom
add-studio-example

Conversation

@mikhutchinson

Copy link
Copy Markdown
Owner

Summary

Adds SwiftPython Studio, a native macOS flagship demo on the canonical V2 pool.<module> surface: races four scikit-learn models in parallel across Python worker processes, driven from Swift, with live charts, worker activity, an embedded console, and an app icon.

  • Sources/Studio (app), Sources/studio-cli (terminal demo), Sources/SwiftPythonKit (vendored pool bindings)
  • Self-contained packaging (bundled Python + numpy/pandas/scikit-learn/scipy), Developer ID sign/notarize/staple, DMG
  • scripts/make_icon.py builds the macOS squircle icon (real alpha, soft shadow) from source art; bundle_python.sh strips framework symlinks that escape the bundle

Released as studio-v0.1.0 (notarized + stapled DMG, download-verified). build//.build/ are gitignored.

Test plan

  • studio-cli + app run the bake-off end-to-end (4 models across 4 workers)
  • Self-contained run verified in a sanitized env (no system Python)
  • Signed + notarized + stapled app and DMG; Gatekeeper Notarized Developer ID
  • Published DMG downloaded back and verified (icon present, notarized)

Native macOS demo built on the pool.<module> V2 surface: races four
scikit-learn models in parallel across Python worker processes, driven
from Swift, with live charts, worker activity, and an embedded console.

- Vendored pool bindings (SwiftPythonKit), the Studio app, and studio-cli
- Self-contained packaging: bundled Python + numpy/pandas/scikit-learn/scipy
- build/sign/notarize scripts + SHIPPING.md runbook + app icon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant